Parsing Engine

Uses of Interface
danbikel.parser.constraints.ConstraintSet

Packages that use ConstraintSet
danbikel.parser Provides the core framework of this extensible statistical parsing engine. 
danbikel.parser.constraints Provides interfaces and classes to allow constrain-parsing. 
 

Uses of ConstraintSet in danbikel.parser
 

Fields in danbikel.parser declared as ConstraintSet
protected  ConstraintSet Decoder.constraints
          Caches the ConstraintSet, if any, for the current sentence.
 

Methods in danbikel.parser that return ConstraintSet
protected  ConstraintSet Parser.getConstraintsFromTree(Sexp tree)
          After converting unknown words in the specified parse tree, this method constructs a constraint set using the method ConstraintSets.get(Object).
 

Methods in danbikel.parser with parameters of type ConstraintSet
protected  Sexp Decoder.parse(SexpList sentence, SexpList tags, ConstraintSet constraints)
          Parses the specified sentence using the supplied list of part-of-speech tags and the supplied set of parsing constraints.
protected  CountsTable EMDecoder.parseAndCollectEventCounts(SexpList sentence, SexpList tags, ConstraintSet constraints)
          Constrain-parses the specified sentence and computes expected top-level (maximal context) event counts.
protected  void Decoder.seedChart(Symbol word, int wordIdx, Symbol features, boolean neverObserved, SexpList tagSet, boolean wordIsUnknown, Symbol origWord, ConstraintSet constraints)
          Adds a chart item for every possible part of speech for the specified word at the specified index in the current sentence.
protected  void EMDecoder.seedChart(Symbol word, int wordIdx, Symbol features, boolean neverObserved, SexpList tagSet, boolean wordIsUnknown, Symbol origWord, ConstraintSet constraints)
           
 

Uses of ConstraintSet in danbikel.parser.constraints
 

Classes in danbikel.parser.constraints that implement ConstraintSet
 class LexTreeConstraintSet
          Represents a set of constraints that correspond to a specific lexicalized parse tree, for use when the bottom-up parsing algorithm needs to generate only the analyses that are consistent with a particular lexicalized tree.
 class PartialLexTreeConstraintSet
          Constructs a set of PartialLexTreeConstraints for a given tree.
 class PartialTreeConstraintSet
          Represents a set of constraints that correspond to a specific unlexicalized parse tree, for use when the bottom-up parsing algorithm needs to generate only the analyses that are consistent with a particular unlexicalized tree.
 class UnlexTreeConstraintSet
          Represents a set of constraints that correspond to a specific unlexicalized parse tree, for use when the bottom-up parsing algorithm needs to generate only the analyses that are consistent with a particular unlexicalized tree.
 

Methods in danbikel.parser.constraints that return ConstraintSet
 ConstraintSet ConstraintSetFactory.get()
          Return a ConstraintSet object created with its default constructor.
static ConstraintSet ConstraintSets.get()
          Return a ConstraintSet object created with its default constructor.
 ConstraintSet LexTreeConstraintSetFactory.get()
          Gets a new, empty LexTreeConstraintSet instance.
 ConstraintSet PartialLexTreeConstraintSetFactory.get()
          Returns a new, empty PartialLexTreeConstraintSet object.
 ConstraintSet PartialTreeConstraintSetFactory.get()
          Returns an empty partial tree constraint set.
 ConstraintSet UnlexTreeConstraintSetFactory.get()
          Returns an empty UnlexTreeConstraintSet object.
 ConstraintSet ConstraintSetFactory.get(Object input)
          Return a ConstraintSet object created with its one-argument constructor.
static ConstraintSet ConstraintSets.get(Object input)
          Return a ConstraintSet object created with its one-argument constructor, using the specified S-expression.
 ConstraintSet LexTreeConstraintSetFactory.get(Object tree)
          Gets a new set of constraints for parsing the specified lexicalized tree.
 ConstraintSet PartialLexTreeConstraintSetFactory.get(Object tree)
          Returns a new PartialLexTreeConstraintSet using the specified syntactic tree.
 ConstraintSet PartialTreeConstraintSetFactory.get(Object tree)
          Returns a partial tree constraint set for the specified tree, which must be a Sexp instance.
 ConstraintSet UnlexTreeConstraintSetFactory.get(Object tree)
          Returns an UnlexTreeConstraintSet constructed with the specified syntactic tree.
 


Parsing Engine

Author: Dan Bikel.