diff options
| author | odanoburu <bcclaro@gmail.com> | 2018-05-23 11:22:46 -0300 |
|---|---|---|
| committer | odanoburu <bcclaro@gmail.com> | 2018-05-23 11:22:46 -0300 |
| commit | c8b1cb715e48665f3550ae1ccb41a9e521f6557b (patch) | |
| tree | c9921a1064486db3478e42c37e3c453aa3042342 /src/tools/gftest/README.md | |
| parent | 1c7e99cdca020ccb1e55b067961813a7752eba3b (diff) | |
| parent | 10df5a7269721ab0807ec7a0fe4b75cd1bb16d87 (diff) | |
Merge remote-tracking branch 'upstream/master' into por
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 +``` |
