3 ms·
Not quite, I mean it's literally just three lines of code to get entities: > doc = nlp(u'Apple is looking at buying U.K. startup for $1 billion') > for ent in
by Xeoncross 9y ago
Not quite, I mean it's literally just three lines of code to get entities:
> doc = nlp(u'Apple is looking at buying U.K. startup for $1 billion')
> for ent in doc.ents:
> print ent.text
https://spacy.io/usage/spacy-101 https://spacy.io/usage/spacy-101
They even have an awesome visualizer you can run locally: https://demos.explosion.ai/displacy/ https://demos.explosion.ai/displacy/
- timr 9y agoYes, lots of open-source tools exist, like NLTK. Now, put it in production at non-trivial scale.