{"_id":"thesaurus","_rev":"9-354bd247df17280d6b099dddbdfb32f3","name":"thesaurus","description":"a thesaurus of words, it contains english by default but it can be used with your own data file","dist-tags":{"latest":"0.0.1"},"versions":{"0.0.0":{"name":"thesaurus","description":"a thesaurus of english words","version":"0.0.0","author":{"name":"Julian Bilcke","email":"julian.bilcke@daizoru.com","url":"http://daizoru.github.com/node-thesaurus"},"repository":{"type":"git","url":"https://github.com/daizoru/node-thesaurus.git"},"keywords":[],"scripts":{"test":"node_modules/mocha/bin/mocha --bail --require chai --compilers coffee:coffee-script test/*.coffee","build":"coffee --compile --output lib/ src/","watch":"coffee --watch --compile --output lib/ src/"},"main":"./lib/thesaurus.js","licence":"./LICENSE.txt","dependencies":{},"devDependencies":{"coffee-script":"~1.6.3","mocha":"1.7.x","chai":"1.3.x"},"readme":"\n# Thesaurus\n\n*a thesaurus of english words*\n\n## License\n\n99.9999% of this library being made of words from MyThes, the open-office thesaurus, see the LICENSE.txt at the root of the project.\n\n## Usage\n\n### Basic usage\n\n```Javascript\nvar thesaurus = require(\"thesaurus\");\nconsole.log(thesaurus.find(\"cheese\"));\n// returns a list of words:\n[ 'dairy product',\n  'food',\n  'tall mallow',\n  'high mallow',\n  'cheeseflower',\n  'Malva sylvestris',\n  'mallow',\n  'discontinue',\n  'stop',\n  'cease',\n  'give up',\n  'quit',\n  'lay off',\n  'spool' ]\n```\n\n### Import an OpenOffice thesaurus file\n\nexpect a th_en_US_new.dat that you can get at http://lingucomponent.openoffice.org/MyThes-1.zip\n\n```Javascript\nvar thesaurus = require(\"thesaurus\");\nvar updated_thesaurus = thesaurus.load(\"./th_en_US_new.dat\");\n# TODO you can't save it yet.. but you can export the resulting JSON using:\nconsole.log(updated_thesaurus.toJson());\n```\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/daizoru/node-thesaurus/issues"},"_id":"thesaurus@0.0.0","dist":{"shasum":"0a3b3356fc1d818c6c16c23f56ba7f3c5a25c905","tarball":"https://registry.npmjs.org/thesaurus/-/thesaurus-0.0.0.tgz","integrity":"sha512-UMBq/VrjRPn0ZmxvW1l+pl66hJbDxOvLjp1J3O6ws44D55MWG5mbjxHKqFJy16H545q/rFHWVpJARtjlHiXXEA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDvxyZvSSOh3Pn2oxvApsi8SOqs/3Exn4bTxzrZfB69fAiAO3MSDmPHZgTuBChrKu0vv9KvLfMpxpypg/a5FCkmi4Q=="}]},"_from":".","_npmVersion":"1.2.32","_npmUser":{"name":"jbilcke","email":"julian.bilcke@gmail.com"},"maintainers":[{"name":"jbilcke","email":"julian.bilcke@gmail.com"}],"directories":{}},"0.0.1":{"name":"thesaurus","description":"a thesaurus of words, it contains english by default but it can be used with your own data file","version":"0.0.1","author":{"name":"Julian Bilcke","email":"julian.bilcke@datagica.com","url":"http://daizoru.github.com/node-thesaurus"},"repository":{"type":"git","url":"git+https://github.com/daizoru/node-thesaurus.git"},"keywords":[],"scripts":{"build":"coffee --compile --output lib/ src/","watch":"coffee --watch --compile --output lib/ src/"},"main":"./lib/thesaurus.js","licence":"./LICENSE.txt","dependencies":{},"devDependencies":{"coffeescript":"^2.4.1"},"gitHead":"13bcee47385a0aa5fa2283743f46571502418965","bugs":{"url":"https://github.com/daizoru/node-thesaurus/issues"},"homepage":"https://github.com/daizoru/node-thesaurus#readme","_id":"thesaurus@0.0.1","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-EhaO3KcD3e3SgEeMvcaS0/lehYf4zpB0dL3cq/xT6VhWrz3G2bWmney6icIDi0hXGV40NI9T2f63AKBQ0ubfSQ==","shasum":"cd41b7b7ecd4f3f439e5ca330d1afcef8e5672cb","tarball":"https://registry.npmjs.org/thesaurus/-/thesaurus-0.0.1.tgz","fileCount":7,"unpackedSize":16689301,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdVmOTCRA9TVsSAnZWagAABVoP/2VJwm3sL5CSF2Or2+dP\nJQa5sP3af+YSUTSAtdGB8Ut8G9qR3ytmcOE3hndd1OgyVADwcZ2BU7STqraZ\nj0BiKB+5IYqn5U3nTskoIEH73rHSdmDUsAHfFyBkaHof0YkumMLOKsRq6Rp2\nJaokY3R8kQbWkEviipvVqqawpu1BOzeDxl/gPoC1h8yBW5uQWdgNUshg59X7\n7MUlitwUzukicBdcATOiMI1nQm5TASCjp52TCuYhQh3aeiJcNyta3iGWTwI5\nxQEAE22Oo9ybKFX+BxQcs5L+kfPLmRcMrSDuGh1EgCD8nZ64jxyg92bHYjKn\nMpJ+AcDPESHw/UTGpJm1i+OSPQwHTjj/bpQhE9P3dsPmxV0QKM+kJZJIvxmi\nOuB56R0U+2rszrRnb5dqLKTLJMuzgbuva0RFQt2l6+rkoYbNkIbBzvRI2Ee1\n/KAiCMYvzJSTQxEcZ1M/JoSDNM0TVfmF0Z2Q1TcIKOiYZwPv3HlLoh1YYIb5\njWfvqOw8oHdRtoqHk4wY7sKSJsSKFWRxZilViEYvB91IT268HZsduN/ONxbJ\nr1laVONNhGBHhZkHrko6FBpNUKzsTmc/EIpRnfP9ZyZmFLlg4872vG9z1RGZ\nbPx/2KU00dppFIw/sJpIsfqrhkikqSBILEgomcWoB+A7N2sRg42OUrXryK4U\nPN4k\r\n=Sir6\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDG7Q3WGvWvR7Ni0JBh+t7j2qucV5bIwhBnYX7+rQQEwAiAClVSsIeMh1L+4byGCIr+FfHQuYvpng5GhdAxtymvFtQ=="}]},"maintainers":[{"name":"jbilcke","email":"julian.bilcke@gmail.com"}],"_npmUser":{"name":"jbilcke","email":"julian.bilcke@datagica.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/thesaurus_0.0.1_1565942674742_0.031205774643954465"},"_hasShrinkwrap":false}},"readme":"\n# Thesaurus\n\n*a thesaurus of any languages using LibreOffice's dictionaries*\n\n## License\n\n99.9999% of this library being made of words from MyThes, the open-office thesaurus, see the LICENSE.txt at the root of the project.\n\n## Usage\n\n### Basic usage\n\n```Javascript\nvar thesaurus = require(\"thesaurus\");\n\n// basically returns a list of similar words\nconsole.log(thesaurus.find(\"structuralism\"));\n[ 'structural linguistics',\n  'linguistics',\n  'structural anthropology',\n  'theory',\n  'structural sociology' ]\n\n// please be aware that all meanings are merged into the same list.\n// this is not a semantic thesaurus.\nconsole.log(thesaurus.find(\"constitutional\"));\n[ 'law',\n  'property',\n  'constitutional',\n  'built-in',\n  'inbuilt',\n  'inherent',\n  'integral',\n  'intrinsic',\n  'intrinsical',\n  'constituent',\n  'constitutive',\n  'organic',\n  'essential',\n  'walk' ]\n```\n\n### Import an OpenOffice thesaurus file\n\nexpect a th_en_US_new.dat that you can get at http://lingucomponent.openoffice.org/MyThes-1.zip\n\n```Javascript\nvar thesaurus = require(\"thesaurus\");\n\n// import the file, add (or update) the words. This function extends the preloaded English Thesaurus Dictionary. For using the loaded one only, use \"replace\" function instead.\nvar updated_thesaurus = thesaurus.load(\"./th_en_US_new.dat\");\n\n// TODO you can't save it yet.. but you can export the resulting JSON using:\nconsole.log(updated_thesaurus.toJson());\n\n// to clear the internal dictionary\nthesaurus.reset()\n\n// to replace the loaded dictionary by one loaded from the given thesaurus dat file.(reset and load) \nthesaurus.replace(\"./th_en_US_new.dat\")\n```\n","maintainers":[{"name":"jbilcke","email":"julian.bilcke@gmail.com"}],"time":{"modified":"2022-06-27T06:05:23.991Z","created":"2013-09-22T09:02:59.237Z","0.0.0":"2013-09-22T09:04:13.276Z","0.0.1":"2019-08-16T08:04:35.150Z"},"author":{"name":"Julian Bilcke","email":"julian.bilcke@datagica.com","url":"http://daizoru.github.com/node-thesaurus"},"repository":{"type":"git","url":"git+https://github.com/daizoru/node-thesaurus.git"},"users":{"sewillia":true,"agon":true},"homepage":"https://github.com/daizoru/node-thesaurus#readme","keywords":[],"bugs":{"url":"https://github.com/daizoru/node-thesaurus/issues"},"readmeFilename":"README.md"}