Run the following shell commands to setup the virtual environment and install dependencies
python -m venv venv # initializes the virtual environment
./venv/scripts/activate # Activates the virtual environment
pip install -r requirements.txt # installs dependenciesThe run script is src/main.py, you give it some text, in the terminal, as input and it
returns to you the parts of speech it thinks each word is. You can use CTL+C to exit the
program at any time.
Input: A sentence about something.
Output: [['DET', 'NOUN', 'ADP', 'NOUN', '.']]
This means that our model thinks:
Ais a determinatesentenceis a nounaboutis an adpositionsomethingis a noun.is punctuation
VERB- verbs (all tenses and modes)NOUN- nouns (common and proper)PRON- pronounsADJ- adjectivesADV- adverbsADP- adpositions (prepositions and postpositions)CONJ- conjunctionsDET- determinersNUM- cardinal numbersPRT- particles or other function wordsX- other: foreign words, typos, abbreviations.- punctuation