mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-30 23:02:50 -06:00
(gftest) Better pruning + add new command line option
This commit is contained in:
@@ -69,6 +69,7 @@ Common flags:
|
||||
-s --start-cat=Utt Use the given category as start category
|
||||
--show-cats Show all available categories
|
||||
--show-funs Show all available functions
|
||||
--funs-of-arity=2 Show all functions of arity 2
|
||||
--show-coercions Show coercions in the grammar
|
||||
--concr-string=the Show all functions that include given string
|
||||
-q --equal-fields Show fields whose strings are always identical
|
||||
@@ -428,3 +429,18 @@ For example:
|
||||
* AdAdv very_AdA (PositAdvAdj young_A)
|
||||
* PrepNP above_Prep (UsePron they_Pron)
|
||||
```
|
||||
|
||||
### --funs-of-arity
|
||||
|
||||
Show all functions of given arity (not up to).
|
||||
|
||||
Example:
|
||||
|
||||
```
|
||||
> gftest -g Phrasebook --funs-of-arity 3
|
||||
* Functions in the grammar of arity 3:
|
||||
ADoVerbPhrasePlace
|
||||
AModVerbPhrase
|
||||
HowFarFromBy
|
||||
QWhereModVerbPhrase
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user