chalk

slab

package slab

Visibility
  1. Public
  2. All

Type Members

  1. trait AnalysisComponent[C, B, I <: B, O <: B] extends Actor with ActorLogging with AnalysisFunction[C, B, I, O]

    An actor that mixes-in an AnalysisFunction and hands Slabs contained in Process messages over to the function.

  2. class AnalysisEngine extends Actor with ActorLogging

    An analysis engine that runs Slabs through a pipeline of AnalysisComponents.

  3. trait AnalysisFunction[C, B, I <: B, O <: B] extends (Slab[C, B, I]) ⇒ Slab[C, B, B with I with O]

    An analysis function that takes a Slab with declared annotation types in it and outputs a new Slab with additional annotations of a new type.

  4. case class EntityMention(begin: Int, end: Int, entityType: String, id: Option[String] = scala.None) extends Span with Product with Serializable

  5. case class PartOfSpeech(begin: Int, end: Int, tag: String, id: Option[String] = scala.None) extends Span with Product with Serializable

  6. case class Segment(begin: Int, end: Int, id: Option[String] = scala.None) extends Span with Product with Serializable

  7. case class Sentence(begin: Int, end: Int, id: Option[String] = scala.None) extends Span with Product with Serializable

  8. trait SentenceSegmenter[I <: Span] extends StringAnalysisFunction[I, Sentence]

    A simple regex sentence segmenter.

  9. class SentenceSegmenterActor extends SentenceSegmenter[Span] with StringAnalysisComponent[Span, Sentence]

    An actor that uses SentenceSegmenter.

  10. trait Slab[ContentType, BaseAnnotationType, +AnnotationTypes <: BaseAnnotationType] extends AnyRef

  11. abstract class SlabAnnotationOps[ContentType, BaseAnnotationType, AnnotationType >: AnnotationTypes <: BaseAnnotationType, AnnotationTypes <: BaseAnnotationType] extends AnyRef

  12. case class Source(begin: Int, end: Int, url: URL) extends Span with Product with Serializable

  13. trait Span extends AnyRef

  14. trait StringAnalysisComponent[I <: Span, O <: Span] extends AnalysisComponent[String, Span, I, O]

  15. trait StringAnalysisFunction[I <: Span, O <: Span] extends (StringSlab[I]) ⇒ StringSlab[Span with I with O]

  16. case class Token(begin: Int, end: Int, id: Option[String] = scala.None) extends Span with Product with Serializable

  17. trait Tokenizer[I <: Sentence] extends StringAnalysisFunction[I, Token]

    A simple regex tokenizer.

  18. class TokenizerActor extends Tokenizer[Sentence] with StringAnalysisComponent[Sentence, Token]

    An actor that uses Tokenizer.

Value Members

  1. object AnalysisComponent

    Companion object, e.

  2. object AnalysisEngine

    Example application doing actor based Slab processing.

  3. object AnalysisPipeline

  4. object Slab

  5. object Span

  6. object StringIdentityAnalyzer extends StringAnalysisFunction[Span, Span]

Ungrouped