summaryrefslogtreecommitdiff
path: root/src/HelpFile
diff options
context:
space:
mode:
authoraarne <unknown>2005-10-31 18:02:34 +0000
committeraarne <unknown>2005-10-31 18:02:34 +0000
commitf06638cc7d90eb8298180d36e79fc292a9f898dc (patch)
treeb33a7459a5e777a319c3d85dbf21da62b8a34358 /src/HelpFile
parent94f87d85023fc9b0e759600435e3c85cf31e3bc4 (diff)
probabilities in ShellState
Diffstat (limited to 'src/HelpFile')
-rw-r--r--src/HelpFile7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/HelpFile b/src/HelpFile
index c28a9d2fc..573191204 100644
--- a/src/HelpFile
+++ b/src/HelpFile
@@ -34,6 +34,7 @@ i, import: i File
-noemit do not emit code (default with old grammar format)
-o do emit code (default with new grammar format)
-ex preprocess .gfe files if needed
+ -prob read probabilities from top grammar file (format --# prob Fun Double)
flags:
-abs set the name used for abstract syntax (with -old option)
-cnc set the name used for concrete syntax (with -old option)
@@ -41,6 +42,7 @@ i, import: i File
-path use the (colon-separated) search path to find modules
-optimize select an optimization to override file-defined flags
-conversion select parsing method (values strict|nondet)
+ -probs read probabilities from file (format (--# prob) Fun Double)
examples:
i English.gf -- ordinary import of Concrete
i -retain german/ParadigmsGer.gf -- import of Resource to test
@@ -165,6 +167,7 @@ p, parse: p String
options for batch input:
-lines parse each line of input separately, ignoring empty lines
-all as -lines, but also parse empty lines
+ -prob rank results by probability
options for selecting parsing method:
(default)parse using an overgenerating CFG
-cfg parse using a much less overgenerating CFG
@@ -241,6 +244,9 @@ gr, generate_random: gr Tree?
Generates a random Tree of a given category. If a Tree
argument is given, the command completes the Tree with values to
the metavariables in the tree.
+ options:
+ -prob use probabilities (works for nondep types only)
+ -cf use a very fast method (works for nondep types only)
flags:
-cat generate in this category
-lang use the abstract syntax of this grammar
@@ -537,6 +543,7 @@ q, quit: q
*-printer=xml XML: DTD for the pg command, object for st
-printer=old old GF: file readable by GF 1.2
-printer=stat show some statistics of generated GFC
+ -printer=probs show probabilities of all functions
-printer=gsl Nuance GSL speech recognition grammar
-printer=jsgf Java Speech Grammar Format
-printer=slf a finite automaton in the HTK SLF format