POS Tag for first word in the sentence

版本 1.1.0.0 (1.9 KB) 作者: Samyukta Ramnath
Finds the most probable Parts Of Speech tag for the first word in a sentence
351.0 次下载
更新时间 2013/7/23

查看许可证

It finds two probabilities :
1) If the first word in the sentence is in the training data, it finds the probability of that word having each tag. For example, if the first word was 'The' ,the most probable tag for it would be article or 'DD', as seen from training data.
2) The most common tag for the first word in a sentence from the training data. It looks through all sentences in the training data and finds the tag that occurs the most in the first word. For example, for a specific training data set, the most probable word would be an article.
It multiplies these probabilities to give the probability of each tag, and thus finds the most probable tag for the first word.

引用格式

Samyukta Ramnath (2024). POS Tag for first word in the sentence (https://www.mathworks.com/matlabcentral/fileexchange/42709-pos-tag-for-first-word-in-the-sentence), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R2012a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 String Parsing 的更多信息
标签 添加标签

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.1.0.0

Added screenshot, edited description

1.0.0.0