reads the next document 's worth of text from the reader and turns it into a document . default implementation calls #readnextdocumenttext and passes it to #parsedocumenttext to create the document.subclasses may wish to override either or both of those methods to handle custom formats of document collections and individual documents respectively . this method can also be overridden in its entirety to provide custom reading and construction of documents from input text . concode_field_sep BufferedReader in concode_elem_sep boolean keepOriginalText concode_elem_sep TokenizerFactory<? extends HasWord> tokenizerFactory concode_field_sep BasicDocument<L> parseDocumentText concode_elem_sep BufferedReader getBufferedReader concode_elem_sep void setReader concode_elem_sep void setTokenizerFactory concode_elem_sep Reader getReader concode_elem_sep Reader getReader concode_elem_sep Reader getReader concode_elem_sep Reader getReader concode_elem_sep Reader getReader concode_elem_sep boolean getKeepOriginalText concode_elem_sep String readText concode_elem_sep TokenizerFactory<? extends HasWord> getTokenizerFactory concode_elem_sep void setKeepOriginalText concode_elem_sep String readNextDocumentText
BasicDocument < L > function ( ) { String loc0 = readNextDocumentText ( ) ; if ( loc0 == null ) { return ( null ) ; } return parseDocumentText ( loc0 ) ; }