PHP code example of vanchaiy / thaisplit
1. Go to this page and download the library: Download vanchaiy/thaisplit library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
vanchaiy / thaisplit example snippets
$exp = new THSplit\Segment();
$exp = new THSplit\Segment();
print_r($exp->get_segment_array("ทดสอบแยกคำข้อความภาษาไทย"));