Tabnine Logo
WebannoTsv3Writer.getSubUnits
Code IndexAdd Tabnine to your IDE (free)

How to use
getSubUnits
method
in
de.tudarmstadt.ukp.clarin.webanno.tsv.WebannoTsv3Writer

Best Java code snippets using de.tudarmstadt.ukp.clarin.webanno.tsv.WebannoTsv3Writer.getSubUnits (Showing top 18 results out of 315)

origin: webanno/webanno

private AnnotationUnit getFirstUnit(AnnotationUnit aUnit)
{
  SubTokenAnno sta = new SubTokenAnno();
  sta.setBegin(aUnit.begin);
  sta.setEnd(aUnit.end);
  sta.setText(aUnit.token);
  Set<AnnotationUnit> sus = new LinkedHashSet<>();
  AnnotationUnit firstUnit = null;
  for (AnnotationUnit u : getSubUnits(sta, sus)) {
    firstUnit = u;
    break;
  }
  return firstUnit;
}
origin: de.tudarmstadt.ukp.clarin.webanno/webanno-tsv

private AnnotationUnit getFirstUnit(AnnotationUnit aUnit)
{
  SubTokenAnno sta = new SubTokenAnno();
  sta.setBegin(aUnit.begin);
  sta.setEnd(aUnit.end);
  sta.setText(aUnit.token);
  Set<AnnotationUnit> sus = new LinkedHashSet<>();
  AnnotationUnit firstUnit = null;
  for (AnnotationUnit u : getSubUnits(sta, sus)) {
    firstUnit = u;
    break;
  }
  return firstUnit;
}
origin: de.tudarmstadt.ukp.clarin.webanno/webanno-io-tsv

private AnnotationUnit getFirstUnit(AnnotationUnit aUnit)
{
  SubTokenAnno sta = new SubTokenAnno();
  sta.setBegin(aUnit.begin);
  sta.setEnd(aUnit.end);
  sta.setText(aUnit.token);
  Set<AnnotationUnit> sus = new LinkedHashSet<>();
  AnnotationUnit firstUnit = null;
  for (AnnotationUnit u : getSubUnits(sta, sus)) {
    firstUnit = u;
    break;
  }
  return firstUnit;
}
origin: de.tudarmstadt.ukp.clarin.webanno/webanno-tsv

private AnnotationUnit getFirstUnit(AnnotationFS targetFs) {
  SubTokenAnno sta = new SubTokenAnno();
  sta.setBegin(targetFs.getBegin());
  sta.setEnd(targetFs.getEnd());
  sta.setText(targetFs.getCoveredText());
  Set<AnnotationUnit> sus = new LinkedHashSet<>();
  AnnotationUnit firstUnit = null;
  for (AnnotationUnit u : getSubUnits(sta, sus)) {
    firstUnit = u;
    break;
  }
  return firstUnit;
}
origin: de.tudarmstadt.ukp.clarin.webanno/webanno-io-tsv

private AnnotationUnit getFirstUnit(AnnotationFS targetFs)
{
  SubTokenAnno sta = new SubTokenAnno();
  sta.setBegin(targetFs.getBegin());
  sta.setEnd(targetFs.getEnd());
  sta.setText(targetFs.getCoveredText());
  Set<AnnotationUnit> sus = new LinkedHashSet<>();
  AnnotationUnit firstUnit = null;
  for (AnnotationUnit u : getSubUnits(sta, sus)) {
    firstUnit = u;
    break;
  }
  return firstUnit;
}
origin: webanno/webanno

private AnnotationUnit getFirstUnit(AnnotationFS targetFs)
{
  SubTokenAnno sta = new SubTokenAnno();
  sta.setBegin(targetFs.getBegin());
  sta.setEnd(targetFs.getEnd());
  sta.setText(targetFs.getCoveredText());
  Set<AnnotationUnit> sus = new LinkedHashSet<>();
  AnnotationUnit firstUnit = null;
  for (AnnotationUnit u : getSubUnits(sta, sus)) {
    firstUnit = u;
    break;
  }
  return firstUnit;
}
origin: webanno/webanno

