Class NamedEntityEnricher

java.lang.Object
io.goobi.viewer.controller.model.alto.NamedEntityEnricher
All Implemented Interfaces:
TextEnricher

public class NamedEntityEnricher extends Object implements TextEnricher
TextEnricher implementation that wraps ALTO word tokens referenced by named-entity tags in interactive HTML buttons. Each button carries data attributes for the entity type, authority URI, and a pre-built search URL for further lookup.
  • Constructor Details

    • NamedEntityEnricher

      public NamedEntityEnricher()
  • Method Details

    • enrich

      public String enrich(String content, de.intranda.digiverso.ocr.alto.model.structureclasses.lineelements.LineElement element)
      Specified by:
      enrich in interface TextEnricher