1.0.0 • Published 5 years ago

spanish_frequency_list_helpers v1.0.0

Weekly downloads
6
License
ISC
Repository
github
Last release
5 years ago

spanish_frequency_list_helpers

This is a simple module that reads a frequency list of Spanish words (about 500k)

Functions exposed

fuzzyMatch

  • Returns the top 100 words for a fuzzy matched query
  • Arguments: Object: { query: String }

getTopNWords

  • Returns the top n words within a range
  • Returns object in form of { index, word, frequency }
  • Arguments: Object { from: Number, to: Number }
1.0.0

5 years ago