Package | Description |
---|---|
org.datavec.nlp.movingwindow |
Modifier and Type | Method and Description |
---|---|
static Window |
Windows.windowForWordInPosition(int windowSize,
int wordPos,
List<String> sentence)
Creates a sliding window from text
|
Modifier and Type | Method and Description |
---|---|
static List<Window> |
Windows.windows(InputStream words,
int windowSize)
Constructs a list of window of size windowSize.
|
static List<Window> |
Windows.windows(InputStream words,
TokenizerFactory tokenizerFactory,
int windowSize)
Constructs a list of window of size windowSize.
|
static List<Window> |
Windows.windows(List<String> words,
int windowSize)
Constructs a list of window of size windowSize
|
static List<Window> |
Windows.windows(String words)
Constructs a list of window of size windowSize.
|
static List<Window> |
Windows.windows(String words,
int windowSize)
Constructs a list of window of size windowSize.
|
static List<Window> |
Windows.windows(String words,
TokenizerFactory tokenizerFactory)
Constructs a list of window of size windowSize.
|
static List<Window> |
Windows.windows(String words,
TokenizerFactory tokenizerFactory,
int windowSize)
Constructs a list of window of size windowSize.
|
Copyright © 2020. All rights reserved.