public class WordsListToVocabWordsFunction extends java.lang.Object implements org.apache.spark.api.java.function.Function<Pair<java.util.List<java.lang.String>,java.util.concurrent.atomic.AtomicLong>,java.util.List<VocabWord>>
Constructor and Description |
---|
WordsListToVocabWordsFunction(org.apache.spark.broadcast.Broadcast<VocabCache<VocabWord>> vocabCacheBroadcast) |
Modifier and Type | Method and Description |
---|---|
java.util.List<VocabWord> |
call(Pair<java.util.List<java.lang.String>,java.util.concurrent.atomic.AtomicLong> pair) |
public WordsListToVocabWordsFunction(org.apache.spark.broadcast.Broadcast<VocabCache<VocabWord>> vocabCacheBroadcast)