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.
引用格式
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. 检索时间: .
MATLAB 版本兼容性
平台兼容性
Windows macOS Linux类别
标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!