Rick Bradford Newbie Thailand Joined 4104 days ago 3 posts - 6 votes
| Message 17 of 28 28 August 2013 at 12:36pm | IP Logged |
Writing a Thai parser is simple if you have a dictionary to work from.
Cat from WLT brought this up last year (and alerted me to this site and thread), so I
wrote a quick parser using the FLTR dictionary, the Haskell language, and based on
Andrej's suggestions. For my own purposes I had it translate the parsed words, using
the dictionary.
So:
ทีมนักวิจัยอเมริกันท ี่ศูนย์ Habour–UCLA Medical Center ในนครลอสเองเจลลีส รัฐแคลิฟอร์เนีย ค้นพบเรื่องนี้หลัง
จากทำการทดลองในหนูทด ลอง
becomes
team-researcher-American-at-the-center-<?>-in-city-Los Angeles-the state of California-
discover-story-this-after-do-experiment-in-mouse-experiment
This should be relatively simple for me to port over to Javascript, if anyone thinks it
would be useful.
3 persons have voted this message useful
|
Wulfgar Senior Member United States Joined 4669 days ago 404 posts - 791 votes Speaks: English*
| Message 18 of 28 28 August 2013 at 5:30pm | IP Logged |
Great news - Thai has over 300 votes now. Thanks very much to those who have voted. If you haven't voted yet,
please do so. We really appreciate your support.
2 persons have voted this message useful
|
thecatat Newbie Thailand Joined 5949 days ago 26 posts - 40 votes Speaks: English*
| Message 19 of 28 29 August 2013 at 1:42am | IP Logged |
Rick Bradford wrote:
This should be relatively simple for me to port over to Javascript, if anyone thinks it would be useful. |
|
|
Yes please.
2 persons have voted this message useful
|
thecatat Newbie Thailand Joined 5949 days ago 26 posts - 40 votes Speaks: English*
| Message 20 of 28 29 August 2013 at 12:14pm | IP Logged |
Now at 362 votes ... please lend a hand if you can.
3 persons have voted this message useful
|
Wulfgar Senior Member United States Joined 4669 days ago 404 posts - 791 votes Speaks: English*
| Message 21 of 28 04 September 2013 at 9:37pm | IP Logged |
Were at 418 now - keep em coming :)
2 persons have voted this message useful
|
nakrian keegiat Diglot Groupie Thailand Joined 4905 days ago 70 posts - 172 votes Speaks: English*, Thai Studies: Russian
| Message 22 of 28 04 September 2013 at 11:22pm | IP Logged |
thecatat wrote:
Rick Bradford wrote:
This should be relatively simple for me to port over to Javascript, if anyone thinks it would be useful. |
|
|
Yes please. |
|
|
I'm interested too, Rick. Thank you.
1 person has voted this message useful
|
thecatat Newbie Thailand Joined 5949 days ago 26 posts - 40 votes Speaks: English*
| Message 23 of 28 11 September 2013 at 4:19am | IP Logged |
The votes have continued to climb (slowly). Thai is now up to 479. Please vote!
In the meantime, Rick has been working on a parser for Thai and now needs volunteers. The details can be found here: Thai Text Reader: Parsing
It's simple. Locate Thai. Copy, then paste the script into the parser. Parse. Email glitches to Rick. Rick will then correct/add them to the Thai dictionary hooked to the parser.
2 persons have voted this message useful
|
Rick Bradford Newbie Thailand Joined 4104 days ago 3 posts - 6 votes
| Message 24 of 28 11 September 2013 at 4:44am | IP Logged |
E-mail to send to is: parser --at -- thaitextreader.com
Edited by Rick Bradford on 11 September 2013 at 10:22am
2 persons have voted this message useful
|