gustafl / lexeme

A new take on language learning.
1 stars 0 forks source link

Design a word frequency feature #81

Open gustafl opened 8 years ago

gustafl commented 8 years ago

I found this idea in my notes for this project:

Count the frequency of each word and make a list of words sorted in descending order of frequency. Use this list to suggest the next word.

This might be a good idea for the future. When loading a text, Lexeme could automatically count the word frequency and (optionally) display a list of the most frequently used words. This needs some further consideration.

gustafl commented 8 years ago

This is now implemented in wordCounter.js. It's currently used for testing purposes, but the same code could be applied as described above.