Python Vietnamese Toolkit
Project description
Pyvi performs tokenizing / pos-tagging for Vietnamese in 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 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
pyvi-0.0.9.4.tar.gz
(5.2 MB
view hashes)
Built Distribution
Close
Hashes for pyvi-0.0.9.4-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f4bca35c067aecf7d677669037462b9a9dc042181188b72e9d016ee5f994077d |
|
MD5 | 5c6b92efc0f821d45809f23348a8ca8f |
|
BLAKE2b-256 | 6d42d6a2662ebf4c3af68228fdcb5af5fa85f83d7fc101eaaaa705bc6f581f2d |