Tabnine Logo
Factuality.getWord
Code IndexAdd Tabnine to your IDE (free)

How to use
getWord
method
in
ixa.kaflib.Factuality

Best Java code snippets using ixa.kaflib.Factuality.getWord (Showing top 3 results out of 315)

origin: eu.fbk.pikes/pikes-rdf

private void processFactuality(final Factuality factuality) throws RDFHandlerException {
  // TODO: factuality should be better handled
  // Retrieve term and corresponding annotation
  final Term term = factuality.getWord();
  final Annotation ann = this.annotations.get(term.getId());
  // Abort if the annotation is missing or does not refer to a predicate
  if (ann == null || ann.predicateURI == null) {
    return;
  }
  // Emit a mention for the predicate extent
  final URI mentionURI = emitMention(ann.extent);
  // Emit a triple associating the factuality value to the predicate
  final String value = factuality.getMaxPart().getPrediction();
  emitFact(ann.predicateURI, KS.FACTUALITY, value, mentionURI, null);
}
origin: eu.fbk.pikes/pikes-rdf

if (this.sentenceIDs[factuality.getWord().getSent()]) {
  try {
    processFactuality(factuality);
origin: eu.fbk.pikes/pikes-resources

} else if (annotation instanceof Factuality) {
  final Factuality fact = (Factuality) annotation;
  return "factuality " + fact.getId() + " '" + fact.getWord().getStr() + "'";
} else if (annotation instanceof Coref) {
  return "coref " + ((Coref) annotation).getId();
ixa.kaflibFactualitygetWord

Popular methods of Factuality

  • getId
  • <init>
  • getMaxPart
  • addFactVal
  • addFactualityPart
  • getFactVals
  • getFactualityParts
  • getSpan
  • getSpanStr
  • getWFs

Popular in Java

  • Creating JSON documents from java classes using gson
  • getExternalFilesDir (Context)
  • getSupportFragmentManager (FragmentActivity)
  • findViewById (Activity)
  • IOException (java.io)
    Signals a general, I/O-related error. Error details may be specified when calling the constructor, a
  • URLConnection (java.net)
    A connection to a URL for reading or writing. For HTTP connections, see HttpURLConnection for docume
  • ResultSet (java.sql)
    An interface for an object which represents a database table entry, returned as the result of the qu
  • Time (java.sql)
    Java representation of an SQL TIME value. Provides utilities to format and parse the time's represen
  • Set (java.util)
    A Set is a data structure which does not allow duplicate elements.
  • Filter (javax.servlet)
    A filter is an object that performs filtering tasks on either the request to a resource (a servlet o
  • From CI to AI: The AI layer in your organization
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