Skip to content

Change attacut, oskut, and sefr-cut to use LEKCut - #1511

Merged
wannaphong merged 2 commits into
devfrom
change2lekcut
Sep 24, 2026
Merged

wannaphong merged 2 commits into
devfrom
change2lekcut

Conversation

@wannaphong

Copy link
Copy Markdown
Member

What do these changes do

pythainlp.tokenize.attacut,pythainlp.tokenize.oskut, and pythainlp.tokenize.sefr_cut: migrated to use LEKCut (ONNX), removing legacy attacut (PyTorch), oskut (TensorFlow), and sefr_cut (TensorFlow) package dependencies. The segment() APIs remain fully backward compatible.

Attacut tests moved from tests/noauto_torch/ to tests/noauto_onnx/.

Your checklist for this pull request

  • Passed code styles and structures
  • Passed code linting checks and unit test

`pythainlp.tokenize.attacut`,`pythainlp.tokenize.oskut`, and  `pythainlp.tokenize.sefr_cut`: migrated to use  [LEKCut](https://github.com/PyThaiNLP/LEKCut) (ONNX), removing legacy  `attacut` (PyTorch), `oskut` (TensorFlow), and `sefr_cut` (TensorFlow)
  package dependencies. The `segment()` APIs remain fully backward compatible.

Attacut tests moved from `tests/noauto_torch/` to `tests/noauto_onnx/`.
@wannaphong wannaphong added this to the 6.0 milestone Sep 23, 2026
@wannaphong
wannaphong merged commit df2e12b into dev Sep 24, 2026
9 of 18 checks passed
@sonarqubecloud

Copy link
Copy Markdown

@bact
bact deleted the change2lekcut branch September 24, 2026 09:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant