Count words from wordlist in a text

Hello,
I have got a cell containing positiv words and a text. I first want to count the number of words in the text in complete and afterwards how many of the positive words of my cell are contained in the text.
I hope anyboday can help me.
Thanks in advance

1 Commento

Please elaborate what you're trying to do. Maybe upload the text file and script so that we can understand the issue better. Your problem and golas are not clear.

Accedi per commentare.

 Risposta accettata

dpb
dpb il 14 Lug 2020

0 voti

You may also find ismember of interest for the last...

Più risposte (0)

Richiesto:

il 14 Lug 2020

Risposto:

dpb
il 14 Lug 2020

Community Treasure Hunt

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

Start Hunting!

Translated by