jerry317395616 opened a new pull request, #1171:
URL: https://github.com/apache/opennlp/pull/1171

   ## Summary
   
   - use the shared MaxEnt algorithm default when `NameFinderME.train` receives 
no algorithm
   - remove the obsolete OPENNLP-1742 FIXME and the now-unused `AlgorithmType` 
import
   - assert the default algorithm in `NameFinderMETest`
   - keep the date-span regression suite on its established Perceptron trainer 
so its semantic expectations remain independent of the production default
   
   ## Investigation
   
   With the existing date-test parameters, MaxEnt predicts `im März 2024` 
instead of the annotated `März 2024`. Lowering the cutoff from 3 to 0 also 
caused two English date cases to disappear, and raising iterations from 150 to 
300 did not correct the German boundary. The expected spans are therefore 
unchanged; the date suite now declares the trainer it was designed around.
   
   ## Validation
   
   - `mvn -pl opennlp-core/opennlp-runtime -am 
-Dtest=NameFinderMEWithDatesTest,NameFinderMETest test` — 23 tests, 0 failures
   - `mvn -pl opennlp-core/opennlp-runtime -am test` — runtime: 1323 tests, 0 
failures, 0 errors, 1 skipped


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to