Package

com.xiaomi.duckling

types

Permalink

package types

Visibility
  1. Public
  2. All

Type Members

  1. case class DependencyEdge(label: String, modifier: Int) extends Product with Serializable

    Permalink

    label

    Dependency label

    modifier

    Position of modifier

  2. case class LanguageInfo(sentence: String, tokens: Array[TokenLabel] = Array(), dependencyChildren: Map[Int, List[DependencyEdge]] = Map()) extends Product with Serializable

    Permalink
  3. case class Node(range: Range, token: Token, children: List[Node], rule: Option[String], production: Production, features: Extraction = emptyExtraction) extends Product with Serializable

    Permalink
  4. case class TokenLabel(id: Int, word: String, start: Int, end: Int, tag: String) extends Product with Serializable

    Permalink

    沿用了CoreNLP中的定义

    沿用了CoreNLP中的定义

    id

    沿用了hanlp CoLLWord中的id,下标从1开始

    tag

    POS tag

Value Members

  1. object LanguageInfo extends Serializable

    Permalink

Ungrouped