1
0
forked from GitHub/gf-rgl

started thai resource

This commit is contained in:
aarne
2007-01-21 14:17:29 +00:00
parent 9ba401f0dd
commit 236f10412d
28 changed files with 2701 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
----------------------------------------------------------------------
-- |
-- Module : FileThai
-- Maintainer : (Maintainer)
-- Stability : (experimental)
-- Portability : (portable)
--
--
-- Convert transliterated Thai files into UTF-8 and pronunciation
-----------------------------------------------------------------------------
-- AR 21/1/2007
module Main (main) where
import GF.Text.Thai
import Data.List
import System
main = do
xx <- getArgs
case xx of
"-p":f:[] -> thaiPronFile f Nothing
f :[] -> thaiFile f Nothing
_ -> putStrLn "usage: filethai (-p) File"