Sentence Segmentation with sequece tagging
Project description
DeepSegment: A sentence segmenter that actually works!
For the original implementation please use the "master" branch of this repo.
This implementation is trained on data from various sources. (v1 or the model in master branch is trained only on Tatoeba data).
The Demo is available at http://bpraneeth.com/projects
Installation:
pip install --upgrade deepsegment
# please install tensorflow or tensorflow-gpu separately. Tested with tf and tf-gpu versions 1.8 to 2.0
Usage:
from deepsegment import DeepSegment
# The default language is 'en'
segmenter = DeepSegment('en')
segmenter.segment('I am Batman i live in gotham')
# ['I am Batman', 'i live in gotham']
To Do:
- Add a sliding window for processing very long texts.
- Publish docker tf-serving image and deepsegment-client.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
deepsegment-2.0.0.tar.gz
(3.9 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 deepsegment-2.0.0.tar.gz.
File metadata
- Download URL: deepsegment-2.0.0.tar.gz
- Upload date:
- Size: 3.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
043be1785c1ae186f9de355e2063d99d4b8aaff086b65135ed950f746724920b
|
|
| MD5 |
a29582f7e75e997b9a9fac405b56279b
|
|
| BLAKE2b-256 |
0edce486aef82d4d482bddc37569ffb5770d43a5b37bef5760636574b227042e
|
File details
Details for the file deepsegment-2.0.0-py2.py3-none-any.whl.
File metadata
- Download URL: deepsegment-2.0.0-py2.py3-none-any.whl
- Upload date:
- Size: 15.6 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d9eff39a07b65ae4c0c830a48212b8cc853fded60378d5daf9188dbd98080bb6
|
|
| MD5 |
1a5a0e8c1d3b9161c5a8fe0f947a0e94
|
|
| BLAKE2b-256 |
7fd627dedd91f396f13c595115be8b1d7e6b3db9de718f0c88a6a300b56f71e3
|