Comments (4)
hey claire, thanks for the input. They're both in there.
something is a "possessive pronoun"
https://github.com/spencermountain/nlp_compromise/blob/d4feb704d3e7ae527566cc12dc14af01679e8798/src/data/lexicon.js#L245
other is
other is an adjective
https://github.com/spencermountain/nlp_compromise/blob/master/src/data/lexicon/adjectives.js#L684
cheers
from compromise.
Oh, weird. One of the demos is out of date, then.
http://rawgit.com/spencermountain/nlp_compromise/master/client_side/cute_demo/index.html
from compromise.
this is possible. just updated them. which sentence was it?
from compromise.
I was testing in the JavaScript console because I wanted to see the results of calling functions without installing the library in Node. :)
Running nlp.pos('something').tags()[0][0]
gives me "PP"
now; seems fixed.
from compromise.
Related Issues (20)
- [Improvement]: Corporation Rule HOT 7
- Unexpected behavior if "no space after period" HOT 3
- compromise-dates: types unavailable HOT 1
- Possible Issue with Root Matching HOT 1
- Uncaught TypeError: Cannot read properties of undefined (reading 'map') HOT 3
- Matched sentence text duplicated if match value occurs more than once in string HOT 2
- Property 'normalize' does not exist on type 'People'. HOT 4
- Feature Request: Proper Tagging of Names with Possessive Apostrophes HOT 6
- [Bug]: Syntax / Matching Parsing Issue. HOT 10
- Punctuation following abbreviations causes sentences to merge HOT 3
- `.not()` is destructive to punctuation HOT 4
- Feature Request: Add data to a term HOT 3
- Add TypeScript Support for Compromise-Dates HOT 2
- Website misspelling of "definitely" HOT 1
- 'Also' as before word locks in Adjective tag? HOT 1
- "Throughout" within a main clause currently doesn't work. HOT 2
- If there is a Pre tag, the text from that term is not included in the HTML export HOT 2
- Apostrophe "s" disambiguation issue with search query style sentences HOT 7
- Query: Does Compromise.js compile RegExes from match-syntax? HOT 1
- Get .terms() but keep hyphenated strings (similar to .hyphenated() ) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from compromise.