Skip to content
This repository has been archived by the owner on Nov 28, 2024. It is now read-only.

datawiz-thailand/pythaiapi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PyThaiAPI

PyThaiNLP based REST API

API Reference

Method: POST
Endpoint: /api/word_tokenize
Header: "Content-Type: application/json"
Params: ?engine=newmm&keep_whitespace=false
Body: {"text": "ทดสอบการตัดคำ"}

Using cURL request

curl -X POST \
'https://pythaiapi.herokuapp.com/api/word_tokenize?engine=attacut&keep_whitespace=true' \
-H 'Content-Type: application/json' \
-d '{"text":"ทดสอบภาษาไทย"}' | json_pp

Releases

No releases published

Packages

No packages published

Languages