EntityExtractionWidget: Display entity extraction output as an 'htmlwidget'

View source: R/entityextractionwidget.R

EntityExtractionWidgetR Documentation

Display entity extraction output as an htmlwidget

Description

Creates a htmlwidget summary of information for an entity extraction output from flipTextAnalysis.

Usage

EntityExtractionWidget(
  entity.percentages,
  variant.percentages,
  entity.counts,
  variant.counts,
  title,
  footer,
  empty.extraction
)

Arguments

entity.percentages

named numeric vector showing the percentage ocurrence of entity types in the named entity recognition detection.

variant.percentages

named numeric vector showing the percentage ocurrence of each variant for each entity type in the named entity recognition detection.

entity.counts

named numeric vector showing the raw counts of entity types in the named entity recognition detection.

variant.counts

named numeric vector showing the raw counts of each variant for each entity type in the named entity recognition detection.

title

The title to show at the top.

footer

Footer to show containing sample information.

empty.extraction

character giving the reason for a possible output with no entities. Returns NA if entities extracted.

Value

An htmlwidget containing tables showing the output from an entity extraction.

See Also

Box


Displayr/flipFormat documentation built on Aug. 28, 2024, 6:48 p.m.