Skip to content

ANich/patois-stop-words

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Here's a python package containing some commonly used words in Patois.

(Very unscientifically gathered)

Usage

You can install it from pip: $ pip install patois-stop-words

from patois_stop_words import get_patois_stop_words

get_patois_stop_words()

Or just download words.txtif you prefer.

English and Patois

Realistically, people usually use a mixture of English and Patois words in speech and informal writing (for example on Twitter). You can solve for this by using stop words from Patois and English:

$ pip install stop-words patois-stop-words
from patois_stop_words import get_patois_stop_words
from stop_words import get_stop_words

english_stop_words = get_stop_words('en')
patois_stop_words = get_patois_stop_words()

stop_words = english_stop_words + patois_stop_words

# Alternatively, if you're using nltk:

from nltk.corpus import stopwords

stop_words = stopwords.words('english') + patois_stop_words

Please let me know if you decide to use this in some way!

Based on python-stop-words

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages