Package

org.clulab.processors.clu

syntax

Permalink

package syntax

Visibility
  1. Public
  2. All

Type Members

  1. case class Dependency(head: Int, modifier: Int, label: String, votes: Set[Int]) extends Product with Serializable

    Permalink

    Unlike our representation in DirectedGraph, offsets in this class start at 1; root is 0 in this notation (Eisner requires this)

  2. class EnsembleMaltParser extends Parser

    Permalink

    Ensemble of several malt models User: mihais Date: 8/6/17

  3. class EnsembleModel extends AnyRef

    Permalink

    Implements the word-by-word voting scheme from Surdeanu et al.

    Implements the word-by-word voting scheme from Surdeanu et al. (2010) User: mihais Date: 8/9/17 Last Modified: Let Scala efficiently determine conversion return types.

  4. class EvalDependency extends AnyRef

    Permalink
  5. class EvaluateMalt extends AnyRef

    Permalink
  6. class MaltUtils extends AnyRef

    Permalink

    Utils necessary for malt parsing User: mihais Date: 8/6/17 Last Modified: Update for Scala 2.12: bug #10151 workaround.

  7. class MaltWrapper extends Parser

    Permalink

    A thin wrapper over the Malt parser Works for both left-to-right and right-to-left parsing User: mihais Date: 7/11/17

  8. trait Parser extends AnyRef

    Permalink

    Generic interface for a syntactic dependency parser User: mihais Date: 7/11/17

Value Members

  1. object EnhancedDependencies

    Permalink

    Converts Stanford basic dependencies to collapsed ones This follows the rules from http://universaldependencies.org/u/overview/enhanced-syntax.html (but applied to Stanford deps rather than universal ones) We support: - Collapsing of prepositions to the prep_* label - Controlled/raised subjects - Propagating subjects and objects in conjoined verbs - Propagating conjoined subjects and objects to same verb - Pushing subjects/objects inside relative clauses User: mihais Date: 8/1/17

  2. object EvaluateMalt

    Permalink

    Evaluates a model produced by TrainMalt User: mihais Date: 1/5/14 Last Modified: Fix compiler issue: import scala.io.Source.

  3. object MaltUtils

    Permalink
  4. object MaltWrapper

    Permalink
  5. object ReverseTreebank

    Permalink

    Reverts word order in a CoNLL-X treebank from left-to-right to right-to-left This is needed to provide support for right-to-left dependency parsers User: mihais Date: 8/4/17

Ungrouped