forked from GitHub/gf-core
moved paraphrases to examples/test/, meant for small grammars used for testing various aspects
This commit is contained in:
16
examples/test/paraphrase/CityEng.gf
Normal file
16
examples/test/paraphrase/CityEng.gf
Normal file
@@ -0,0 +1,16 @@
|
||||
concrete CityEng of City = {
|
||||
|
||||
lincat S, City, Country, Adj = Str ;
|
||||
|
||||
lin
|
||||
PredIn ci co = ci ++ "is in" ++ co ;
|
||||
PredAdj ci ad = ci ++ "is" ++ ad ;
|
||||
Capital co = "the capital of" ++ co ;
|
||||
CountryAdj ad = "the" ++ ad ++ "country" ;
|
||||
Stockholm = "Stockholm" ;
|
||||
Helsinki = "Helsinki" ;
|
||||
Sweden = "Sweden" ;
|
||||
Finland = "Finland" ;
|
||||
Swedish = "Swedish" ;
|
||||
Finnish = "Finnish" ;
|
||||
}
|
||||
Reference in New Issue
Block a user