Importing libraries doesn't work

I i’m trying to use deeplearning4j, but it just doesn’t work.

//import org.deeplearning4j.text.sentenceiterator.BasicLineIterator;
//import org.deeplearning4j.text.sentenceiterator.SentenceIterator;
//import org.deeplearning4j.text.tokenization.tokenizer.preprocessor.CommonPreprocessor;
//import org.deeplearning4j.text.tokenization.tokenizerfactory.DefaultTokenizerFactory;
//import org.deeplearning4j.text.tokenization.tokenizerfactory.TokenizerFactory;
//import org.deeplearning4j.models.word2vec.Word2Vec;
//import org.deeplearning4j.models.word2vec.wordstore.inmemory.InMemoryLookupCache;

None of these imports works


<project xmlns="" xmlns:xsi="" xsi:schemaLocation="">

Yea, it’s a Minecraft plugin. I don’t think that would make any difference.
Can someone help me find the issue why none of the imports in text and models work?

From what I can see, libraries exist, but not “text” and “models”:

@ItsVaidas you’re using scope provided for some reason…I"m not sure what prompted you to do that but please remove that and try again. It appears you’re missing deeplearning4j-nlp as well. Please ensure you add that with the same version.

Dl4j is a lot of smaller libraries under 1 mono repo. You can’t just add 2 dependencies to your project. You need to know what you need and why. If you need more specific help on that front please feel free to ask.

A more general tip for you here is just to use

You can type fc:org.deeplearning4j.models.word2vec.Word2Vec

or any org. whatever class to get an idea of where a library can be found.