https://github.com/rse/wordnet-ris
WordNet Reduced Information Set (RIS)
https://github.com/rse/wordnet-ris
information reduced set wordnet
Last synced: 7 months ago
JSON representation
WordNet Reduced Information Set (RIS)
- Host: GitHub
- URL: https://github.com/rse/wordnet-ris
- Owner: rse
- Created: 2018-05-21T14:53:47.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2023-01-21T11:54:03.000Z (over 2 years ago)
- Last Synced: 2025-03-10T10:46:48.344Z (7 months ago)
- Topics: information, reduced, set, wordnet
- Language: JavaScript
- Homepage: http://npmjs.com/wordnet-ris
- Size: 28.3 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
WordNet-RIS
===========WordNet Reduced Information Set (RIS)
![]()
![]()
About
-----This is a [Node.js](https://nodejs.org) Command-Line Interface
(CLI) and underlying Application Programming Interface (API)
for creating a WordNet-RIS (Reduced Information Set) out of the
[WordNet-LMF](https://github.com/globalwordnet/schemas) (Lexical Markup Framework) information as
provided by the [wordnet-lmf](https://npmjs.com/wordnet-lmf) module.
The WordNet-RIS data structure just contains all lemmas,
their part-of-speech information and their synonyms.Installation
------------```shell
$ npm install wordnet-ris
```Command-Line Interface (CLI)
----------------------------```sh
$ npm install wordnet-lmf-en
$ wordnet-ris -d wordnet-ris-en.json import @wordnet-lmf-en/wordnet-lmf-en.db
$ wordnet-ris -d wordnet-ris-en.json lookup "speaker"
```Application Programming Interface (API)
---------------------------------------```js
(async () => {const RIS = require("wordnet-ris")
const RISen = require("wordnet-ris-en")console.log(RISen.name)
let ris = new RIS(RISen.json)
let results = ris.lookup("speaker")
console.log(results)})().catch((err) => {
console.log(`ERROR: ${err}`)
})
```License
-------Copyright (c) 2018-2023 Dr. Ralf S. Engelschall (http://engelschall.com/)
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:The above copyright notice and this permission notice shall be included
in all copies or substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.