nlpO3

Thai Natural Language Processing library in Rust, with Python and Node bindings. Formerly oxidized-thainlp.

Features

Usage

Command line interface

bash echo "ฉันกินข้าว" | nlpo3 segment

Bindings

```python from nlpo3 import segment

segment("สวัสดีครับ") ```

As Rust library

crates.io

In Cargo.toml:

```toml [dependencies]

...

nlpo3 = "1.2.0" ```

Build

Requirements

Steps

Generic test: bash cargo test

Build API document and open it to check: bash cargo doc --open

Build (remove --release to keep debug information): bash cargo build --release

Check target/ for build artifacts.

Issues

Please report issues at https://github.com/PyThaiNLP/nlpo3/issues