POS Tag for rest of words in Sentence
Takes string as input and gives the most probable POS tag for the rest of the words in the sentence.
It checks :
1) the probability of each tag for the word based on the tag for that word in the training data
2) the probability of each tag for the word based on the tag of the word before it, comparing with training data
And multiplies the two to give the most probable tag for the word.
Thus, even if you spring it a new noun, it will likely tag the word after an article as a noun.
If you have any suggestions or queries, do contact me at samyuktaramnath[at]gmail[dot]com , or hale2bopp[at]gmail[dot]com.
Cite As
Samyukta Ramnath (2024). POS Tag for rest of words in Sentence (https://www.mathworks.com/matlabcentral/fileexchange/42710-pos-tag-for-rest-of-words-in-sentence), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.