mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-01 15:22:50 -06:00
JPN
This commit is contained in:
14
lib/src/japanese/TextJpn.gf
Normal file
14
lib/src/japanese/TextJpn.gf
Normal file
@@ -0,0 +1,14 @@
|
||||
concrete TextJpn of Text = CatJpn ** open ResJpn, Prelude in {
|
||||
|
||||
flags coding = utf8 ;
|
||||
|
||||
lin
|
||||
|
||||
TEmpty = {s = ""} ;
|
||||
|
||||
TFullStop phr txt = {s = phr.s ++ "。" ++ txt.s} ;
|
||||
|
||||
TQuestMark phr txt = {s = phr.s ++ "?" ++ txt.s} ;
|
||||
|
||||
TExclMark phr txt = {s = phr.s ++ "!" ++ txt.s} ;
|
||||
}
|
||||
Reference in New Issue
Block a user