spanish_frequency_list_helpers

1.0.0 • Public • Published

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 }

Readme

Keywords

none

Package Sidebar

Install

npm i spanish_frequency_list_helpers

Weekly Downloads

1

Version

1.0.0

License

ISC

Unpacked Size

6.87 MB

Total Files

6

Last publish

Collaborators

  • andersontr15