Mizero / grammatical-framework

Automatically exported from code.google.com/p/grammatical-framework
0 stars 0 forks source link

GF commandline client: clarify the meaning of the -langs parameter of gr and gt #64

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I find this confusing:

Words300> p -lang=Ace "no man that the dog bites knows John ." | gt
no trees found

Words300> p -lang=Ace "no man that the dog bites knows John ." | gt -lang=Ace
baseText (sText (s (vpS (noNP (relCN (cn_as_VarCN man_CN) (slashRS which_RP 
(theNP (cn_as_VarCN dog_CN)) (V2by_as_V2 bite_V2)))) (v2VP (V2by_as_V2 know_V2) 
(pnNP john_PN)))))

The omission of 'langs' seems to mean "do not generate trees which lack a 
linearization in at least one of the languages". It could be instead "do not 
generate trees which lack a linearization in all of the languages".

Also, 'langs' could allow meta values 'all' and 'some' in addition to the 
language list to make the default semantics clear.

Original issue reported on code.google.com by kaljurand on 29 Apr 2013 at 6:54