Skip to content

JoyeBright/stopwords_guilannlp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Stopwords Guilan NLP

A python package to be used in removing stopwords in different languages.

Installation

Now stopwords_guilannlp is on PyPI!

  • Download via PyPI:
$ pip3 install stopwords_guilannlp
  • Or clone the repo:
$ git clone --recursive git:https://github.com/JoyeBright/stopwords_guilannlp.git
  • Then install it:
$ python3 setup.py install

Usage

tokens = word_tokenize(s)
         filtered_tokens = []
         stopwords = stopwords_output("Persian", "nar")
         for w in tokens:
             if w not in stopwords:
                 filtered_tokens.append(w)
         return filtered_tokens
  • Note: Package does not support tokenizing process.

Supported Languages

  • Afrikaans
  • Arabic
  • Armenian
  • Basque
  • Bengali
  • Breton
  • Bulgarian
  • Catalan
  • Chinese
  • Croatian
  • Czech
  • Danish
  • Dutch
  • English
  • Esperanto
  • Estonian
  • Finnish
  • French
  • Galician
  • German
  • Greek
  • Hausa
  • Hebrew
  • Hindi
  • Hungarian
  • Indonesian
  • Irish
  • Italian
  • Japanese
  • Korean
  • Latin
  • Latvian
  • Marathi
  • Norwegian
  • Persian
  • Polish
  • Portuguese
  • Romanian
  • Russian
  • Slovak
  • Slovenian
  • Somalia
  • Southern Sotho
  • Spanish
  • Swahili
  • Swedish
  • Thai
  • Turkish
  • Yoruba
  • Zulu

Type of Outputs

  • Dataframe
  • Numpy Array
  • Set
  • List

About

A python package to be used in removing stopwords in different languages.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages