Skip to content

Commit

Permalink
OPENNLP-1564 - Fix the last remaining eval test after change of pos t…
Browse files Browse the repository at this point in the history
…ag format default
  • Loading branch information
rzo1 committed May 30, 2024
1 parent 7a7e013 commit df5bdfb
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,8 @@ void evalChunkerModel() throws Exception {
MessageDigest digest = MessageDigest.getInstance(HASH_ALGORITHM);

POSTagger tagger = new POSTaggerME(new POSModel(
new File(getOpennlpDataDir(), "models-sf/en-pos-perceptron.bin")));
new File(getOpennlpDataDir(), "models-sf/en-pos-perceptron.bin")),
POSTagFormat.PENN);

Chunker chunker = new ChunkerME(new ChunkerModel(
new File(getOpennlpDataDir(), "models-sf/en-chunker.bin")));
Expand Down

0 comments on commit df5bdfb

Please sign in to comment.