Metadata-Version: 2.1
Name: text2sentences
Version: 0.0.2
Summary: convert a long text to sentences
Home-page: https://github.com/yumoqing/text2sentences
Author: Yu Moqing
Author-email: yumoqing@gmail.com
Keywords: text,sentence
Classifier: Intended Audience :: End Users/Desktop
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Information Technology
Classifier: Intended Audience :: System Administrators
Classifier: Operating System :: OS Independent
Classifier: License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)
Classifier: Programming Language :: Python :: 3
Description-Content-Type: text/markdown

# text2sentences
This module can be used by tts modules or others.

It split input text to sentences according the punctuation of native language, and detects each sentence's language id, sentence in a dialog or not(include in ""), start position in the source text, and if sentence is a new paragraph.

## Dependents
* [langdetect](https://pypi.org/project/langdetect/)

## Installation
```
pip install langdetect
pip install text2sentences
```

## Usage

see the test/test.py

## Test

we only test English, Chinese

