diff options
| author | Benjamin J. Culkin <bjculkin@mix.wvu.edu> | 2017-09-15 15:21:34 -0300 |
|---|---|---|
| committer | Benjamin J. Culkin <bjculkin@mix.wvu.edu> | 2017-09-15 15:21:34 -0300 |
| commit | 46cb1f6c030991d314d0ef1fafa53e53ef3e03c9 (patch) | |
| tree | 35944ecbd4c7e4af3aecc30520dfa76f636cbdb6 /src/main/java/bjc/inflexion/EnglishUtils.java | |
| parent | eb78499c6f5c991d6abaca766ae0831e411c74af (diff) | |
Format
Diffstat (limited to 'src/main/java/bjc/inflexion/EnglishUtils.java')
| -rw-r--r-- | src/main/java/bjc/inflexion/EnglishUtils.java | 48 |
1 files changed, 25 insertions, 23 deletions
diff --git a/src/main/java/bjc/inflexion/EnglishUtils.java b/src/main/java/bjc/inflexion/EnglishUtils.java index e3c0823..3feb55b 100644 --- a/src/main/java/bjc/inflexion/EnglishUtils.java +++ b/src/main/java/bjc/inflexion/EnglishUtils.java @@ -21,32 +21,34 @@ package bjc.inflexion; */ public class EnglishUtils { private static String[] smallNums = new String[] { "zero", "one", "two", "three", "four", "five", "six", - "seven", "eight", "nine", "ten" }; + "seven", "eight", "nine", "ten" + }; - private static String[] summaryNums = new String[] { "no", "one", "a couple of", "a few", "several" }; - private static String[] endSummaryNums = new String[] { "no", "one", "a couple of", "a few", "several" }; + private static String[] summaryNums = new String[] { "no", "one", "a couple of", "a few", "several" }; + private static String[] endSummaryNums = new String[] { "no", "one", "a couple of", "a few", "several" }; private static int[] summaryMap = new int[] { - /* - * no - */ - 0, - /* - * one - */ - 1, - /* - * a couple of - */ - 2, - /* - * a few - */ - 3, 3, 3, - /* - * several - */ - 4, 4, 4, 4 }; + /* + * no + */ + 0, + /* + * one + */ + 1, + /* + * a couple of + */ + 2, + /* + * a few + */ + 3, 3, 3, + /* + * several + */ + 4, 4, 4, 4 + }; /** * Convert small integers to words. |
