Package it.unimi.di.big.mg4j.document
Class WikipediaDocumentCollection.WhitespaceWordReader
- java.lang.Object
-
- java.io.Reader
-
- it.unimi.dsi.io.FastBufferedReader
-
- it.unimi.di.big.mg4j.document.WikipediaDocumentCollection.WhitespaceWordReader
-
- All Implemented Interfaces:
WordReader
,Closeable
,Serializable
,AutoCloseable
,Readable
- Enclosing class:
- WikipediaDocumentCollection
public static class WikipediaDocumentCollection.WhitespaceWordReader extends FastBufferedReader
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class it.unimi.dsi.io.FastBufferedReader
avail, buffer, bufferSize, DEFAULT_BUFFER_SIZE, pos, reader, wordConstituents
-
-
Constructor Summary
Constructors Constructor Description WhitespaceWordReader()
-
Method Summary
Modifier and Type Method Description protected boolean
isWordConstituent(char c)
-
Methods inherited from class it.unimi.dsi.io.FastBufferedReader
close, copy, next, noMoreCharacters, read, read, readLine, setReader, skip, toSpec, toString
-
Methods inherited from class java.io.Reader
mark, markSupported, nullReader, read, read, ready, reset, transferTo
-
-
-
-
Method Detail
-
isWordConstituent
protected boolean isWordConstituent(char c)
- Overrides:
isWordConstituent
in classFastBufferedReader
-
-