Tabnine Logo
Sentence
Code IndexAdd Tabnine to your IDE (free)

How to use
Sentence
in
de.julielab.jules.types

Best Java code snippets using de.julielab.jules.types.Sentence (Showing top 7 results out of 315)

origin: ch.epfl.bbp.nlp/bluima_typesystem

/** @generated
 * @param jcas JCas to which this Feature Structure belongs
 * @param begin offset to the begin spot in the SofA
 * @param end offset to the end spot in the SofA 
*/  
public Sentence(JCas jcas, int begin, int end) {
 super(jcas);
 setBegin(begin);
 setEnd(end);
 readObject();
}   
origin: ch.epfl.bbp.nlp/bluima_neuroner

    .append(sentence_id
        + "\t"
        + s.getCoveredText()
            .replaceAll("[\t\r\n]", " ") + "\n");
sentence_id++;
origin: ch.epfl.bbp.nlp/bluima_typesystem

/** Internal - constructor used by generator 
 * @generated
 * @param addr low level Feature Structure reference
 * @param type the type of this Feature Structure 
 */
public Sentence(int addr, TOP_Type type) {
 super(addr, type);
 readObject();
}

origin: ch.epfl.bbp.nlp/bluima_typesystem

 public FeatureStructure createFS(int addr, CASImpl cas) {
      if (Sentence_Type.this.useExistingInstance) {
       // Return eq fs instance if already created
      FeatureStructure fs = Sentence_Type.this.jcas.getJfsFromCaddr(addr);
      if (null == fs) {
       fs = new Sentence(addr, Sentence_Type.this);
       Sentence_Type.this.jcas.putJfsFromCaddr(addr, fs);
       return fs;
      }
      return fs;
  } else return new Sentence(addr, Sentence_Type.this);
  }
};
origin: ch.epfl.bbp.nlp/bluima_fusion

LOG.error("Viterbi failed for sentence '" + s.getCoveredText()
    + "' in pmid " + getHeaderDocId(jCas), e);
origin: ch.epfl.bbp.nlp/bluima_typesystem

/** @generated
 * @param jcas JCas to which this Feature Structure belongs 
 */
public Sentence(JCas jcas) {
 super(jcas);
 readObject();   
} 
origin: ch.epfl.bbp.nlp/bluima_typesystem

return "Sentence[" + s.getCoveredText() + "]";
de.julielab.jules.typesSentence

Javadoc

This annotation marks the span of a sentence. Updated by JCasGen Sat Mar 07 22:05:57 CET 2015 XML source: /Users/richarde/dev/bluebrain/git/Bluima/modules/bluima_typesystem/target/jcasgen/typesystem.xml

Most used methods

  • getCoveredText
  • <init>
  • readObject
    Write your own initialization here
  • setBegin
  • setEnd

Popular in Java

  • Finding current android device location
  • addToBackStack (FragmentTransaction)
  • onRequestPermissionsResult (Fragment)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • HttpServer (com.sun.net.httpserver)
    This class implements a simple HTTP server. A HttpServer is bound to an IP address and port number a
  • FileNotFoundException (java.io)
    Thrown when a file specified by a program cannot be found.
  • PrintStream (java.io)
    Fake signature of an existing Java class.
  • Enumeration (java.util)
    A legacy iteration interface.New code should use Iterator instead. Iterator replaces the enumeration
  • TimerTask (java.util)
    The TimerTask class represents a task to run at a specified time. The task may be run once or repeat
  • TimeUnit (java.util.concurrent)
    A TimeUnit represents time durations at a given unit of granularity and provides utility methods to
  • 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