Skip to content

Commit

Permalink
uima: increase batch size for better efficiency
Browse files Browse the repository at this point in the history
  • Loading branch information
jgrivolla committed Oct 16, 2015
1 parent f64d73a commit a70fba3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ public class SpotlightAnnotator extends JCasAnnotator_ImplBase {
@ConfigurationParameter(name=PARAM_ALL_CANDIDATES, defaultValue="false", description="output all candidate annotations")
private boolean ALL_CANDIDATES;

private final int BATCH_SIZE = 10;
private final int BATCH_SIZE = 100;

public void process(JCas aJCas) throws AnalysisEngineProcessException {
ScoreComparator scoreComparator = new ScoreComparator();
Expand Down

0 comments on commit a70fba3

Please sign in to comment.