Skip to content

Commit

Permalink
fix: allow to combine english and hin language data
Browse files Browse the repository at this point in the history
  • Loading branch information
renard314 committed May 10, 2016
1 parent 094717a commit 9abe9a6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ private String determineOcrLanguage(String ocrLanguage) {
private boolean addEnglishData(String mLanguage) {
return !(mLanguage.startsWith("chi") || mLanguage.equalsIgnoreCase("tha")
|| mLanguage.equalsIgnoreCase("kor")
|| mLanguage.equalsIgnoreCase("hin")
//|| mLanguage.equalsIgnoreCase("hin")
//|| mLanguage.equalsIgnoreCase("heb")
|| mLanguage.equalsIgnoreCase("jap")
//|| mLanguage.equalsIgnoreCase("ell")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ public static boolean hasCubeSupport(String lang) {
}

public static boolean canCombineCubeAndTesseract(String lang) {
return "hin".equalsIgnoreCase(lang);
return false;
}

private boolean needsCubeData() {
Expand Down

0 comments on commit 9abe9a6

Please sign in to comment.