A simple library to match locations in text using SpaCy
Project description
NL Matcher
A simple library to match locations in text using SpaCy
Installation
pip install nlmatcher
Usage
import nlmatcher
matcher = nlmatcher.LocationMatcher()
text = "I live in Amsterdam and work in Utrecht"
matches = matcher.match(text)
for match in matches:
print(match.text)
Output
Amsterdam
Utrecht
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
nl_matcher-0.0.5.tar.gz
(84.2 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file nl_matcher-0.0.5.tar.gz.
File metadata
- Download URL: nl_matcher-0.0.5.tar.gz
- Upload date:
- Size: 84.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
39884daf21a1acc016d14bce15a0c4b02189f5982f3666912c44be6187d3ff3f
|
|
| MD5 |
afca60cedced58826b2a563d11dcdafa
|
|
| BLAKE2b-256 |
925c5ebdb72052e29663dfac4d9ad40308e6fd38dde2ef6b015bd1093084a72f
|
File details
Details for the file nl_matcher-0.0.5-py3-none-any.whl.
File metadata
- Download URL: nl_matcher-0.0.5-py3-none-any.whl
- Upload date:
- Size: 84.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1934365131e88ba832767fdd2d87b05d7fee3827482562105887f56d1260c883
|
|
| MD5 |
727ce228851d179e8368ed2ae311ab3f
|
|
| BLAKE2b-256 |
8dd9a42ae0ca9a90b3575a80426bbb636deb59970d8b9f68362362b824e1ad23
|