POS Tag for rest of words in Sentence

function : Part of SentenceParseNew submitted earlier.
475 Downloads
Aktualisiert 22. Jul 2013

Lizenz anzeigen

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
Erstellt mit R2012a
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS Linux
Kategorien
Mehr zu String Parsing finden Sie in Help Center und MATLAB Answers
Tags Tags hinzufügen

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Veröffentlicht Versionshinweise
1.1.0.0

Added a screenshot, updated description

1.0.0.0