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.
Zitieren als
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. Abgerufen.
Kompatibilität der MATLAB-Version
Plattform-Kompatibilität
Windows macOS LinuxKategorien
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
Version | Veröffentlicht | Versionshinweise | |
---|---|---|---|
1.1.0.0 | Added a screenshot, updated description |
||
1.0.0.0 |