this post was submitted on 16 Feb 2022
1 points (100.0% liked)

Thai Natural Language Processing

70 readers
0 users here now

ชุมชนผู้สนใจการประมวลผลภาษาธรรมชาติ (natural language processing) ในภาษาไทย และแบ่งปันความรู้ตามแนวทางซอฟต์แวร์เสรีและข้อมูลเปิด มีงานพบปะแลกเปลี่ยนชื่อ Thai NLP Meetup ไม่เกี่ยวข้องกับบริษัทหรือสถาบันใด ๆ #ThaiNLP

founded 3 years ago
MODERATORS
 

ผมทำ JSON-RPC server สำหรับโปรแกรมตัดคำ โดยสรุปคือรันแบบนี้เลย คำสั่งเดียว

docker run -d --name wordcut --net=host veer66/wordcut-json-rpc-server 

ในตัวอย่างนี้ผมเรียกใช้งานจาก PHP แต่จริง ๆ ใช้อย่างอื่นก็ได้

<?php
require __DIR__ . '/vendor/autoload.php';
use JsonRPC\Client;
$client = new Client("http://localhost:8999/");
var_dump($client->execute("put_delimiters", ["กากากา", "|"]));
?>
no comments (yet)
sorted by: hot top controversial new old
there doesn't seem to be anything here