stopwordies 1.0.1 copy "stopwordies: ^1.0.1" to clipboard
stopwordies: ^1.0.1 copied to clipboard

A multilingual collection of stopwords (using ISO 639-1 language codes) for Dart/Flutter.

Flutter Dart

A multilingual collection of stopwords (using ISO 639-1 language codes) for Dart/Flutter.

Features #

Stopwordies supports up to 57 languages so far πŸ‘‡πŸΎ. Those with a checkmark are the ones for which stopwords are supported.

ISO 639-1 Code Language Included Here
aa Afar
ab Abkhazian
af Afrikaans βœ…
ak Akan
sq Albanian
am Amharic
ar Arabic βœ…
an Aragonese
hy Armenian βœ…
as Assamese
av Avaric
ae Avestan
ay Aymara
az Azerbaijani
ba Bashkir
bm Bambara
eu Basque βœ…
be Belarusian
bn Bengali βœ…
bh Bihari languages
bi Bislama
bo Tibetan
bs Bosnian
br Breton βœ…
bg Bulgarian βœ…
my Burmese
ca Catalan; Valencian βœ…
cs Czech βœ…
ch Chamorro
ce Chechen
zh Chinese βœ…
cu Church Slavic; Old Slavonic; Church Slavonic; Old Bulgarian; Old Church Slavonic
cv Chuvash
kw Cornish
co Corsican
cr Cree
cy Welsh
da Danish βœ…
de German βœ…
dv Divehi; Dhivehi; Maldivian
nl Dutch; Flemish βœ…
dz Dzongkha
el Greek, Modern (1453-) βœ…
en English βœ…
eo Esperanto βœ…
et Estonian βœ…
ee Ewe
fo Faroese
fa Persian βœ…
fj Fijian
fi Finnish βœ…
fr French βœ…
fy Western Frisian
ff Fulah
ka Georgian
gd Gaelic; Scottish Gaelic
ga Irish βœ…
gl Galician βœ…
gv Manx
gn Guarani
gu Gujarati βœ…
ht Haitian; Haitian Creole
ha Hausa βœ…
he Hebrew βœ…
hz Herero
hi Hindi βœ…
ho Hiri Motu
hr Croatian βœ…
hu Hungarian βœ…
ig Igbo
is Icelandic
io Ido
ii Sichuan Yi; Nuosu
iu Inuktitut
ie Interlingue; Occidental
ia Interlingua (International Auxiliary Language Association)
id Indonesian βœ…
ik Inupiaq
it Italian βœ…
jv Javanese
ja Japanese βœ…
kl Kalaallisut; Greenlandic
kn Kannada
ks Kashmiri
kr Kanuri
kk Kazakh
km Central Khmer
ki Kikuyu; Gikuyu
rw Kinyarwanda
ky Kirghiz; Kyrgyz
kv Komi
kg Kongo
ko Korean βœ…
kj Kuanyama; Kwanyama
ku Kurdish βœ…
lo Lao
la Latin βœ…
lv Latvian βœ…
li Limburgan; Limburger; Limburgish
ln Lingala
lt Lithuanian βœ…
lb Luxembourgish; Letzeburgesch
lu Luba-Katanga
lg Ganda
mk Macedonian
mh Marshallese
ml Malayalam
mi Maori
mr Marathi βœ…
ms Malay βœ…
mg Malagasy
mt Maltese
mn Mongolian
na Nauru
nv Navajo; Navaho
nr Ndebele, South; South Ndebele
nd Ndebele, North; North Ndebele
ng Ndonga
ne Nepali
nn Norwegian Nynorsk; Nynorsk, Norwegian
nb BokmΓ₯l, Norwegian; Norwegian BokmΓ₯l
no Norwegian βœ…
ny Chichewa; Chewa; Nyanja
oc Occitan (post 1500)
oj Ojibwa
or Oriya
om Oromo
os Ossetian; Ossetic
pa Panjabi; Punjabi
pi Pali
pl Polish βœ…
pt Portuguese βœ…
ps Pushto; Pashto
qu Quechua
rm Romansh
ro Romanian; Moldavian; Moldovan βœ…
rn Rundi
ru Russian βœ…
sg Sango
sa Sanskrit
si Sinhala; Sinhalese
sk Slovak βœ…
sl Slovenian βœ…
se Northern Sami
sm Samoan
sn Shona
sd Sindhi
so Somali βœ…
st Sotho, Southern βœ…
es Spanish; Castilian βœ…
sc Sardinian
sr Serbian
ss Swati
su Sundanese
sw Swahili βœ…
sv Swedish βœ…
ty Tahitian
ta Tamil
tt Tatar
te Telugu
tg Tajik
tl Tagalog βœ…
th Thai βœ…
ti Tigrinya
to Tonga (Tonga Islands)
tn Tswana
ts Tsonga
tk Turkmen
tr Turkish βœ…
tw Twi
ug Uighur; Uyghur
uk Ukrainian βœ…
ur Urdu βœ…
uz Uzbek
ve Venda
vi Vietnamese βœ…
vo VolapΓΌk
wa Walloon
wo Wolof
xh Xhosa
yi Yiddish
yo Yoruba βœ…
za Zhuang; Chuang
zu Zulu βœ…

Usage #

It's easy to use πŸ™ˆ. Just get the words from the currently supported locales like this πŸ‘‡πŸΎ.

final words = await StopWordies.getFor(locale: SWLocale.en);

To avoid hardcoded locale values, they are easily accessible via the SWLocale enumeration.

Credits #

Special credits to the contributors of this NodeJS package from which comes all the collection of stopwords.

Contribution #

If you wish to 🚫 remove or πŸ” update some of the stopwords, please file an issue first before sending a pull request.

If you would like to βž• add a stopword or a new collection of stopwords for a specific language, please add them as a new json file in the assets/jsons/ directory through a pull request. Don't forget to:

  • update the SWLocale enumeration in lib/src/models/locales.model.dart by adding the new locale code.
  • update the locale codes list in the README.md with the new locale code (if not already present) and its checkmark next to it to make clear that it is now supported.
  • run unit tests to see if it does fetch all the stopwords from supported locales and that nothing is broken. If unit tests fail, it probably means that you've missed a step.
3
likes
145
pub points
25%
popularity

Publisher

verified publishermaranathapp.dev

A multilingual collection of stopwords (using ISO 639-1 language codes) for Dart/Flutter.

Repository (GitHub)
View/report issues
Contributing

Documentation

API reference

License

BSD-3-Clause (LICENSE)

Dependencies

flutter

More

Packages that depend on stopwordies