sta.setText(fs.getCoveredText());
Set<AnnotationUnit> sus = new LinkedHashSet<>();
for (AnnotationUnit newUnit : getSubUnits(sta, sus)) {
  ambigUnits.get(type.getName()).put(newUnit, true);
origin: de.tudarmstadt.ukp.clarin.webanno/webanno-io-tsv

sta.setText(fs.getCoveredText());
Set<AnnotationUnit> sus = new LinkedHashSet<>();
for (AnnotationUnit newUnit : getSubUnits(sta, sus)) {
  ambigUnits.get(type.getName()).put(newUnit, true);
origin: de.tudarmstadt.ukp.clarin.webanno/webanno-tsv

sta.setText(fs.getCoveredText());
Set<AnnotationUnit> sus = new LinkedHashSet<>();
for (AnnotationUnit newUnit : getSubUnits(sta, sus)) {
  ambigUnits.get(type.getName()).put(newUnit, true);
origin: de.tudarmstadt.ukp.clarin.webanno/webanno-tsv

boolean isFirst = true;
Set<AnnotationUnit> sus = new LinkedHashSet<>();
for (AnnotationUnit newUnit : getSubUnits(sta, sus)) {
  setSpanAnnoPerFeature(annotationsPertype, type, fs, newUnit, isMultiToken, isFirst);
  isFirst = false;
origin: webanno/webanno

boolean isFirst = true;
Set<AnnotationUnit> sus = new LinkedHashSet<>();
for (AnnotationUnit newUnit : getSubUnits(sta, sus)) {
  setSpanAnnoPerFeature(annotationsPertype, type, fs, newUnit, isMultiToken,
      isFirst);
origin: de.tudarmstadt.ukp.clarin.webanno/webanno-io-tsv

boolean isFirst = true;
Set<AnnotationUnit> sus = new LinkedHashSet<>();
for (AnnotationUnit newUnit : getSubUnits(sta, sus)) {
  setChainAnnoPerFeature(aAnnotationsPertype, aType, aFs, newUnit, aLinkNo, achainNo,
      isMultiToken, isFirst);
origin: de.tudarmstadt.ukp.clarin.webanno/webanno-tsv

boolean isFirst = true;
Set<AnnotationUnit> sus = new LinkedHashSet<>();
for (AnnotationUnit newUnit : getSubUnits(sta, sus)) {
  setChainAnnoPerFeature(aAnnotationsPertype, aType, aFs, newUnit, aLinkNo, achainNo, isMultiToken,
      isFirst);
origin: webanno/webanno

boolean isFirst = true;
Set<AnnotationUnit> sus = new LinkedHashSet<>();
for (AnnotationUnit newUnit : getSubUnits(sta, sus)) {
  setChainAnnoPerFeature(aAnnotationsPertype, aType, aFs, newUnit, aLinkNo, achainNo,
      isMultiToken, isFirst);
origin: de.tudarmstadt.ukp.clarin.webanno/webanno-io-tsv

boolean isFirst = true;
Set<AnnotationUnit> sus = new LinkedHashSet<>();
for (AnnotationUnit newUnit : getSubUnits(sta, sus)) {
  setSpanAnnoPerFeature(annotationsPertype, type, fs, newUnit, isMultiToken,
      isFirst);
origin: de.tudarmstadt.ukp.clarin.webanno/webanno-io-tsv

getSubUnits(aSTA, aSubUnits);
getSubUnits(aSTA, aSubUnits);
origin: de.tudarmstadt.ukp.clarin.webanno/webanno-tsv

getSubUnits(aSTA, aSubUnits);
getSubUnits(aSTA, aSubUnits);
origin: webanno/webanno

getSubUnits(aSTA, aSubUnits);
getSubUnits(aSTA, aSubUnits);
de.tudarmstadt.ukp.clarin.webanno.tsvWebannoTsv3WritergetSubUnits

Popular methods of WebannoTsv3Writer

  • replaceEscapeChars
  • addChinFeatureAnno
  • getFirstUnit
  • getNextUnitBegin
  • getOutputStream
  • getRefId
    Annotations of same type those: 1) crosses multiple sentences AND 2) repeated on the same unit (ev
  • getUnit
  • isMultiToken
  • isMultipleTokenAnnotation
    If there is at least one non-sub-token annotation whose begin is larger than this one, it is a multi
  • setAmbiguity
  • setAnnoFeature
  • setChainAnnoPerFeature
  • setAnnoFeature,
  • setChainAnnoPerFeature,
  • setChainAnnotation,
  • setLinkMaps,
  • setRelationAnnoPerFeature,
  • setRelationAnnotation,
  • setSlotLinkTypes,
  • setSpanAnnoPerFeature,
  • setSpanAnnotation

Popular in Java

  • Reading from database using SQL prepared statement
  • scheduleAtFixedRate (ScheduledExecutorService)
  • getExternalFilesDir (Context)
  • compareTo (BigDecimal)
  • Component (java.awt)
    A component is an object having a graphical representation that can be displayed on the screen and t
  • IOException (java.io)
    Signals a general, I/O-related error. Error details may be specified when calling the constructor, a
  • String (java.lang)
  • SSLHandshakeException (javax.net.ssl)
    The exception that is thrown when a handshake could not be completed successfully.
  • Response (javax.ws.rs.core)
    Defines the contract between a returned instance and the runtime when an application needs to provid
  • Table (org.hibernate.mapping)
    A relational table
  • Top PhpStorm plugins
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