pass-in term metadata in lexicon
See original GitHub issueTry nlp("modulus").nouns().toSingular().out("text")
The result is “modulu”, but actually modulus is singular and its plural is moduli
Try nlp("moduli").nouns().toSingular().out("text")
Result is “moduli” but it should be modulus.
Is there a way to specify to the engine these kind of rare/peculiar words? Like in a set of json document where each document would be structured as
{
"word":"modulus",
"type":"noun",
"plural":"moduli",
"singular":"modulus"
// In case word was of type verb then other fields like past-tense etc will be present
}
Issue Analytics
- State:
- Created 6 years ago
- Reactions:1
- Comments:11 (10 by maintainers)
Top Results From Across the Web
Data Warehousing - Metadata Concepts - Tutorialspoint
Data Warehousing - Metadata Concepts, Metadata is simply defined as data about data. The data that is used to represent other data is...
Read more >Metadata Dictionary and Usage Guide - New York Heritage
Use this dictionary to determine definitions, how and where to enter metadata, and to better understand what types of terms should be used....
Read more >DHS Lexicon Terms and Definitions - Homeland Security
We define terms within the DHS Lexicon using an easy to follow format to help users rapidly and consistently understand the meaning of ......
Read more >DCMI: Publishing Metadata - Dublin Core
The definition of a domain governs the entities for which a property may be used. The definition of a range governs the usage...
Read more >Metadata Dictionary and Usage Guide (Version 4) - WNYLRC
Do not add new terms to these controlled vocabularies. For other fields, if the term you want is not found in the abbreviated...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
yeah leo, where i was going with your lexicon-as-trie idea was this:
hey guys, this stuff is deployed on v11:
please check it out, https://github.com/nlp-compromise/compromise/wiki/Plugins https://github.com/nlp-compromise/compromise-plugin cheers!