public class GlobalBean
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
AND_type |
static java.lang.String |
ANDABLE_CONNECTORS_WORD
Defins the name of a special string in the dictionary.
|
static int |
BAD_WORD
the indiction in a word field that this connector cannot
be used -- is obsolete.
|
static int |
batch_errors |
static int |
BOTH_LABEL
to connect the "both" to the following "and"
|
static int |
BUILDEXPR |
static char |
CLOSE_BRACKET |
static int |
COMMA_LABEL
to hook the comma to the following "and"
|
static char |
COMMENT_CHAR
input lines beginning with this are ignored
|
static int |
CONNECTOR_type |
static int |
CType_CLOSE |
static int |
CType_OPEN |
static int |
CType_WORD |
static java.lang.String |
DEFAULTPATH |
static int |
DICTPARSE |
static int |
DISPLAY_MAX |
static int |
DOWN_priority |
static java.lang.String |
ED_WORD
Defins the name of a special string in the dictionary.
|
static int |
EITHER_LABEL
to connect the "either" to the following "or"
|
static int |
GENTLE
These parameters tell power_pruning, to tell whether this is before or after
generating and disjuncts.
|
static int |
HT_SIZE |
static java.lang.String |
HYPHENATED_WORD
Defins the name of a special string in the dictionary.
|
static java.lang.String |
ING_WORD
Defins the name of a special string in the dictionary.
|
static int |
input_char |
static boolean |
input_pending |
static int |
INTERNALERROR |
static java.lang.String |
LEFT_WALL_DISPLAY
the string to use to show the wall
|
static java.lang.String |
LEFT_WALL_SUPPRESS
If this connector is used on the wall,
then suppress the display of the wall
bogus name to prevent ever suppressing
|
static java.lang.String |
LEFT_WALL_WORD
Defins the name of a special string in the dictionary.
|
static int |
LINE_LIMIT |
static int |
LINKSET_DEFAULT_SEED |
static int |
LINKSET_MAX_SETS |
static int |
LINKSET_SEED_VALUE |
static int |
LINKSET_SPARSENESS |
static java.lang.String |
lperrmsg |
static int |
lperrno |
static java.lang.String |
LY_WORD
Defins the name of a special string in the dictionary.
|
static int |
MAX_DISJUNCT_COST
Max disjunct cost to allow
|
static int |
MAX_HEIGHT |
static int |
MAX_LINE
maximum number of chars in a sentence
|
static int |
MAX_LINKS
This is the maximum number of links allowed.
|
static int |
MAX_PATH_NAME
file names (including paths)
should not be longer than this
|
static int |
MAX_SENTENCE
maximum number of words in a sentence
|
static int |
MAX_STRIP |
static int |
MAX_TOKEN_LENGTH
maximum number of chars in a token
|
static int |
MAX_WORD
maximum number of chars in a word
|
static int |
MAXCONSTITUENTS |
static int |
MAXINPUT |
static int |
MAXSUBL |
static int |
NEGATIVECOST
This is a hack that allows one to discard disjuncts containing
connectors whose cost is greater than given a bound.
|
static int |
NEITHER_LABEL
to connect the "neither" to the following "nor"
|
static char |
NO_LABEL |
static int |
NO_WORD |
static int |
NOCUTOFF
no connector will have cost this high
|
static int |
NODICT |
static int |
NORMAL_LABEL
the labels >= 0 are used by fat links while -1 is used for normal connectors
|
static int |
NOT_LABEL
to connect the "not" to the following "but"
|
static int |
NOTINDICT |
static int |
NOTONLY_LABEL
to connect the "not" to the following "only"
|
static java.lang.String |
NUMBER_WORD
Defins the name of a special string in the dictionary.
|
static char |
OPEN_BRACKET |
static ParseOptions |
opts |
static int |
OR_type |
static char |
PARSE_WITH_DISJUNCT_COST_GT_0 |
static java.lang.String |
PL_PROPER_WORD
Defins the name of a special string in the dictionary.
|
static java.lang.String |
POSTPROCESS_WORD
Defins the name of a special string in the dictionary.
|
static int |
PP_FIRST_PASS |
static int |
PP_LEXER_MAX_LABELS |
static int |
PP_MAX_DOMAINS |
static int |
PP_MAX_UNIQUE_LINK_NAMES
just needs to be approximate
|
static int |
PP_SECOND_PASS |
static java.lang.String |
PROPER_WORD
Defins the name of a special string in the dictionary.
|
static java.lang.String |
RIGHT_WALL_DISPLAY
the string to use to show the wall
|
(package private) static java.lang.String |
RIGHT_WALL_SUPPRESS
Supress if this connector is used on the wall
|
static java.lang.String |
RIGHT_WALL_WORD
Defins the name of a special string in the dictionary.
|
static int |
RTSIZE
size of random table for computing the
hash functions.
|
static int |
RUTHLESS |
static java.lang.String |
S_WORD
Defins the name of a special string in the dictionary.
|
static int |
SEPARATE |
static int |
SHORT_LEN |
static int |
STAT_calls_to_equality_test |
static int |
STAT_N_disjuncts
keeping statistics
|
static int |
THIN_priority |
static char |
UNGRAMMATICAL |
static java.lang.String |
UNKNOWN_WORD
Defins the name of a special string in the dictionary.
|
static java.lang.String |
UNLIMITED_CONNECTORS_WORD
Defins the name of a special string in the dictionary.
|
static int |
UNLIMITED_LEN |
static int |
UP_priority |
static int |
VDAL
CostModel sort by Violations, Disjunct cost, And cost, Link cost
|
static int |
WORDFILE |
static int |
WType_NONE |
static int |
WType_PTYPE |
static int |
WType_QDTYPE |
static int |
WType_QTYPE |
static int |
WType_STYPE |
Constructor and Description |
---|
GlobalBean() |
Modifier and Type | Method and Description |
---|---|
static void |
batch_process_some_linkages(int label,
Sentence sent,
ParseOptions opts) |
static int |
fget_input_char(java.io.InputStream in,
ParseOptions opts) |
static boolean |
fget_input_string(java.lang.StringBuffer input_string,
java.io.InputStream in,
java.io.PrintStream out,
ParseOptions opts) |
static void |
left_append_string(java.lang.StringBuffer string,
java.lang.String s,
java.lang.String t)
Prints s then prints the last |t|-|s| characters of t.
|
static void |
process_some_linkages(Sentence sent,
ParseOptions opts) |
static boolean |
special_command(java.lang.StringBuffer input_string,
Dictionary dict) |
static int |
strip_off_label(java.lang.StringBuffer input_string) |
static int |
there_was_an_error(int label,
Sentence sent,
ParseOptions opts) |
public static final int NEGATIVECOST
public static final int NOCUTOFF
public static final java.lang.String LEFT_WALL_DISPLAY
public static final java.lang.String LEFT_WALL_SUPPRESS
public static final java.lang.String RIGHT_WALL_DISPLAY
static final java.lang.String RIGHT_WALL_SUPPRESS
public static final java.lang.String LEFT_WALL_WORD
public static final java.lang.String RIGHT_WALL_WORD
public static final java.lang.String POSTPROCESS_WORD
public static final java.lang.String ANDABLE_CONNECTORS_WORD
public static final java.lang.String UNLIMITED_CONNECTORS_WORD
public static final java.lang.String PROPER_WORD
public static final java.lang.String PL_PROPER_WORD
public static final java.lang.String HYPHENATED_WORD
public static final java.lang.String NUMBER_WORD
public static final java.lang.String ING_WORD
public static final java.lang.String S_WORD
public static final java.lang.String ED_WORD
public static final java.lang.String LY_WORD
public static final java.lang.String UNKNOWN_WORD
public static final int MAX_PATH_NAME
public static final int MAX_WORD
public static final int MAX_LINE
public static final int MAX_SENTENCE
public static final int MAX_LINKS
public static final int MAX_TOKEN_LENGTH
public static final int MAX_DISJUNCT_COST
public static final int DOWN_priority
public static final int UP_priority
public static final int THIN_priority
public static final int NORMAL_LABEL
public static final int UNLIMITED_LEN
public static final int SHORT_LEN
public static final int NO_WORD
public static final int OR_type
public static final int AND_type
public static final int CONNECTOR_type
public static final int GENTLE
public static final int RUTHLESS
public static final int PP_LEXER_MAX_LABELS
public static final int VDAL
public static final int HT_SIZE
public static final int RTSIZE
public static final int NODICT
public static final int DICTPARSE
public static final int WORDFILE
public static final int SEPARATE
public static final int NOTINDICT
public static final int BUILDEXPR
public static final int INTERNALERROR
public static final int LINKSET_SPARSENESS
public static final int LINKSET_MAX_SETS
public static final int LINKSET_DEFAULT_SEED
public static final int PP_FIRST_PASS
public static final int PP_SECOND_PASS
public static final int MAXINPUT
public static final int DISPLAY_MAX
public static final char COMMENT_CHAR
public static final char UNGRAMMATICAL
public static final char PARSE_WITH_DISJUNCT_COST_GT_0
public static final char NO_LABEL
public static final int BAD_WORD
public static final int PP_MAX_DOMAINS
public static final int LINKSET_SEED_VALUE
public static final int PP_MAX_UNIQUE_LINK_NAMES
public static final int LINE_LIMIT
public static final java.lang.String DEFAULTPATH
public static final int MAX_STRIP
public static final int MAX_HEIGHT
public static final int COMMA_LABEL
public static final int EITHER_LABEL
public static final int NEITHER_LABEL
public static final int NOT_LABEL
public static final int NOTONLY_LABEL
public static final int BOTH_LABEL
public static final int MAXCONSTITUENTS
public static final int MAXSUBL
public static final char OPEN_BRACKET
public static final char CLOSE_BRACKET
public static final int CType_OPEN
public static final int CType_CLOSE
public static final int CType_WORD
public static final int WType_NONE
public static final int WType_STYPE
public static final int WType_PTYPE
public static final int WType_QTYPE
public static final int WType_QDTYPE
public static int batch_errors
public static boolean input_pending
public static int input_char
public static ParseOptions opts
public static int lperrno
public static java.lang.String lperrmsg
public static int STAT_N_disjuncts
public static int STAT_calls_to_equality_test
public static void left_append_string(java.lang.StringBuffer string, java.lang.String s, java.lang.String t)
public static int strip_off_label(java.lang.StringBuffer input_string)
public static boolean special_command(java.lang.StringBuffer input_string, Dictionary dict)
public static void batch_process_some_linkages(int label, Sentence sent, ParseOptions opts)
public static int there_was_an_error(int label, Sentence sent, ParseOptions opts)
public static void process_some_linkages(Sentence sent, ParseOptions opts) throws java.io.IOException
java.io.IOException
public static int fget_input_char(java.io.InputStream in, ParseOptions opts) throws java.io.IOException
java.io.IOException
public static boolean fget_input_string(java.lang.StringBuffer input_string, java.io.InputStream in, java.io.PrintStream out, ParseOptions opts) throws java.io.IOException
java.io.IOException