wordMiner.previous {rwstats} | R Documentation |
This is a function that lists the previous word appearing frequency by a given chinese character based on real world chinese character frequency Statistics table.
wordMiner.previous(candidateWord, topN = 10)
candidateWord |
A single Chinese character |
topN |
The number of raws of output dataframe |
A dataframe containing the previous word and its occurrence and frequency
## Not run:
wordMiner.previous(strsplit(levels(twoChar$character)[988], "")[[1]][1])
wordMiner.previous(strsplit(levels(twoChar$character)[988], "")[[1]][2], 20)
## End(Not run)