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

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 2.38, Package name: split-thai-2.38, 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)


   2024-11-26 04:09:25 by Sean Cole | Files touched by this commit (2)
Log message:
Update to version 2.38
- add force option for 'pthai-message, use switch-to-buffer-other-window
- remove 'pthai-cycle-split-mode, just use customize to set
- make 'pthai-soundfiles-sort work with 'sort, small cleanups
- in 'pthai-mp3-fetch, print download url to *Messages* buffer
- fix 'pthai-download-and-play when force fetching of complete word
  if pieces were previously downloaded
- fix borderline cases in 'pthai-spell-merge-singles
- simplify options to 'pthai-spell-suggestions and 'pthai-unknown-bounds
- change 'pthai-unknown-words-extract to extract words from current buffer
  into new temp buffer, instead of current and named buffers
- modify 'pthai-unknown-words-toggle, add 'pthai-unknown-words-toggle-dictionary
  and 'pthai-unknown-words-toggle-unknown for specific toggling of
  undefined or unknown words
- comment cleanups and corrections in a few places
   2024-09-16 02:54:44 by Sean Cole | Files touched by this commit (2)
Log message:
Update to version 2.37
- simplify pthai-dictionary-add-word
- add reset option to pthai-spell-region
- use delete-dups instead of seq-uniq in a few places
- other small cleanups
   2024-09-09 04:16:34 by Sean Cole | Files touched by this commit (2)
Log message:
Update to version 2.36
- add pthai-classifier-practice-(region/line/buffer/file), simplify class
- clarify comments, a few minor code cleanups in a couple places
- rename pthai-dictionary-def-p -> pthai-dictionary-any-p.  change
  semantics of pthai-dictionary-def-p
- add &optional force to pthai-classifier-by, pthai-classifier-for
- add option for classifiers in pthai-practice-words, add
  pthai-classifier-practice-region/line/buffer/file
- remove optional audio parameter from
  pthai-practice-region/line/buffer/file
   2024-08-28 11:16:18 by Sean Cole | Files touched by this commit (2)
Log message:
Update to 2.35
- add 'pthai-message for large messages
- use standard emacs regexp in pthai-split-region
- include playable/unplayable with pthai-soundfiles-counts
- small cleanups for pthai-time-loc2th
- rename pthai-reverse-lookup -> pthai-lookup-reverse, simplify
- include classifiers in dictionary word counts
- simplify classifier functions,
  rename pthai-lookup-classifier -> pthai-classifier-lookup,
  rename pthai-lookup-classifier-at-point -> pthai-classifier-lookup-at-point,
  add pthai-classifier-list pthai-classifier-count pthai-classifier-by
  pthai-classifier-for, remove pthai-lookup-classifier-detail,
  pthai-lookup-classifier-detail-at-point, and pthai-classifier-info
- display skipped words without definitions for pthai-practice-*, small cleanups
   2024-08-06 20:52:46 by Sean Cole | Files touched by this commit (2)
Log message:
Update to 2.34
- remove 'pthai-pkg-wordlist and 'pthai-pkg-sample-dictionary, set
  as defaults for 'pthai-dictionary-list. remove some now unneeded
  bootstrap code
- slight cleanups for 'pthai-url-lingopolo
- simplify 'pthai-dictionary-parse-filelist, require version emacs
  27.1 for 'directory-files-recursively
- move 'pthai-dictionary-list to accommodate changes
   2024-08-03 20:37:06 by Sean Cole | Files touched by this commit (2)
Log message:
Update to 2.33
- remove 'pthai-verbose-wordloads, cleanups for pthai-bootstrap.
  ensure 'pthai-dictionary-list doesn't load user dictionaries
  during setup
- for pkgsrc, use -Q flag with emacs initialization of dictionaries
   2024-08-01 22:10:30 by Sean Cole | Files touched by this commit (2)
Log message:
Update to 2.32
 - Update pkgsrc Makefile to require emacs version >= 27 for json and
   'string-distance.  use ALL_ENV for utf8 settings
 - cleanups for pthai-url-* functions
 - remove custom variable 'pthai-audio-download-non-dictionary
 - change custom variable 'pthai-audio-download to 3-state variable
   from boolean, add 'pthai-mp3-permit-fetch to accommodate change
 - add 'pthai-fetch-silence to disable messaging during downloads,
   simplify 'pthai-download-and-play, 'pthai-highlight-say-bounds,
   'pthai-mp3-fetch and various 'pthai-audio-* control flags
   2024-07-26 17:37:26 by Sean Cole | Files touched by this commit (2)
Log message:
Update to 2.31
- some clean ups for 'pthai-url-thai2english from last checkin