Class

org.clulab.processors.clu

VeiledDocument

Related Doc: package clu

Permalink

class VeiledDocument extends Veil

Manipulate a document with text veiled by word

Linear Supertypes
Veil, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. VeiledDocument
  2. Veil
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new VeiledDocument(originalDocument: Document, veiledWords: Seq[(Int, Range)])

    Permalink

    originalDocument

    a document that has not yet been veiled

    veiledWords

    a sequence of (integer, range) pairs which specify by sentence index and then word index range which words of a document to veil during annotation with annotate(processor) See VeilApp.veilDocument for an example.

Value Members

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. def annotate(processor: Processor): Document

    Permalink
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. final def eq(arg0: AnyRef): Boolean

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  11. def hashCode(): Int

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

    Permalink
    Definition Classes
    Any
  13. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  14. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  15. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  16. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  17. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  18. lazy val unveilArrays: Array[Array[Int]]

    Permalink

    There is one array per sentence and it contains at each index the index where a value (e.g., word in an array of words) should be transferred as it is unveiled.

    There is one array per sentence and it contains at each index the index where a value (e.g., word in an array of words) should be transferred as it is unveiled. Code using the unveilArrays might look like unveiledValues(unveilArrays(sentenceIndex)(veiledIndex)) = veiledValues(veiledIndex)

    Attributes
    protected
  19. def unveilDocument(veiledDocument: Document): Document

    Permalink
    Attributes
    protected
  20. def unveilGraphs(veiledGraphs: GraphMap, sentenceIndex: Int): GraphMap

    Permalink
  21. def unveilRelations(relations: Option[Array[RelationTriple]]): Option[Array[RelationTriple]]

    Permalink
  22. def unveilSentence(veiledSentence: Sentence, sentenceIndex: Int): Sentence

    Permalink
    Attributes
    protected
  23. def unveilStringArray(veiledArrayOpt: Option[Array[String]], sentenceIndex: Int, veil: String): Option[Array[String]]

    Permalink
  24. def unveilSyntacticTree(syntacticTreeOpt: Option[Tree]): Option[Tree]

    Permalink
  25. lazy val veilSets: Array[Set[Int]]

    Permalink

    This is an array of sets, each containing veiled word indices for each sentence.

    This is an array of sets, each containing veiled word indices for each sentence. They have been vetted and deduplicated.

    Attributes
    protected
  26. lazy val veiledDocument: Document

    Permalink
    Attributes
    protected
  27. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Veil

Inherited from AnyRef

Inherited from Any

Ungrouped