./textproc/split-thai, Emacs library to split UTF-8 Thai text into words and more

[ Image CVSweb ] [ Image Homepage ] [ Image RSS ] [ Image Required by ]


Branch: CURRENT, Version: 2.45, Package name: split-thai-2.45, Maintainer: scole

An emacs library for handling Thai Unicode UTF-8 words. It can split,
unsplit, spellcheck, download and play audio for Thai text, practice
vocabulary, and more.

Also included is a merged dictionary file of Thai words gathered from
the libreoffice, icu, and swath websites.


Required to run:
[textproc/icu] [editors/emacs] [audio/sox] [lang/perl5] [textproc/swath]

Required to build:
[devel/libdatrie]

Master sites:


Version history: (Expand)


CVS history: (Expand)


   2026-09-04 19:36:22 by Sean Cole | Files touched by this commit (2)
Log message:
Update to version 2.45
- add pthai-highlight-bounds pthai-highlight-flash for standard
  overlay manipulation of overlay and pulse functions

- consolidate pthai-completing-read-full and
  pthai-completing-read-dyname into pthai-completing-read for using
  default word-at-point and thai dictionary choices for many functions

- add pthai-string-at-point pthai-word-at-point

- in pthai-mp3-thai2english, add option to save to specific location

- small cleanups for pthai-highlight-say-bounds

- simplify pthai-say-number, add option to force audio download

- major cleanup for pthai-say-time

- rename pthai-dictionary-add-word to pthai-dictionary-word-add,
  pthai-dictionary-remove-word to pthai-dictionary-word-remove, and
  pthai-dictionary-override-word to pthai-dictionary-word-override for
  consistency

- rename pthai-dictionary-find-regexp to pthai-dictionary-matching

- remove pthai-dictionary-find-word, add pthai-dictionary-occur and
  pthai-dictionary-occur-word instead

- add pthai-show-tones and pthai-show-tone-rules

- add pthai-unknown-words-grep
   2026-08-05 17:50:04 by Sean Cole | Files touched by this commit (2) | Package updated
Log message:
Update to version 2.44
- update thai2english parser for new webpage format
- merge 'pthai-mp3-url into 'pthai-mp3-fetch
   2026-07-07 17:45:09 by Sean Cole | Files touched by this commit (2)
Log message:
Update to version 2.43
- accommodate sox to sox_ns pkgsrc change
- in 'pthai-mp3-play, use new variable 'pthai-audio-command, preferring \ 
"play_ng" over "play"
- add 'pthai-lookup-all to return all matches for word lookup
   2026-07-04 08:25:05 by Thomas Klausner | Files touched by this commit (18)
Log message:
*: switch from sox to sox_ng
   2026-03-26 06:03:45 by Sean Cole | Files touched by this commit (2) | Package updated
Log message:
Update to version 2.42
- update dictionary format slightly, now ignore anything in []
- change sampledict.txt accordingly, add a couple more examples
- handle dictionary format errors better in 'pthai-dictionary-parse-classifiers
- replace line-beginning-position,line-end-position with pos-bol,pos-eol \ 
(requires emacs 29.1)
- simplify 'pthai-dictionary-read-file not to inhibit message buffer messages
- small clean-ups to 'pthai-classifier-practice-region
   2025-10-16 08:01:11 by Sean Cole | Files touched by this commit (2) | Package updated
Log message:
Update to 2.41
- update 'pthai-say-number to work with numbers >= 1 millon
   2025-08-31 08:05:01 by Sean Cole | Files touched by this commit (2)
Log message:
Update to 2.40
- a little clean up of the TODO list and some comments
- optimize 'pthai-soundfile-playable
- add 'pthai-dictionary-override-word
   2025-05-22 21:16:13 by Sean Cole | Files touched by this commit (2)
Log message:
Update to 2.39
- add 'pthai-unknown-words-toggle-line
- in 'pthai-classifier-for, don't do reverse lookup for English words,
  too many false positives