Tabnine Logo
AnnotationSuggestion.getLayerId
Code IndexAdd Tabnine to your IDE (free)

How to use
getLayerId
method
in
de.tudarmstadt.ukp.inception.recommendation.api.model.AnnotationSuggestion

Best Java code snippets using de.tudarmstadt.ukp.inception.recommendation.api.model.AnnotationSuggestion.getLayerId (Showing top 10 results out of 315)

origin: inception-project/inception

public SuggestionGroup(AnnotationSuggestion... aItems)
{
  suggestions = new ArrayList<>(asList(aItems));
  sorted = suggestions.size() < 2;
  if (!suggestions.isEmpty()) {
    offset = suggestions.get(0).getOffset();
    feature = get(0).getFeature();
    layerId = get(0).getLayerId();
    documentName = get(0).getDocumentName();
  }
}
origin: inception-project/inception

public GroupKey(AnnotationSuggestion aSuggestion)
{
  super();
  begin = aSuggestion.getBegin();
  end = aSuggestion.getEnd();
  feature = aSuggestion.getFeature();
  layerId = aSuggestion.getLayerId();
}
origin: inception-project/inception

    "All suggestions in a group must come from the same document: expected [%s] but got [%s]",
    representative.getDocumentName(), aSuggestion.getDocumentName());
Validate.isTrue(representative.getLayerId() == aSuggestion.getLayerId(),
    "All suggestions in a group must be on the same layer: expected [%d] but got [%d]",
    representative.getLayerId(), aSuggestion.getLayerId());
Validate.isTrue(representative.getFeature().equals(aSuggestion.getFeature()),
    "All suggestions in a group must be for the same feature: expected [%s] but got [%s]",
offset = aSuggestion.getOffset();
feature = aSuggestion.getFeature();
layerId = aSuggestion.getLayerId();
documentName = aSuggestion.getDocumentName();
origin: de.tudarmstadt.ukp.inception.app/inception-active-learning

private List<AnnotationSuggestion> getMatchingSuggestion(List<SuggestionGroup> aSuggestions,
    AnnotationSuggestion aSuggestion)
{
  return getMatchingSuggestion(aSuggestions, aSuggestion.getDocumentName(),
      aSuggestion.getLayerId(), aSuggestion.getFeature(), aSuggestion.getBegin(),
      aSuggestion.getEnd(), aSuggestion.getLabel());
}
origin: inception-project/inception

private List<AnnotationSuggestion> getMatchingSuggestion(List<SuggestionGroup> aSuggestions,
    AnnotationSuggestion aSuggestion)
{
  return getMatchingSuggestion(aSuggestions, aSuggestion.getDocumentName(),
      aSuggestion.getLayerId(), aSuggestion.getFeature(), aSuggestion.getBegin(),
      aSuggestion.getEnd(), aSuggestion.getLabel());
}
origin: de.tudarmstadt.ukp.inception.app/inception-active-learning

if (
    acceptedSuggestion.getOffset().equals(suggestion.getOffset()) && 
    vid.getLayerId() == suggestion.getLayerId() && 
    acceptedSuggestion.getFeature().equals(suggestion.getFeature())
) {
origin: inception-project/inception

if (
    acceptedSuggestion.getOffset().equals(suggestion.getOffset()) && 
    vid.getLayerId() == suggestion.getLayerId() && 
    acceptedSuggestion.getFeature().equals(suggestion.getFeature())
) {
origin: de.tudarmstadt.ukp.inception.app/inception-active-learning

AnnotationLayer layer = annotationService.getLayer(suggestion.getLayerId());
AnnotationFeature feature = annotationService.getFeature(suggestion.getFeature(), layer);
recommendationService.upsertFeature(annotationService, sourceDoc, username, jCas, layer,
origin: inception-project/inception

AnnotationLayer layer = annotationService.getLayer(suggestion.getLayerId());
AnnotationFeature feature = annotationService.getFeature(suggestion.getFeature(), layer);
int address = recommendationService.upsertFeature(annotationService, aState.getDocument(),
origin: inception-project/inception

AnnotationLayer layer = annotationService.getLayer(suggestion.getLayerId());
AnnotationFeature feature = annotationService.getFeature(suggestion.getFeature(), layer);
recommendationService.upsertFeature(annotationService, sourceDoc, username, jCas, layer,
de.tudarmstadt.ukp.inception.recommendation.api.modelAnnotationSuggestiongetLayerId

Popular methods of AnnotationSuggestion

  • getBegin
  • getConfidence
  • getEnd
  • getFeature
  • getLabel
  • getRecommenderId
  • isVisible
  • getCoveredText
  • getDocumentName
  • getId
  • getOffset
  • getReasonForHiding
  • getOffset,
  • getReasonForHiding,
  • getRecommenderName,
  • getVID,
  • hide,
  • <init>,
  • equals,
  • getUiLabel,
  • show

Popular in Java

  • Running tasks concurrently on multiple threads
  • compareTo (BigDecimal)
  • getSystemService (Context)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • Table (com.google.common.collect)
    A collection that associates an ordered pair of keys, called a row key and a column key, with a sing
  • BufferedWriter (java.io)
    Wraps an existing Writer and buffers the output. Expensive interaction with the underlying reader is
  • FileReader (java.io)
    A specialized Reader that reads from a file in the file system. All read requests made by calling me
  • Executor (java.util.concurrent)
    An object that executes submitted Runnable tasks. This interface provides a way of decoupling task s
  • Project (org.apache.tools.ant)
    Central representation of an Ant project. This class defines an Ant project with all of its targets,
  • Scheduler (org.quartz)
    This is the main interface of a Quartz Scheduler. A Scheduler maintains a registry of org.quartz.Job
  • Top Vim 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