Frequencies of special words in a text

11 visualizaciones (últimos 30 días)
Jonquil
Jonquil el 17 de Feb. de 2019
Respondida: Ashutosh Thakur el 29 de Jun. de 2022
Hi. I need a matlab code that reads a text file like 'test.txt' and then counts the number of occurences of special words ( like 'good' or 'computer') that I determine.
Can anyone help me? I don't want to calculate the frequency of every word in the text, just the words that I determine in the code.

Respuestas (1)

Ashutosh Thakur
Ashutosh Thakur el 29 de Jun. de 2022

Categorías

Más información sobre Annotations en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by