Python Vietnamese Toolkit
Project description
This tool makes it easy to do tokenizing / pos-tagging Vietnamese with Python.
Algorithm: Conditional Random Field Vietnamese tokenizer f1_score = 0.978637686 Vietnamese pos tagging f1_score = 0.92520656
POS TAGS: A - Adjective C - Coordinating conjunction E - Preposition I - Interjection L - Determiner M - Numeral N - Common noun Nc - Noun Classifier Ny - Noun abbreviation Np - Proper noun Nu - Unit noun P - Pronoun R - Adverb S - Subordinating conjunction T - Auxiliary, modal words V - Verb X - Unknown F - Filtered out (punctuation)
Installation
At the command line with pip
$ pip install pyvi
Uninstall
$ pip uninstall pyvi
Usage
from pyvi.pyvi import ViTokenizer, ViPosTagger
ViTokenizer.tokenize(u"Trường đại học bách khoa hà nội")
ViPosTagger.postagging(ViTokenizer.tokenize(u"Trường đại học Bách Khoa Hà Nội")
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
Built Distribution
File details
Details for the file pyvi-0.0.7.5.tar.gz
.
File metadata
- Download URL: pyvi-0.0.7.5.tar.gz
- Upload date:
- Size: 3.0 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 239369847067162368bbe9838ad31da2147235f65b5b65f6bb2ca94738b14ca2 |
|
MD5 | 56057ed5a86f5d9d7010c11248057f94 |
|
BLAKE2b-256 | dce1ad7a9a812302e4b227667dfabcde3593cd70b4ca3992ce18748af539176d |
File details
Details for the file pyvi-0.0.7.5-py2.py3-none-any.whl
.
File metadata
- Download URL: pyvi-0.0.7.5-py2.py3-none-any.whl
- Upload date:
- Size: 3.1 MB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e6a3d93cc4222f2852c9fb2c76cf272dadd5743cee1f3cc93d0b4aef8562e850 |
|
MD5 | 8aa666c6f96fbecdc02a39f061bd3d74 |
|
BLAKE2b-256 | 001deeddaf4b564dda3fe7ce4061cd850e1acf0e92926ab9e7de2d99ae528173 |