Skip to main content

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:

  1. Add a sliding window for processing very long texts.
  2. Publish docker tf-serving image and deepsegment-client.

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

deepsegment-2.0.0.tar.gz (3.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

deepsegment-2.0.0-py2.py3-none-any.whl (15.6 kB view details)

Uploaded Python 2Python 3

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

Hashes for deepsegment-2.0.0.tar.gz
Algorithm Hash digest
SHA256 043be1785c1ae186f9de355e2063d99d4b8aaff086b65135ed950f746724920b
MD5 a29582f7e75e997b9a9fac405b56279b
BLAKE2b-256 0edce486aef82d4d482bddc37569ffb5770d43a5b37bef5760636574b227042e

See more details on using hashes here.

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

Hashes for deepsegment-2.0.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 d9eff39a07b65ae4c0c830a48212b8cc853fded60378d5daf9188dbd98080bb6
MD5 1a5a0e8c1d3b9161c5a8fe0f947a0e94
BLAKE2b-256 7fd627dedd91f396f13c595115be8b1d7e6b3db9de718f0c88a6a300b56f71e3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page