Metadata-Version: 2.1
Name: ttg
Version: 0.1.dev1
Summary: Thai Text Generator library
Home-page: https://github.com/pythainlp/Thai-Text-Generator
Author: Wannaphong Phatthiyaphaibun
Author-email: wannaphong@kkumail.com
License: Apache Software License 2.0
Keywords: NLP,natural language processing,text analytics,text processing,localization,computational linguistics,ThaiNLP,Thai NLP,Thai language
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Programming Language :: Python :: 3
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Natural Language :: Thai
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
Classifier: Topic :: Text Processing
Classifier: Topic :: Text Processing :: General
Classifier: Topic :: Text Processing :: Linguistic
Requires-Python: >=3.6
Description-Content-Type: text/markdown
Requires-Dist: tqdm
Requires-Dist: requests
Provides-Extra: thai2fit
Requires-Dist: pythainlp (>=2.1) ; extra == 'thai2fit'
Requires-Dist: fastai ; extra == 'thai2fit'
Requires-Dist: pandas ; extra == 'thai2fit'
Requires-Dist: emoji (>=0.5.1) ; extra == 'thai2fit'
Requires-Dist: gensim (>=3.2.0) ; extra == 'thai2fit'
Requires-Dist: numpy (>=1.16.1) ; extra == 'thai2fit'

# TTG : Thai Text Generator
Thai Text Generator

## Install

```sh
pip install -e .
```

## Example

```python
from thaitextgenerator import *
a=Unigram()
print(a.gen_sentence(N=10))
b=Bigram()
print(b.gen_sentence(start_seq="คน", N=10))
c=Tigram()
c.gen_sentence(N=10, start_seq=("คน","ดี"))
# Thai2Fit
from thaitextgenerator.thai2fit import gen_sentence
gen_sentence()
```

## License
```
   Copyright 2020 Wannaphong Phatthiyaphaibun

   Licensed under the Apache License, Version 2.0 (the "License");
   you may not use this file except in compliance with the License.
   You may obtain a copy of the License at

       http://www.apache.org/licenses/LICENSE-2.0

   Unless required by applicable law or agreed to in writing, software
   distributed under the License is distributed on an "AS IS" BASIS,
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   See the License for the specific language governing permissions and
   limitations under the License.
```

