doc2term-0.1
توضیحات
A fast NLP tokenizer that detects tokens and remove duplications and punctuations
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | doc2term-0.1 |
| نام | doc2term |
| نسخه کتابخانه | 0.1 |
| نگهدارنده | ['Saeed Dehqan'] |
| ایمیل نگهدارنده | ['saeed.dehghan@owasp.org'] |
| نویسنده | - |
| ایمیل نویسنده | - |
| آدرس صفحه اصلی | https://github.com/callforpapers-source/doc2term |
| آدرس اینترنتی | https://pypi.org/project/doc2term/ |
| مجوز | Apache License, Version 2.0 |
# doc2term
[](https://travis-ci.com/callforpapers-source/doc2term)
[](https://pypi.org/project/doc2term/)
[](http://github.com/callforpapers-source/doc2term/blob/master/LICENSE.txt)
A fast NLP tokenizer that detects sentences, words, numbers, urls, hostnames, emails, filenames, and phone numbers. Tokenize integrates and standardize the documents, remove the punctuations and duplications.
## Installation
```
pip install doc2term
```
### Compilation
The installation requires to compile the original C code using `gcc`.
## Usage
Example notebook: [doc2term](https://nbviewer.jupyter.org/github/callforpapers-source/doc2term/blob/main/examples/doc2term.ipynb)
### Example
```python
>>> import doc2term
>>> doc2term.doc2term_str("Actions speak louder than words. ... ")
"Actions speak louder than words ."
>>> doc2term.doc2term_str("You can't judge a book by its cover. ... from thoughtcatalog.com")
"You can't judge a book by its cover . from thoughtcatalog.com"
```
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.7 | Python |
نحوه نصب
نصب پکیج whl doc2term-0.1:
pip install doc2term-0.1.whl
نصب پکیج tar.gz doc2term-0.1:
pip install doc2term-0.1.tar.gz