mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-23 03:32:51 -06:00
integration of Parse with Phrasebook, to get idiomatic translations whenever possible
This commit is contained in:
12
examples/translator/Translate.gf
Normal file
12
examples/translator/Translate.gf
Normal file
@@ -0,0 +1,12 @@
|
||||
abstract Translate = ParseEngAbs, Phrasebook ** {
|
||||
|
||||
flags startcat = Phrase ;
|
||||
|
||||
fun
|
||||
PPhr : Phr -> Phrase ;
|
||||
NP_Person : NP -> Person ;
|
||||
NP_Object : NP -> Object ;
|
||||
NP_Item : NP -> Item ;
|
||||
NP_Place : NP -> Place ;
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user