Tabnine Logo
Abbreviation.getTextReference
Code IndexAdd Tabnine to your IDE (free)

How to use
getTextReference
method
in
de.julielab.jcore.types.Abbreviation

Best Java code snippets using de.julielab.jcore.types.Abbreviation.getTextReference (Showing top 5 results out of 315)

origin: de.julielab/jcore-jnet-ae

LOGGER.debug("ignoreLabel() - found JACRO-recognized abbreviations under this string: " + coveredText);
for (Abbreviation abbreviation : abbreviations) {
  if (abbreviation.getTextReference() != null
      && abbreviation.getCoveredText().matches(ABBREV_PATTERN)) {
    LOGGER.debug("ignoreLabel() - abbreviation: " + abbreviation.getCoveredText()
        + " introduced for: " + abbreviation.getTextReference().getCoveredText());
    return false; // should not be ignored
origin: de.julielab/jcore-lingpipe-gazetteer-ae

AbbreviationLongform textRef = abbr.getTextReference();
ConceptMention em = conceptMentionIndex.getFirst(textRef);
if (em == null) {
origin: de.julielab/jcore-lingpipe-gazetteer-ae

AbbreviationLongform fullFormAnnotation = abbrev.getTextReference();
LOGGER.debug("annotateAcronymsWithFullFormEntity() - checking abbreviation: " + abbrev.getCoveredText());
origin: de.julielab/jcore-jnet-ae

tokenRepresentation = abbreviation.getTextReference().getCoveredText();
List<Token> abbrevTokens = tokenIndex.search(abbreviation.getTextReference()).collect(Collectors.toList());
if (abbreviation.getTextReference().getCoveredText().length() > 0 && abbrevTokens.size() == 0) {
origin: de.julielab/jcore-jnet-ae

Abbreviation abbreviation = (Abbreviation) it.next();
acronyms.add(abbreviation);
fullforms.add(abbreviation.getTextReference());
de.julielab.jcore.types.Annotation fullform = abbreviation.getTextReference();
EntityMention abbreviationEntityMention = (EntityMention) entities.floor(abbreviation);
EntityMention fullFormEntityMention = (EntityMention) entities.floor(fullform);
de.julielab.jcore.typesAbbreviationgetTextReference

Javadoc

getter for textReference - gets Reference to the text span that contains the full form of the abbreviation/acronym

Popular methods of Abbreviation

  • getBegin
  • getCoveredText
  • getEnd
  • getDefinedHere
    getter for definedHere - gets The definedHere is true if the abbreviation/acronym is defined for the
  • readObject
    Write your own initialization here
  • setBegin
  • setEnd

Popular in Java

  • Making http post requests using okhttp
  • runOnUiThread (Activity)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • addToBackStack (FragmentTransaction)
  • URL (java.net)
    A Uniform Resource Locator that identifies the location of an Internet resource as specified by RFC
  • Callable (java.util.concurrent)
    A task that returns a result and may throw an exception. Implementors define a single method with no
  • HttpServletRequest (javax.servlet.http)
    Extends the javax.servlet.ServletRequest interface to provide request information for HTTP servlets.
  • Base64 (org.apache.commons.codec.binary)
    Provides Base64 encoding and decoding as defined by RFC 2045.This class implements section 6.8. Base
  • LogFactory (org.apache.commons.logging)
    Factory for creating Log instances, with discovery and configuration features similar to that employ
  • Runner (org.openjdk.jmh.runner)
  • Best plugins for Eclipse
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now