package slab
TODO
- Alphabetic
- By Inheritance
- slab
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
trait
AnalysisFunction
[C, B, I, +O] extends AnyRef
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.
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.
Documentation for the type variables: C = Content type B = Base annonation type I = Input annotation type O = Output annotation type
- case class ComposedAnalysisFunction [C, B, I, O, II >: I with O, +OO](a: AnalysisFunction[C, B, I, O], b: AnalysisFunction[C, B, II, OO]) extends AnalysisFunction[C, B, I, O with OO] with Product with Serializable
- case class EntityMention (entityType: String, id: Option[String] = None) extends Product with Serializable
- case class PartOfSpeech (tag: String, id: Option[String] = None) extends Product with Serializable
- case class Segment (id: Option[String] = None) extends Product with Serializable
- case class Sentence (id: Option[String] = None) extends Product with Serializable
-
trait
Slab
[ContentType, RegionType, +AnnotationTypes] extends AnyRef
A Slab is the core "document" type in Epic.
A Slab is the core "document" type in Epic. It represents a document and a set of annotations on that document, such as sentence boundaries, tokens, named entity spans, etc. The ContentType is the type of the document--typically a string--and the AnnotationTypes parameter is an encoding of the kinds of annotations that are present. epic.slab.AnalysisFunctions can be used to add new annotations to a Slab that have the prerequisite annotations.
- case class Source (url: URL) extends Product with Serializable
- type StringAnalysisFunction[I, O] = AnalysisFunction[String, Span, I, O]
- type StringSlab[+AnnotationTypes] = Slab[String, Span, AnnotationTypes]
- case class Token (token: String) extends Product with Serializable
Value Members
- object AnalysisPipeline
- object AnnotatedSpan
-
object
RegexTokenizer
extends Tokenizer
A simple regex tokenizer.
- object Slab
- object StringIdentityAnalyzer extends StringAnalysisFunction[Any, Any]