Package

org.allenai.dqa

labeling

Permalink

package labeling

Visibility
  1. Public
  2. All

Type Members

  1. case class AnswerOptions(optionTokens: Vector[Vector[String]]) extends Product with Serializable

    Permalink
  2. class AnswerSelector extends AnyRef

    Permalink
  3. case class Diagram(id: String, imageId: String, width: Int, height: Int, parts: Vector[Part], features: DiagramFeatures) extends Product with Serializable

    Permalink

    A diagram marked with a collection of parts.

    A diagram marked with a collection of parts. Each part has an x/y coordinate and a text label (e.g. "A")

  4. case class DiagramFeatures(imageId: String, pointFeatures: Map[Point, PointFeatures]) extends Product with Serializable

    Permalink

    Features of points in a diagram.

  5. case class DiagramLabel(diagramType: String, partLabels: Vector[String]) extends Product with Serializable

    Permalink

    A label for a diagram.

    A label for a diagram. The label includes a type for the entire diagram (e.g., "car") along with labels for each part (e.g., "wheel"). The indexes of partLabels correspond to part.ind.

  6. class DiagramLabelExecutionScore extends ExecutionScore

    Permalink
  7. class LabelingDqaCli extends AbstractCli

    Permalink
  8. case class LabelingExample(tokens: Array[String], diagram: Diagram, diagramLabel: DiagramLabel, answerOptions: AnswerOptions, correctAnswer: Int) extends Product with Serializable

    Permalink
  9. class LabelingExecutor extends AnyRef

    Permalink

    Executes logical forms against a diagram to produce a denotation, i.e., the answer to the question.

  10. class LabelingP3Model extends AnyRef

    Permalink
  11. case class Part(id: String, ind: Int, coords: Point) extends Product with Serializable

    Permalink

    A part of a diagram.

  12. case class Point(x: Int, y: Int) extends Product with Serializable

    Permalink

    An x/y point in a diagram.

  13. case class PointExpressions(xy: Expression, matching: Expression, vgg0: Expression, vgg1: Expression, vgg2: Expression, vggAll: Expression) extends Product with Serializable

    Permalink
  14. case class PointFeatures(xy: FloatVector, matching: FloatVector, vgg0: FloatVector, vgg1: FloatVector, vgg2: FloatVector, vggAll: FloatVector) extends Product with Serializable

    Permalink
  15. case class PreprocessedLabelingExample(tokenIds: Array[Int], unkedTokens: Array[String], entityLinking: EntityLinking, ex: LabelingExample) extends Product with Serializable

    Permalink

Value Members

  1. object Diagram extends Serializable

    Permalink
  2. object DiagramFeatures extends Serializable

    Permalink
  3. object LabelingDqaCli

    Permalink
  4. object LabelingExample extends Serializable

    Permalink
  5. object LabelingExecutor

    Permalink
  6. object LabelingUtil

    Permalink

Ungrouped