public class WordUtil extends Object
| Constructor and Description |
|---|
WordUtil() |
| Modifier and Type | Method and Description |
|---|---|
static List<BasicItem> |
getSentencesFromText(String text)
It computes a text to words to a BasicItem List and then retrieves it.
|
static String |
sanitizeText(String text)
It removes the unnecessary characters from the whole text.
|
public static List<BasicItem> getSentencesFromText(String text)
text - A regular text what has been not contained any HTML or XML tags.public static String sanitizeText(String text)
text - A regular text what has been not contained any HTML or XML tags.Copyright © 2015. All rights reserved.