started thai resource

This commit is contained in:
aarne
2007-01-21 14:17:29 +00:00
parent 242f3c751e
commit 0feb059009
29 changed files with 2702 additions and 1 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"