public class ParseSet
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
int |
count
the number of ways to parse a sentence
|
(package private) ParseChoice |
current
used to enumerate linkages
|
(package private) static ParseSet |
dummy_set |
(package private) ParseChoice |
first |
| Constructor and Description |
|---|
ParseSet(int count,
ParseChoice first)
constructor
|
| Modifier and Type | Method and Description |
|---|---|
static ParseSet |
empty_set()
returns an empty set of parses
|
void |
put_choice_in_set(ParseChoice pc)
Put this parse_choice into a given set.
|
public int count
ParseChoice first
ParseChoice current
static ParseSet dummy_set
public ParseSet(int count,
ParseChoice first)
count - index counterfirst - head of the parse choice listpublic void put_choice_in_set(ParseChoice pc)
pc - add a ParseCoice() to a setpublic static ParseSet empty_set()