mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-07 18:22:50 -06:00
Thai complete with what is needed to compile Sentences in Phrasebook
This commit is contained in:
11
lib/src/thai/TextTha.gf
Normal file
11
lib/src/thai/TextTha.gf
Normal file
@@ -0,0 +1,11 @@
|
||||
concrete TextTha of Text = CommonX ** {
|
||||
|
||||
-- No punctuation - but make sure to leave spaces between sentences!
|
||||
|
||||
lin
|
||||
TEmpty = {s = []} ;
|
||||
TFullStop x xs = {s = x.s ++ "" ++ xs.s} ;
|
||||
TQuestMark x xs = {s = x.s ++ "" ++ xs.s} ;
|
||||
TExclMark x xs = {s = x.s ++ "" ++ xs.s} ;
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user