Probability of Words following the first word in a sentence

Part of SentenceParseNew uploaded earlier
314 descargas
Actualizado 22 jul 2013

Ver licencia

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.

Citar como

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

Compatibilidad con la versión de MATLAB
Se creó con R2012a
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS Linux
Categorías
Más información sobre String Parsing en Help Center y MATLAB Answers.
Etiquetas Añadir etiquetas

Community Treasure Hunt

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

Start Hunting!
Versión Publicado Notas de la versión
1.1.0.0

Screenshot, description

1.0.0.0