Skip to content

bug: thainlp command line is not working with Python 3.12 #1151

@wannaphong

Description

@wannaphong

Description

I found thainlp command line is not working with Python 3.12.

I was using thainlp sounded and tokenized, but there is no output.

Colab: https://colab.research.google.com/drive/14HxCg-Smg76dGtwmuWFZJPJwF3Rycogl?usp=sharing

Expected results

The command line shows output.

Current results

It does not show the output.

Steps to reproduce

pip install pythainlp==5.1.2
thainlp soundex วรรณ

PyThaiNLP version

5.1.2

Python version

3.12.11

Operating system and version

linux

More info

No response

Possible solution

No response

Files

test_cli.ipynb

Colab: https://colab.research.google.com/drive/14HxCg-Smg76dGtwmuWFZJPJwF3Rycogl?usp=sharing

Metadata

Metadata

Assignees

Labels

Hacktoberfestfor Hacktoberfest eventbugbugs in the library

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions