Skip to content

Commit

Permalink
refactor(languages): reduce number of supported languages (#1744)
Browse files Browse the repository at this point in the history
  • Loading branch information
jo-elimu authored Jul 17, 2024
2 parents 305c9cf + 4421639 commit 256d006
Show file tree
Hide file tree
Showing 116 changed files with 376 additions and 3,634 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<properties>
<java.version>11</java.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<model.version>2.0.71</model.version> <!-- https://jitpack.io/#elimu-ai/model -->
<model.version>2.0.73</model.version> <!-- https://jitpack.io/#elimu-ai/model -->
<hibernate.version>5.6.15.Final</hibernate.version> <!-- https://repo.maven.apache.org/maven2/org/hibernate/ -->
<jetty.version>10.0.21</jetty.version> <!-- https://repo.maven.apache.org/maven2/org/eclipse/jetty/ -->
<spring.version>5.3.18</spring.version> <!-- https://repo.maven.apache.org/maven2/org/springframework/ -->
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/ai/elimu/util/WordExtractionHelper.java
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public static List<String> getWords(String paragraph, Language language) {
.replace(":", "")
.replace("(", "")
.replace(")", "");
if ((language == Language.BEN) || (language == Language.HIN)) {
if (language == Language.HIN) {
word = word
.replace("।", ""); // See https://en.wikipedia.org/wiki/Danda
}
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

1 change: 0 additions & 1 deletion src/main/resources/db/content_PROD/ben/audios.csv

This file was deleted.

5 changes: 0 additions & 5 deletions src/main/resources/db/content_PROD/ben/emojis.csv

This file was deleted.

92 changes: 0 additions & 92 deletions src/main/resources/db/content_PROD/ben/images.csv

This file was deleted.

50 changes: 0 additions & 50 deletions src/main/resources/db/content_PROD/ben/letter-sounds.csv

This file was deleted.

63 changes: 0 additions & 63 deletions src/main/resources/db/content_PROD/ben/letters.csv

This file was deleted.

25 changes: 0 additions & 25 deletions src/main/resources/db/content_PROD/ben/numbers.csv

This file was deleted.

48 changes: 0 additions & 48 deletions src/main/resources/db/content_PROD/ben/sounds.csv

This file was deleted.

Loading

0 comments on commit 256d006

Please sign in to comment.