public Document createDocument ( String [ ] tokenstring ) { this . lexicon . incrementDocCount ( ) ; return new SimpleDocument ( tokenstring , this . lexicon , true ) ; }
Create a Document from an array of Strings