mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-10 11:42:51 -06:00
chinese (Chi) in place and compiles, based on work by Jolene Zhuo Lin Qiqige
This commit is contained in:
11
lib/src/chinese/TextChi.gf
Normal file
11
lib/src/chinese/TextChi.gf
Normal file
@@ -0,0 +1,11 @@
|
||||
concrete TextChi of Text = CommonX - [Temp,Tense,Adv] ** open ResChi in {
|
||||
|
||||
-- No punctuation - but make sure to leave spaces between sentences!
|
||||
|
||||
lin
|
||||
TEmpty = {s = []} ;
|
||||
TFullStop x xs = {s = x.s ++ fullstop_s ++ xs.s} ;
|
||||
TQuestMark x xs = {s = x.s ++ questmark_s ++ xs.s} ;
|
||||
TExclMark x xs = {s = x.s ++ exclmark_s ++ xs.s} ;
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user