diff options
| author | Inari Listenmaa <inari.listenmaa@gmail.com> | 2018-05-21 18:41:16 +0100 |
|---|---|---|
| committer | Inari Listenmaa <inari.listenmaa@gmail.com> | 2018-05-21 18:41:16 +0100 |
| commit | b635cb3d5208478097b5dfd8e2476aef857e96c9 (patch) | |
| tree | c27829dcc9397a86e11d75707b4aade8ee296d83 /src/tools/gftest/README.md | |
| parent | 9d39648dfba3b2565e89b2de3a8a6db90ade6aaf (diff) | |
(gftest) Better pruning + add new command line option
Diffstat (limited to 'src/tools/gftest/README.md')
| -rw-r--r-- | src/tools/gftest/README.md | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/tools/gftest/README.md b/src/tools/gftest/README.md index a71017004..5134300fd 100644 --- a/src/tools/gftest/README.md +++ b/src/tools/gftest/README.md @@ -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 +``` |
