cc.factorie.app.nlp.parse

MutableParseTreeLike

trait MutableParseTreeLike extends ParseTree2

Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. MutableParseTreeLike
  2. ParseTree2
  3. AnyRef
  4. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract val _labels: Array[ParseTreeLabel2]

    Attributes
    protected
    Definition Classes
    ParseTree2
  2. abstract val _parents: Array[ParseTreeParent]

    Attributes
    protected
    Definition Classes
    ParseTree2
  3. abstract val _vertices: Array[ParseTreeVertex]

    Attributes
    protected
    Definition Classes
    ParseTree2
  4. abstract val sentence: Sentence

    Definition Classes
    ParseTree2

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  5. def children(parentIndex: Int): Seq[ParseTreeVertex]

    Return a list of vertices who are the children of the vertex at vertex position 'parentIndex'

    Return a list of vertices who are the children of the vertex at vertex position 'parentIndex'

    Definition Classes
    ParseTree2
  6. def childrenLabeled(parentIndex: Int, labelIntValue: Int): Seq[ParseTreeVertex]

    Return a list of tokens who are the children of the token at sentence position 'parentIndex' and who also have the indicated label value.

    Return a list of tokens who are the children of the token at sentence position 'parentIndex' and who also have the indicated label value.

    Definition Classes
    ParseTree2
  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def copy: ParseTree2

    Definition Classes
    ParseTree2
  9. val defaultFilter: (Int) ⇒ Boolean

    Definition Classes
    ParseTree2
  10. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  12. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. def firstChild(parentIndex: Int): Int

    Return the vertex index of the first vertex whose parent is 'parentIndex'

    Return the vertex index of the first vertex whose parent is 'parentIndex'

    Attributes
    protected
    Definition Classes
    ParseTree2
  14. def getChildrenIndices(parentIndex: Int, filter: (Int) ⇒ Boolean = defaultFilter): Seq[Int]

    Definition Classes
    ParseTree2
  15. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  16. def getSubtreeInds(parentIndex: Int, filter: (Int) ⇒ Boolean = defaultFilter): Seq[Int]

    Definition Classes
    ParseTree2
  17. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  18. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  19. def label(index: Int): ParseTreeLabel2

    Return the label on the edge from the child at sentence position 'index' to its parent.

    Return the label on the edge from the child at sentence position 'index' to its parent.

    Definition Classes
    ParseTree2
  20. def labels: Array[ParseTreeLabel2]

    Definition Classes
    ParseTree2
  21. def labelsAccuracy: Double

    Definition Classes
    ParseTree2
  22. def leftChildren(parentIndex: Int): Seq[ParseTreeVertex]

    Definition Classes
    ParseTree2
  23. def leftChildrenLabeled(parentIndex: Int, labelIntValue: Int): Seq[ParseTreeVertex]

    Definition Classes
    ParseTree2
  24. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  25. final def notify(): Unit

    Definition Classes
    AnyRef
  26. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  27. def numLabelsCorrect: Int

    Definition Classes
    ParseTree2
  28. def numParentsCorrect: Int

    Definition Classes
    ParseTree2
  29. def parent(token: Token): ParseTreeVertex

    Returns the parent vertex of the given token

    Returns the parent vertex of the given token

    Definition Classes
    ParseTree2
  30. def parent(childIndex: Int): ParseTreeParent

    Returns the parent of the vertex at position childIndex

    Returns the parent of the vertex at position childIndex

    Definition Classes
    ParseTree2
  31. def parentIndex(childIndex: Int): Int

    Returns the vertex index of the parent of the vertex at position childIndex

    Returns the vertex index of the parent of the vertex at position childIndex

    Definition Classes
    ParseTree2
  32. implicit def parentToInt(p: ParseTreeParent): Int

    Definition Classes
    ParseTree2
  33. def parents: Array[ParseTreeParent]

    Definition Classes
    ParseTree2
  34. def parentsAccuracy: Double

    Definition Classes
    ParseTree2
  35. def rightChildren(parentIndex: Int): Seq[ParseTreeVertex]

    Definition Classes
    ParseTree2
  36. def rightChildrenLabeled(parentIndex: Int, labelIntValue: Int): Seq[ParseTreeVertex]

    Definition Classes
    ParseTree2
  37. def rootChild: ParseTreeVertex

    Return the vertex at the root of the parse tree.

    Return the vertex at the root of the parse tree. The parent of this vertex is null. The parentIndex of this position is -1.

    Definition Classes
    ParseTree2
  38. def rootChildIndex: Int

    Returns the position in the sentence of the root token.

    Returns the position in the sentence of the root token.

    Definition Classes
    ParseTree2
  39. def setParent(child: ParseTreeVertex, parent: ParseTreeVertex): Unit

    Set the parent of the token 'child' to be 'parent'.

  40. def setParent(child: Token, parent: Token): Unit

    Set the parent of the token 'child' to be 'parent'.

  41. def setParent(childIndex: Int, parentIndex: Int): Unit

    Set the parent of the token at position 'child' to be at position 'parentIndex'.

    Set the parent of the token at position 'child' to be at position 'parentIndex'. A parentIndex of -1 indicates the root.

  42. def setParentsToTarget(): Unit

    Definition Classes
    ParseTree2
  43. def setRootChild(root: ParseTreeVertex): Unit

    Make the argument the root of the tree.

    Make the argument the root of the tree. This method does not prevent their being two roots.

  44. def setRootChild(token: Token): Unit

    Make the argument the root of the tree.

    Make the argument the root of the tree. This method does not prevent their being two roots.

  45. def setTargetParent(childIndex: Int, parentIndex: Int): Unit

  46. def subtree(parentIndex: Int): Seq[Token]

    Definition Classes
    ParseTree2
  47. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  48. def targetParentIndex(childIndex: Int): Int

    Definition Classes
    ParseTree2
  49. def toCollapsedParseTree: CollapsedParseTree

    Definition Classes
    ParseTree2
  50. def toImmutable: ImmutableParseTreeLike

    Definition Classes
    ParseTree2
  51. def toMutable: MutableParseTreeLike

    Definition Classes
    ParseTree2
  52. def toString(): String

    Return the label on the edge from 'childToken' to its parent.

    Return the label on the edge from 'childToken' to its parent.

    Definition Classes
    ParseTree2 → AnyRef → Any
  53. def toStringTex: String

    Definition Classes
    ParseTree2
  54. implicit def tokenToVertex(token: Token): ParseTreeVertex

    Definition Classes
    ParseTree2
  55. def vertex(idx: Int): ParseTreeVertex

    Definition Classes
    ParseTree2
  56. def vertices: Array[ParseTreeVertex]

    Definition Classes
    ParseTree2
  57. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  58. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  59. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from ParseTree2

Inherited from AnyRef

Inherited from Any

Ungrouped