Be the first to rate this file! 6 Downloads (last 30 days) File Size: 1.86 KB File ID: #42709
image thumbnail

POS Tag for first word in the sentence

by

 

18 Jul 2013 (Updated )

Finds the most probable Parts Of Speech tag for the first word in a sentence

| Watch this File

File Information
Description

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.

Required Products MATLAB
MATLAB release MATLAB 7.14 (R2012a)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Updates
23 Jul 2013

Added screenshot, edited description

Contact us