Package redis.seek

Examples of redis.seek.Text


    @Test
    public void stopwords() {
        Set<String> stopwords = new HashSet<String>();
        stopwords.add("un");
        stopwords.add("para");
        Text text = new Text("Un collar para un perro", stopwords);
        Set<String> words = text.getWords();
        assertEquals(2, words.size());
    }
View Full Code Here

TOP

Related Classes of redis.seek.Text

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.