public class Syllables extends Object
| Constructor and Description |
|---|
Syllables() |
| Modifier and Type | Method and Description |
|---|---|
static Integer |
getSyllableCountFromLine(List<String> line) |
static Integer |
getSyllableCountFromLine(String line) |
static Integer |
getSyllableCountFromWord(String word)
The syllable count of the word is just the number of items returned from the
function that parses the word into syllables.
|
static List<String> |
getSyllablesFromWord(String word) |
static ArrayList<Integer> |
getWordSyllablesFromLine(String line) |
public static Integer getSyllableCountFromLine(List<String> line)
line - List of wordspublic static Integer getSyllableCountFromWord(String word)
word - Copyright © 2021. All rights reserved.