Skip to main content

RinTag

A Python-based POS tagger for the Rinconada Bikol Language using Conditional Random Fields (CRF).

Installation

pip install rintag

Usage

import rintag

# Tag a sentence
result = rintag.tag("nag-dalagan su igin")

# Iterate like tuples (backward compatible)
for token, tag in result:
    print(f"{token} -> {tag}")

# Access bulk properties directly
print(result.tokens)       # ['nag-dalagan', 'su', 'igin']
print(result.tags)         # ['VERB', 'DET', 'NOUN']
print(result.confidence)   # [0.9834, 0.9521, 0.9912]

# Get detailed info for a specific token
first = result[0]
print(first.token)         # 'nag-dalagan'
print(first.tag)           # 'VERB'
print(first.confidence)    # 0.9834
print(first.alternatives[:3]) # Top 3 alternative tags
print(first.features)      # CRF features used for this token

Authors

  • Vince Clifford C. Aguilar
  • Nhel Adam S. Benosa
  • Elyssa Olivares

License

MIT

Metadata

Release files for rintag 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for rintag 0.1.0
File Size Uploaded
rintag-0.1.0.tar.gz 2.3 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for rintag 0.1.0
File Interpreter ABI Platform
rintag-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 4.6 MB

Release files / rintag-0.1.0.tar.gz

Download URL rintag-0.1.0.tar.gz
Size 2.3 MB
Tags Source
SHA-256 checksum
How to use checksums
c9e4d205e73a73bc18b90a7471e7b9bb976360348a7d4751e418f228aea093dd
BLAKE2b-256 checksum
How to use checksums
65291213832427037dd3b4d7f965795e81b6bb4f721c6aab06dad04fc39068de
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.10.22

Release files / rintag-0.1.0-py3-none-any.whl

Download URL rintag-0.1.0-py3-none-any.whl
Size 2.3 MB
Tags Python 3
SHA-256 checksum
How to use checksums
27fb475323b2b792c80c2fca573c6da0233ad3cc6a7162b1efd8bb0b6406b746
BLAKE2b-256 checksum
How to use checksums
4fa08417f86fa37a7cfd0a9aeeeba509b554c174463221132a93fa931660ce0b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.10.22

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page