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

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

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

origin: inception-project/inception

  @Override
  public String toString()
  {
    return new ToStringBuilder(this).append("id", id).append("recommenderId", recommenderId)
        .append("recommenderName", recommenderName).append("layerId", layerId)
        .append("feature", feature).append("documentName", documentName)
        .append("begin", begin).append("end", end)
        .append("coveredText", coveredText).append("label", label)
        .append("uiLabel", uiLabel).append("confidence", confidence)
        .append("visible", isVisible())
        .append("reasonForHiding", getReasonForHiding()).toString();
  }
}
origin: inception-project/inception

if (top.isVisible()) {
  return singletonMap(top.getRecommenderId(), new Delta(top));
origin: de.tudarmstadt.ukp.inception.app/inception-active-learning

@Override
public boolean isSuggestionVisible(LearningRecord aRecord)
{
  User user = userService.get(aRecord.getUser());
  List<SuggestionGroup> suggestions = getSuggestions(user,
      aRecord.getLayer());
  for (SuggestionGroup listOfAO : suggestions) {
    if (listOfAO.stream().anyMatch(suggestion -> 
        suggestion.getDocumentName().equals(aRecord.getSourceDocument().getName()) && 
        suggestion.getFeature().equals(aRecord.getAnnotationFeature().getName()) && 
        suggestion.getLabel().equals(aRecord.getAnnotation()) && 
        suggestion.getBegin() == aRecord.getOffsetCharacterBegin() && 
        suggestion.getEnd() == aRecord.getOffsetCharacterEnd() &&
        suggestion.isVisible())
    ) {
      return true;
    }
  }
  return false;
}

origin: inception-project/inception

@Override
public boolean isSuggestionVisible(LearningRecord aRecord)
{
  User user = userService.get(aRecord.getUser());
  List<SuggestionGroup> suggestions = getSuggestions(user,
      aRecord.getLayer());
  for (SuggestionGroup listOfAO : suggestions) {
    if (listOfAO.stream().anyMatch(suggestion -> 
        suggestion.getDocumentName().equals(aRecord.getSourceDocument().getName()) && 
        suggestion.getFeature().equals(aRecord.getAnnotationFeature().getName()) && 
        suggestion.getLabel().equals(aRecord.getAnnotation()) && 
        suggestion.getBegin() == aRecord.getOffsetCharacterBegin() && 
        suggestion.getEnd() == aRecord.getOffsetCharacterEnd() &&
        suggestion.isVisible())
    ) {
      return true;
    }
  }
  return false;
}

origin: inception-project/inception

if (!pref.isShowAllPredictions() && !ao.isVisible()) {
  continue;
        "Description: " + ao.getUiLabel()));
  if (pref.isShowAllPredictions() && !ao.isVisible()) {
    vdoc.add(new VComment(vid, VCommentType.INFO,
        "Hidden: " + ao.getReasonForHiding()));
origin: de.tudarmstadt.ukp.inception.app/inception-active-learning

if (s.isVisible()) {
  records.stream()
      .filter(r -> r.getSourceDocument().getName().equals(s.getDocumentName())
origin: inception-project/inception

if (s.isVisible()) {
  records.stream()
      .filter(r -> r.getSourceDocument().getName().equals(s.getDocumentName())
de.tudarmstadt.ukp.inception.recommendation.api.modelAnnotationSuggestionisVisible

Popular methods of AnnotationSuggestion

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

Popular in Java

  • Finding current android device location
  • notifyDataSetChanged (ArrayAdapter)
  • onCreateOptionsMenu (Activity)
  • requestLocationUpdates (LocationManager)
  • 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
  • HttpServer (com.sun.net.httpserver)
    This class implements a simple HTTP server. A HttpServer is bound to an IP address and port number a
  • PrintWriter (java.io)
    Wraps either an existing OutputStream or an existing Writerand provides convenience methods for prin
  • HashMap (java.util)
    HashMap is an implementation of Map. All optional operations are supported.All elements are permitte
  • Timer (java.util)
    Timers schedule one-shot or recurring TimerTask for execution. Prefer java.util.concurrent.Scheduled
  • Project (org.apache.tools.ant)
    Central representation of an Ant project. This class defines an Ant project with all of its targets,
  • 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