Probability of Words following the first word in a sentence

Part of SentenceParseNew uploaded earlier
314 download
Aggiornato 22 lug 2013

Visualizza la licenza

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.

Cita come

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. Recuperato .

Compatibilità della release di MATLAB
Creato con R2012a
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS Linux
Categorie
Scopri di più su String Parsing in Help Center e MATLAB Answers
Tag Aggiungi tag

Community Treasure Hunt

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

Start Hunting!
Versione Pubblicato Note della release
1.1.0.0

Screenshot, description

1.0.0.0