@@ -79,7 +79,7 @@ private PhonemeBuilder(Set<Rule.Phoneme> phonemes) {
7979 }
8080
8181 /**
82- * Create a new phoneme builder containing all phonemes in this one extended by <code>str</code>.
82+ * Creates a new phoneme builder containing all phonemes in this one extended by <code>str</code>.
8383 *
8484 * @param str the characters to append to the phonemes
8585 * @return a new phoneme builder lenghened by <code>str</code>
@@ -95,7 +95,7 @@ public PhonemeBuilder append(CharSequence str) {
9595 }
9696
9797 /**
98- * Create a new phoneme builder containing the application of the expression to all phonemes in this builder.
98+ * Creates a new phoneme builder containing the application of the expression to all phonemes in this builder.
9999 *
100100 * This will lengthen phonemes that have compatible language sets to the expression, and drop those that are
101101 * incompatible.
@@ -120,7 +120,7 @@ public PhonemeBuilder apply(Rule.PhonemeExpr phonemeExpr) {
120120 }
121121
122122 /**
123- * The underlying phoneme set. Please don't mutate.
123+ * Gets underlying phoneme set. Please don't mutate.
124124 *
125125 * @return the phoneme set
126126 */
@@ -129,7 +129,7 @@ public Set<Rule.Phoneme> getPhonemes() {
129129 }
130130
131131 /**
132- * Stringify the phoneme set. This produces a single string of the strings of each phoneme, joined with a pipe.
132+ * Stringifies the phoneme set. This produces a single string of the strings of each phoneme, joined with a pipe.
133133 * This is explicitly provied in place of toString as it is a potentially expensive operation, which should be
134134 * avoided when debugging.
135135 *
@@ -189,8 +189,8 @@ public PhonemeBuilder getPhonemeBuilder() {
189189 }
190190
191191 /**
192- * This invokes the rules. It loops over the rules list, stopping at the first one that has a matching context
193- * and pattern. It then applies this rule to the phoneme builder to produce updated phonemes. If there was no
192+ * Invokes the rules. Loops over the rules list, stopping at the first one that has a matching context
193+ * and pattern. Then applies this rule to the phoneme builder to produce updated phonemes. If there was no
194194 * match, <code>i</code> is advanced one and the character is silently dropped from the phonetic spelling.
195195 *
196196 * @return <code>this</code>
@@ -271,7 +271,7 @@ public CharSequence subSequence(int start, int end) {
271271 }
272272
273273 /**
274- * Join some strings with an internal separater .
274+ * Joins some strings with an internal separator .
275275 * @param strings Strings to join
276276 * @param sep String to separate them with
277277 * @return a single String consisting of each element of <code>strings</code> interlieved by <code>sep</code>
@@ -318,7 +318,7 @@ public PhoneticEngine(NameType nameType, RuleType ruleType, boolean concat) {
318318 }
319319
320320 /**
321- * Apply the final rules to convert from a language-specific phonetic representation to a language-independent
321+ * Applies the final rules to convert from a language-specific phonetic representation to a language-independent
322322 * representation.
323323 *
324324 * @param phonemeBuilder
0 commit comments