Skip to content

Commit

Permalink
#3969 - Review and improve visibility calculation code
Browse files Browse the repository at this point in the history
- Fix JavaDoc issues
  • Loading branch information
reckart committed Apr 23, 2023
1 parent 2eec392 commit 0301fb1
Showing 1 changed file with 8 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -165,13 +165,8 @@ Optional<EvaluatedRecommender> getEvaluatedRecommender(User aSessionOwner,
* the layer to upsert
* @param aFeature
* the feature on the layer that should be upserted
* @param aValue
* the new value
* @param aBegin
* the position of the annotation (in case it is created)
* @param aEnd
* the position of the annotation (in case it is created)
*
* @param aSuggestion
* the suggestion
* @return the created/updated annotation.
* @throws AnnotationException
* if there was an annotation-level problem
Expand All @@ -193,10 +188,12 @@ AnnotationFS upsertRelationFeature(SourceDocument aDocument, String aUsername, C
* the project to compute the predictions for.
* @param aDocuments
* the documents to compute the predictions for.
* @param aDataOwner
* the owner of the annotations.
* @return the new predictions.
*/
Predictions computePredictions(User aSessionOwner, Project aProject,
List<SourceDocument> aDocuments, String aDocumentOwner);
List<SourceDocument> aDocuments, String aDataOwner);

/**
* Compute predictions.
Expand All @@ -207,6 +204,8 @@ Predictions computePredictions(User aSessionOwner, Project aProject,
* the project to compute the predictions for.
* @param aCurrentDocument
* the document to compute the predictions for.
* @param aDataOwner
* the owner of the annotations.
* @param aInherit
* any documents for which to inherit the predictions from a previous run
* @param aPredictionBegin
Expand All @@ -216,7 +215,7 @@ Predictions computePredictions(User aSessionOwner, Project aProject,
* @return the new predictions.
*/
Predictions computePredictions(User aSessionOwner, Project aProject,
SourceDocument aCurrentDocument, String aDocumentOwner, List<SourceDocument> aInherit,
SourceDocument aCurrentDocument, String aDataOwner, List<SourceDocument> aInherit,
int aPredictionBegin, int aPredictionEnd);

void calculateSpanSuggestionVisibility(SourceDocument aDocument, CAS aCas, String aUser,
Expand Down

0 comments on commit 0301fb1

Please sign in to comment.