0.0.1 • Published 7 years ago

@datagica/thesaurify v0.0.1

Weekly downloads
1
License
ISC
Repository
-
Last release
7 years ago

Thesaurify

A double-layer thesaurifier for words, array of words, and Datanote objects.

Multi-layer thesaurification gives us some depth and reveals the hidden statistics.

Note: the only practical values for depth are 1, 2 (recommended) or 3.

Different depths give you different results.

Example, for coffee at depth of 2 you will have:

{
  "drink": 35,
  "drinkable": 20,
  "coffee": 19,
  "beverage": 18,
  "brown": 18
}

And at depth 3 you will get slightly more generic concepts:

{
  "drink": 35,
  "drinkable": 20,
  "coffee": 19,
  "potable": 18,
  "beverage": 18
}