Package edu.washington.cs.knowitall.extractor

Examples of edu.washington.cs.knowitall.extractor.SentenceExtractor


     * @param sc
     * @throws IOException
     */
    public ChunkedSentenceReader(Reader r, SentenceChunker sc)
            throws IOException {
        init(r, new SentenceExtractor(), sc);
    }
View Full Code Here


     * @throws IOException
     */
    public ChunkedSentenceReader(Reader r) throws IOException {
        if (SENT_CHUNKER == null)
            SENT_CHUNKER = new OpenNlpSentenceChunker();
        init(r, new SentenceExtractor(), SENT_CHUNKER);
    }
View Full Code Here

        extractor.addMapper(SentenceLengthFilter.minFilter(4));
    }

    public static SentenceExtractor getDefaultSentenceExtractor()
            throws IOException {
        SentenceExtractor extractor = new SentenceExtractor();
        addDefaultSentenceFilters(extractor);
        return extractor;
    }
View Full Code Here

TOP

Related Classes of edu.washington.cs.knowitall.extractor.SentenceExtractor

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.