mirror of https://github.com/01-edu/Branch-AI.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
eslopfer
449b557892
|
2 years ago | |
---|---|---|
.. | ||
audit | 2 years ago | |
README.md | 2 years ago | |
news_amazon.txt | 2 years ago |
README.md
Exercise 6 Part-of-speech tags
The goal od this exercise is to learn to use the Part-of-speech tags (POS TAG) using Spacy. As explained in wikipedia, the POS TAG is the process of marking up a word in a text (corpus) as corresponding to a particular part of speech, based on both its definition and its context.
Example
The sentence: "Heat water in a large vessel" is tagged this way after the POS TAG:
- heat verb (noun)
- water noun (verb)
- in prep (noun, adv)
- a det (noun)
- large adj (noun)
- vessel noun
The data news_amazon.txt
used is a news paper about Amazon.
- Return all sentences mentioning Bezos as a NNP (tag).