Probability of Words following the first word in a sentence

Part of SentenceParseNew uploaded earlier
314 Downloads
Updated 22 Jul 2013

View License

Takes a string as input and gives the probability of each of the other words in the string following the first word.
If the input sentence is : I love skiing
it gives the probability each of the words 'love' and 'skiing' following 'I'.
'I' 'love' : 0.0033
'I' 'skiing' : 0.0033
In the form of a table, like so :
0.033 0.033
where the first value represents the probability of 'love' following 'I' and the second value the probability of 'skiing' following 'I'.
If any queries or suggestions, please contact at samyuktaramnath[at]gmail[dot]com or hale2bopp[at]gmail[dot]com.

Cite As

Samyukta Ramnath (2024). Probability of Words following the first word in a sentence (https://www.mathworks.com/matlabcentral/fileexchange/42711-probability-of-words-following-the-first-word-in-a-sentence), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2012a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.1.0.0

Screenshot, description

1.0.0.0