Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/ClusterM/java-speech-api.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSkylion007 <dragonsrcool.aaron@gmail.com>2013-08-03 21:32:29 +0400
committerSkylion007 <dragonsrcool.aaron@gmail.com>2013-08-03 21:32:29 +0400
commit68ae920c658ac6937a4ae857197581e3779065b0 (patch)
treee0bc86b3efc3bf73ebc0cc6187b58828d893114e
parentb975e519ff07b9756f5e108dbf57cfe402a40c91 (diff)
Update Synthesiser.java
Updated comments for clarity
-rw-r--r--src/com/darkprograms/speech/synthesiser/Synthesiser.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/com/darkprograms/speech/synthesiser/Synthesiser.java b/src/com/darkprograms/speech/synthesiser/Synthesiser.java
index 6617a7b..8ed83db 100644
--- a/src/com/darkprograms/speech/synthesiser/Synthesiser.java
+++ b/src/com/darkprograms/speech/synthesiser/Synthesiser.java
@@ -145,7 +145,7 @@ public class Synthesiser {
return input.length();
for(int i = 99; i>=0; i--){
char tmp = input.charAt(i);
- if(isEndingPunctuation(tmp){ //Ending punctuation for all languages according to Wikipedia
+ if(isEndingPunctuation(tmp)){
return i;
}
}
@@ -154,6 +154,7 @@ public class Synthesiser {
/**
* Checks if char is an ending character
+ * Ending punctuation for all languages according to Wikipedia (Except for Sanskrit non-unicode)
* @param The char you want check
* @return True if it is, false if not.
*/