package
labeling
Type Members
-
case class
AnswerOptions(optionTokens: Vector[Vector[String]]) extends Product with Serializable
-
-
case class
Diagram(id: String, imageId: String, width: Int, height: Int, parts: Vector[Part], features: DiagramFeatures) extends Product with Serializable
-
case class
DiagramFeatures(imageId: String, pointFeatures: Map[Point, PointFeatures]) extends Product with Serializable
-
case class
DiagramLabel(diagramType: String, partLabels: Vector[String]) extends Product with Serializable
-
-
-
case class
LabelingExample(tokens: Array[String], diagram: Diagram, diagramLabel: DiagramLabel, answerOptions: AnswerOptions, correctAnswer: Int) extends Product with Serializable
-
-
-
case class
Part(id: String, ind: Int, coords: Point) extends Product with Serializable
-
case class
Point(x: Int, y: Int) extends Product with Serializable
-
case class
PointExpressions(xy: Expression, matching: Expression, vgg0: Expression, vgg1: Expression, vgg2: Expression, vggAll: Expression) extends Product with Serializable
-
case class
PointFeatures(xy: FloatVector, matching: FloatVector, vgg0: FloatVector, vgg1: FloatVector, vgg2: FloatVector, vggAll: FloatVector) extends Product with Serializable
-
case class
PreprocessedLabelingExample(tokenIds: Array[Int], unkedTokens: Array[String], entityLinking: EntityLinking, ex: LabelingExample) extends Product with Serializable
Value Members
-
object
Diagram extends Serializable
-
-
-
-
-
A diagram marked with a collection of parts. Each part has an x/y coordinate and a text label (e.g. "A")