laonlp-enhanced
An enhanced tokenizer for the Lao language, built with a dictionary-based maximal matching approach and number handling. Integrates with laonlp for POS tagging.
Reference
- [laonlp](Wannaphong Phatthiyaphaibun. (2022). LaoNLP: Lao language Natural Language Processing. Zenodo. https://doi.org/10.5281/zenodo.6833407)
Installation
pip install laonlp-enhanced
Usage
from laonlp_enhanced import tokenize
text = "ສະບາຍດີ 245,394"
tokens = tokenize(text)
print(tokens) # Output: ['ສະບາຍດີ', '245,394']
POS Tagging with laonlp
Combine tokenization with POS tagging using the laonlp library:
from laonlp_enhanced import tokenize, pos_tag
text = "ສະບາຍດີ 245,394"
tokens = tokenize(text)
tagged = pos_tag(tokens)
print(tagged) # Output: [('ສະບາຍດີ', 'NOUN'), ('245,394', 'NUM')]
License
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.
Metadata
Release files for laonlp-enhanced 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| laonlp_enhanced-0.1.1.tar.gz | 748.1 kB | Without provenance | Details for laonlp_enhanced-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| laonlp_enhanced-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for laonlp_enhanced-0.1.1-py3-none-any.whl |
Total release size: 1.5 MB
Release files / laonlp_enhanced-0.1.1.tar.gz
| Download URL | laonlp_enhanced-0.1.1.tar.gz |
|---|---|
| Size | 748.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
db845d7aa8ec72250c0de7fe74597bab16484f90c6cc6ed484424183c1ecbc1e
|
|
BLAKE2b-256 checksum How to use checksums |
516d4fc32a60cadc1eea01051c044e5ae46a4eb2eb218234bf9dd9cb941117ca
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.8
|
Release files / laonlp_enhanced-0.1.1-py3-none-any.whl
| Download URL | laonlp_enhanced-0.1.1-py3-none-any.whl |
|---|---|
| Size | 770.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6498cf6d35fc0ae7b9fb89cedb93efadc877678e94801e8259cc56ea6ed08e89
|
|
BLAKE2b-256 checksum How to use checksums |
20d5f9c185d9b292430f9f475cf2742f2eb06731e1d85487d7639ffd78efe81c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.8
|
Security for laonlp-enhanced 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.