On 3. Nov 2022, at 16:29, Richard Eckart de Castilho <[email protected]> wrote:
> 
> I'm trying to update ClearTK to a recent OpenNLP version. The version that 
> was used so far was 1.5.3.
> In 1.5.3, the class `RealValueFileEventStream` had a `main` method that is 
> gone in later versions.
> 
> https://github.com/apache/opennlp/blob/opennlp-1.5.3-rc3/opennlp-maxent/src/main/java/opennlp/model/RealValueFileEventStream.java#L95-L116

I think I found a solution - just in case somebody has the same issue in the 
future.

https://github.com/ClearTK/cleartk/blob/cb505ef8f5bead4613c63cf279b4c76b4b9a180b/cleartk-ml-opennlp-maxent/src/main/java/org/cleartk/ml/opennlp/maxent/MaxentClassifierBuilder_ImplBase.java#L68-L99

Cheers,

-- Richard


Reply via email to