4 ms·
I've looked for this and never found the right search term. Nice! Likewise, I can't identify the search terms to find a library for extracting data from a text
by porker 8y ago
I've looked for this and never found the right search term. Nice!
Likewise, I can't identify the search terms to find a library for extracting data from a text corpus - e.g. to identify addresses, dates, names, phone numbers. Does one exist?
I've smashed together a few regular expressions to brute-force it, but the accuracy is very low.
- thom 8y agoLoosely you're talking about named entity recognition/extraction (strictly you might not include addresses etc under this definition who but who cares). You might get some mileage out of tools like: https://nlp.stanford.edu/software/CRF-NER.shtml https://nlp.stanford.edu/software/CRF-NER.shtml
- najarvg 8y agoStanford NER is very powerful. If you dont want to mess around with Java, there are also Python libraries that do this very effectively and easier to get started on (e.g. NLTK or Spacy). A high level intro for both with code snippets - https://towardsdatascience.com/named-entity-recognition-with-nltk-and-spacy-8c4a7d88e7da https://towardsdatascience.com/named-entity-recognition-with...