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

How to use
BrainRegion
in
ch.epfl.bbp.uima.types

Best Java code snippets using ch.epfl.bbp.uima.types.BrainRegion (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 BrainRegion(JCas jcas, int begin, int end) {
 super(jcas);
 setBegin(begin);
 setEnd(end);
 readObject();
}   
origin: ch.epfl.bbp.nlp/bluima_regions

  } else if (label.equals(TARGET_O) && begin != null) {
    new BrainRegion(jCas, begin, end).addToIndexes();
    begin = null;
  new BrainRegion(jCas, begin, end).addToIndexes();
new Gold(jCas, brGold.getBegin(), brGold.getEnd())
    .addToIndexes();
origin: ch.epfl.bbp.nlp/bluima_regions

  @Override
  public void process(JCas jCas) throws AnalysisEngineProcessException {

    for (BrainRegion br : select(jCas, BrainRegion.class)) {

      BrainRegionDictTerm brdt = new BrainRegionDictTerm(jCas,
          br.getBegin(), br.getEnd());
      brdt.setEntityId(br.getCoveredText().replaceAll("[\r\t\n]", ""));
      brdt.addToIndexes();
    }
  }
}
origin: ch.epfl.bbp.nlp/bluima_typesystem

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

  return "BrainRegion[" + b.getCoveredText() + "]";
} else if (o instanceof Concentration) {
  Concentration c = (Concentration) o;
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 BrainRegion(int addr, TOP_Type type) {
 super(addr, type);
 readObject();
}

origin: ch.epfl.bbp.nlp/bluima_typesystem

/** @generated
 * @param jcas JCas to which this Feature Structure belongs 
 */
public BrainRegion(JCas jcas) {
 super(jcas);
 readObject();   
} 
ch.epfl.bbp.uima.typesBrainRegion

Javadoc

Updated by JCasGen Sat Mar 07 22:05:56 CET 2015 XML source: /Users/richarde/dev/bluebrain/git/Bluima/modules/bluima_typesystem/target/jcasgen/typesystem.xml

Most used methods

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

Popular in Java

  • Reactive rest calls using spring rest template
  • setContentView (Activity)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • setScale (BigDecimal)
  • FileNotFoundException (java.io)
    Thrown when a file specified by a program cannot be found.
  • IOException (java.io)
    Signals a general, I/O-related error. Error details may be specified when calling the constructor, a
  • RandomAccessFile (java.io)
    Allows reading from and writing to a file in a random-access manner. This is different from the uni-
  • SocketException (java.net)
    This SocketException may be thrown during socket creation or setting options, and is the superclass
  • Timestamp (java.sql)
    A Java representation of the SQL TIMESTAMP type. It provides the capability of representing the SQL
  • DateFormat (java.text)
    Formats or parses dates and times.This class provides factories for obtaining instances configured f
  • Top plugins for WebStorm
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