goxr3plus / java-google-speech-api

🙊 Speech Recognition , Text To Speech , Google Translate
https://github.com/goxr3plus/java-google-speech-api
GNU General Public License v3.0
79 stars 36 forks source link

Maven and import (user) problem #9

Closed HelgeStenstrom closed 5 years ago

HelgeStenstrom commented 5 years ago

I have a pom.xml file which includes the repository and dependency given in the readme.md file. It seems to work.

        <dependency>
            <groupId>com.github.goxr3plus</groupId>
            <artifactId>java-google-speech-api</artifactId>
            <version>8.0.0</version>
        </dependency>

But I cannot

import com.goxr3plus.speech.util.Complex;

only

import com.darkprograms.speech.util.Complex;

To me, it looks that i'm not getting the files of this repository, but probably those of an upstream library. What am I doing wrong?

Second issue, unrelated or not: Using the Maven dependency, I can only get version 8.0.0, not version V2.1.

goxr3plus commented 5 years ago

Hm have i release V2.1? 8.0.0 is the latest one that should be used, i fixed some stuff.

Ow abiut the other think, did changed the packages before or after the release od 8.0.0.

It's been a long time.

Is the library working for you?

HelgeStenstrom commented 5 years ago

I shouldn't combine two issues.

The version issue: XR3Player currently has this:

        <dependency>
            <groupId>com.github.goxr3plus</groupId>
            <artifactId>java-google-speech-api</artifactId>
            <version>V2.1</version>
        </dependency>
HelgeStenstrom commented 5 years ago

Is the library working for me? I'm not really trying to use it at this time. Just checking if I can tell Maven to depend on it. And as far as my unit test of Complex(1,0) is concerned, yes it works. (Except that hashCode should be overridden, but that's a separate (upstream) issue.

HelgeStenstrom commented 5 years ago

Now I understand one of the issues that I wrote about 7 days ago. I can only import com.darkprograms.speech.util.Complex; not import com.goxr3plus.speech.util.Complex; because I'm using release 8.0.0 (or the older V2.1), while the package structure has been changed since the last release, replacing darkprograms with goxr3plus.

goxr3plus commented 5 years ago

Whatever you want we can fix :)

On Sun, 5 May 2019, 22:05 Helge Stenström, notifications@github.com wrote:

Closed #9 https://github.com/goxr3plus/java-google-speech-api/issues/9.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/goxr3plus/java-google-speech-api/issues/9#event-2319739644, or mute the thread https://github.com/notifications/unsubscribe-auth/AE3OFQFMFNHWXK6JD5D2BLLPT4VWBANCNFSM4HI6HKQQ .