- Joined
- Dec 10, 2022
- Messages
- 17
- Reaction score
- 2
Dear all,
i need a little bit of help to count the co-ocurrence of words pairs frequencies per line in a text, as in how many times a word appears in the same line with other words. The list of co-occurrences pair of words are dynamic and placed in a textarea. Below an example of that co-occurrences list of words.
Thanks in advance!
BobKuspe
i need a little bit of help to count the co-ocurrence of words pairs frequencies per line in a text, as in how many times a word appears in the same line with other words. The list of co-occurrences pair of words are dynamic and placed in a textarea. Below an example of that co-occurrences list of words.
Code:
<textarea id=t1 name="text1" cols=60 rows=10></textarea><br><br>
cloud hosting
escape characters
escape characters
faster databases
for mission
for premium
hiring blogdocsget
hosting app
hosting cloud
lives upport
maintenance spaces
mission critical
need live
need live
need live
need live
need live
storage volumes
storage volumes
storage volumes
</textarea><br><br>
Code:
<textarea id=t1 name="result" cols=60 rows=10>
need live (5)
storage volumes (3)
cloud hosting (1)
escape characters (2)
faster databases (1)
for mission (1)
for premium (1)
hiring blogdocsget (1)
hosting app (1)
lives support (1)
maintenance spaces (1)
mission critical (1)
</textarea><br><br>
Thanks in advance!
BobKuspe