Core Python library for Vietnamese Natural Language Processing (NLP), providing tokenization, word segmentation, POS tagging, named entity recognition, sentiment analysis, and text classification. Current version 3.3.2 targets Python ≥3.10. Release cadence: irregular, with major updates every few months.
pip install underthesea-coreNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Basic usage of underthesea core functions.
Remove `format` parameter from calls to `word_tokenize`.
Update code to process list of tuples returned by `pos_tag`.
Pre-download models using `underthesea.download_all()` when internet is available.
Use `from transformers import pipeline` and load a Vietnamese sentiment model instead.
Update code to access `classify(text)['label']` instead.