I just added an example:
https://github.com/tballison/tika-2_0-client-examples/blob/master/optimaize/src/test/java/TestOptimaizeBasic.java

Take a look at the pom there.

I'm not sure I understand what you mean by OptimaizeLanguageDetector no
longer extending LanguageDetector?

https://github.com/apache/tika/blob/main/tika-langdetect/tika-langdetect-optimaize/src/main/java/org/apache/tika/langdetect/optimaize/OptimaizeLangDetector.java#L47

I can't think of a time when it didn't... help!

On Thu, Jan 7, 2021 at 6:28 PM Peter Kronenberg <[email protected]>
wrote:

> In my previous 1.25 code, I had
>
>
>
> LanguageDetector detector = *new *OptimaizeLangDetector();
> detector.loadModels();
>
>
>
>
>
> I had a Maven dependency on
>
> <*dependency*>
>     <*groupId*>com.optimaize.languagedetector</*groupId*>
>     <*artifactId*>language-detector</*artifactId*>
>     <*version*>0.6</*version*>
> </*dependency*>
>
>
>
> This doesn’t seem to work anymore, but I see that Tika now has
>
> <*dependency*>
>     <*groupId*>org.apache.tika</*groupId*>
>     <*artifactId*>tika-langdetect-optimaize</*artifactId*>
>     <*version*>2.0.0-SNAPSHOT</*version*>
> </*dependency*>
>
>
>
>
>
> But *OptimazieLangDetector* no longer extends *LanaguageDetector*.  How
> is this supposed to work?
>

Reply via email to