Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Letter sound correspondence learning event #274

Merged
merged 4 commits into from
Oct 26, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 12 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,19 @@ Code library shared amongst the Web application and Android applications.
<img width="320" alt="Software Architecture" src="https://user-images.githubusercontent.com/15718174/83595568-fb6a1e00-a594-11ea-990a-10c0bd62ed11.png">
](https://github.com/elimu-ai/wiki/blob/main/SOFTWARE_ARCHITECTURE.md)

## Development 👩🏽‍💻

```
mvn clean
mvn compile
```

## Release 📦

See [.github/workflows/maven-publish.yml](.github/workflows/maven-publish.yml)

---

elimu.ai - Free personalized learning for every child on Earth 🌍🌏🌎
elimu.ai - Open source learning software for out-of-school children ✨🚀

[Website 🌐](https://elimu.ai) | [Wiki 📃](https://github.com/elimu-ai/wiki#readme) | [Projects 👩🏽‍💻](https://github.com/elimu-ai/wiki/projects) | [Milestones 🎯](https://github.com/elimu-ai/wiki/milestones) | [Community 👋🏽](https://github.com/elimu-ai/wiki#open-source-community)
[Website 🌐](https://elimu.ai) &nbsp; [Wiki 📃](https://github.com/elimu-ai/wiki#readme) &nbsp; [Projects 👩🏽‍💻](https://github.com/orgs/elimu-ai/projects?query=is%3Aopen) &nbsp; [Milestones 🎯](https://github.com/elimu-ai/wiki/milestones) &nbsp; [Community 👋🏽](https://github.com/elimu-ai/wiki#open-source-community)
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package ai.elimu.model.v2.enums.content;

/**
* Grapheme-to-phoneme correspondence
* Grapheme-to-phoneme (letter-sound) correspondence
*/
public enum SpellingConsistency {

Expand Down
2 changes: 1 addition & 1 deletion src/main/java/ai/elimu/model/v2/gson/BaseEntityGson.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package ai.elimu.model.v2.gson;

/**
* For documentation, see https://github.com/elimu-ai/webapp/tree/master/src/main/java/ai/elimu/model
* For documentation, see https://github.com/elimu-ai/webapp/tree/main/src/main/java/ai/elimu/model
*/
public abstract class BaseEntityGson {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import java.util.Calendar;

/**
* For documentation, see https://github.com/elimu-ai/webapp/tree/master/src/main/java/ai/elimu/model
* For documentation, see https://github.com/elimu-ai/webapp/tree/main/src/main/java/ai/elimu/model
*/
public abstract class AssessmentEventGson extends BaseEntityGson {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import java.util.Calendar;

/**
* For documentation, see https://github.com/elimu-ai/webapp/tree/master/src/main/java/ai/elimu/model
* For documentation, see https://github.com/elimu-ai/webapp/tree/main/src/main/java/ai/elimu/model
*/
public abstract class LearningEventGson extends BaseEntityGson {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package ai.elimu.model.v2.gson.analytics;

/**
* For documentation, see https://github.com/elimu-ai/webapp/tree/master/src/main/java/ai/elimu/model
* For documentation, see https://github.com/elimu-ai/webapp/tree/main/src/main/java/ai/elimu/model
*/
public class LetterAssessmentEventGson extends AssessmentEventGson {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package ai.elimu.model.v2.gson.analytics;

/**
* For documentation, see https://github.com/elimu-ai/webapp/tree/master/src/main/java/ai/elimu/model
* For documentation, see https://github.com/elimu-ai/webapp/tree/main/src/main/java/ai/elimu/model
*/
public class LetterLearningEventGson extends LearningEventGson {

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
package ai.elimu.model.v2.gson.analytics;

/**
* For documentation, see https://github.com/elimu-ai/webapp/tree/main/src/main/java/ai/elimu/model
*/
public class LetterSoundAssessmentEventGson extends AssessmentEventGson {

private Long letterSoundId;

private String[] letterSoundLetterTexts;

private String[] letterSoundSoundValuesIpa;

private Float masteryScore;

private Long timeSpentMs;

public Long getLetterSoundId() {
return letterSoundId;
}

public void setLetterSoundId(Long letterSoundId) {
this.letterSoundId = letterSoundId;
}

public String[] getLetterSoundLetterTexts() {
return letterSoundLetterTexts;
}

public void setLetterSoundLetterTexts(String[] letterSoundLetterTexts) {
this.letterSoundLetterTexts = letterSoundLetterTexts;
}

public String[] getLetterSoundSoundValuesIpa() {
return letterSoundSoundValuesIpa;
}

public void setLetterSoundSoundValuesIpa(String[] letterSoundSoundValuesIpa) {
this.letterSoundSoundValuesIpa = letterSoundSoundValuesIpa;
}

public Float getMasteryScore() {
return masteryScore;
}

public void setMasteryScore(Float masteryScore) {
this.masteryScore = masteryScore;
}

public Long getTimeSpentMs() {
return timeSpentMs;
}

public void setTimeSpentMs(Long timeSpentMs) {
this.timeSpentMs = timeSpentMs;
}
}

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
package ai.elimu.model.v2.gson.analytics;

/**
* For documentation, see https://github.com/elimu-ai/webapp/tree/main/src/main/java/ai/elimu/model
*/
public class LetterSoundLearningEventGson extends LearningEventGson {

private Long letterSoundId;

private String[] letterSoundLetterTexts;

private String[] letterSoundSoundValuesIpa;

public Long getLetterSoundId() {
return letterSoundId;
}

public void setLetterSoundId(Long letterSoundId) {
this.letterSoundId = letterSoundId;
}

public String[] getLetterSoundLetterTexts() {
return letterSoundLetterTexts;
}

public void setLetterSoundLetterTexts(String[] letterSoundLetterTexts) {
this.letterSoundLetterTexts = letterSoundLetterTexts;
}

public String[] getLetterSoundSoundValuesIpa() {
return letterSoundSoundValuesIpa;
}

public void setLetterSoundSoundValuesIpa(String[] letterSoundSoundValuesIpa) {
this.letterSoundSoundValuesIpa = letterSoundSoundValuesIpa;
}
}
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package ai.elimu.model.v2.gson.analytics;

/**
* For documentation, see https://github.com/elimu-ai/webapp/tree/master/src/main/java/ai/elimu/model
* For documentation, see https://github.com/elimu-ai/webapp/tree/main/src/main/java/ai/elimu/model
*/
public class NumberAssessmentEventGson extends AssessmentEventGson {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package ai.elimu.model.v2.gson.analytics;

/**
* For documentation, see https://github.com/elimu-ai/webapp/tree/master/src/main/java/ai/elimu/model
* For documentation, see https://github.com/elimu-ai/webapp/tree/main/src/main/java/ai/elimu/model
*/
public class NumberLearningEventGson extends LearningEventGson {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package ai.elimu.model.v2.gson.analytics;

/**
* For documentation, see https://github.com/elimu-ai/webapp/tree/master/src/main/java/ai/elimu/model
* For documentation, see https://github.com/elimu-ai/webapp/tree/main/src/main/java/ai/elimu/model
*/
public class StoryBookLearningEventGson extends LearningEventGson {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package ai.elimu.model.v2.gson.analytics;

/**
* For documentation, see https://github.com/elimu-ai/webapp/tree/master/src/main/java/ai/elimu/model
* For documentation, see https://github.com/elimu-ai/webapp/tree/main/src/main/java/ai/elimu/model
*/
public class VideoLearningEventGson extends LearningEventGson {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package ai.elimu.model.v2.gson.analytics;

/**
* For documentation, see https://github.com/elimu-ai/webapp/tree/master/src/main/java/ai/elimu/model
* For documentation, see https://github.com/elimu-ai/webapp/tree/main/src/main/java/ai/elimu/model
*/
public class WordAssessmentEventGson extends AssessmentEventGson {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package ai.elimu.model.v2.gson.analytics;

/**
* For documentation, see https://github.com/elimu-ai/webapp/tree/master/src/main/java/ai/elimu/model
* For documentation, see https://github.com/elimu-ai/webapp/tree/main/src/main/java/ai/elimu/model
*/
public class WordLearningEventGson extends LearningEventGson {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import java.util.Set;

/**
* For documentation, see https://github.com/elimu-ai/webapp/tree/master/src/main/java/ai/elimu/model
* For documentation, see https://github.com/elimu-ai/webapp/tree/main/src/main/java/ai/elimu/model
*/
public class ApplicationGson extends BaseEntityGson {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import ai.elimu.model.v2.gson.BaseEntityGson;

/**
* For documentation, see https://github.com/elimu-ai/webapp/tree/master/src/main/java/ai/elimu/model
* For documentation, see https://github.com/elimu-ai/webapp/tree/main/src/main/java/ai/elimu/model
*/
public class ApplicationVersionGson extends BaseEntityGson {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import ai.elimu.model.v2.enums.content.AudioFormat;

/**
* For documentation, see https://github.com/elimu-ai/webapp/tree/master/src/main/java/ai/elimu/model
* For documentation, see https://github.com/elimu-ai/webapp/tree/main/src/main/java/ai/elimu/model
*/
public class AudioGson extends ContentGson {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import ai.elimu.model.v2.gson.BaseEntityGson;

/**
* For documentation, see https://github.com/elimu-ai/webapp/tree/master/src/main/java/ai/elimu/model
* For documentation, see https://github.com/elimu-ai/webapp/tree/main/src/main/java/ai/elimu/model
*/
public abstract class ContentGson extends BaseEntityGson {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import java.util.Set;

/**
* For documentation, see https://github.com/elimu-ai/webapp/tree/master/src/main/java/ai/elimu/model
* For documentation, see https://github.com/elimu-ai/webapp/tree/main/src/main/java/ai/elimu/model
*/
public class EmojiGson extends ContentGson {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import java.util.Set;

/**
* For documentation, see https://github.com/elimu-ai/webapp/tree/master/src/main/java/ai/elimu/model
* For documentation, see https://github.com/elimu-ai/webapp/tree/main/src/main/java/ai/elimu/model
*/
public class ImageGson extends ContentGson {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package ai.elimu.model.v2.gson.content;

/**
* For documentation, see https://github.com/elimu-ai/webapp/tree/master/src/main/java/ai/elimu/model
* For documentation, see https://github.com/elimu-ai/webapp/tree/main/src/main/java/ai/elimu/model
*/
public class LetterGson extends ContentGson {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
import java.util.List;

/**
* For documentation, see https://github.com/elimu-ai/webapp/tree/master/src/main/java/ai/elimu/model
* For documentation, see https://github.com/elimu-ai/webapp/tree/main/src/main/java/ai/elimu/model
*/
public class LetterSoundCorrespondenceGson extends ContentGson {
public class LetterSoundGson extends ContentGson {

private List<LetterGson> letters;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package ai.elimu.model.v2.gson.content;

/**
* For documentation, see https://github.com/elimu-ai/webapp/tree/master/src/main/java/ai/elimu/model
* For documentation, see https://github.com/elimu-ai/webapp/tree/main/src/main/java/ai/elimu/model
*/
public class NumberGson extends ContentGson {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import ai.elimu.model.v2.enums.content.sound.SoundType;

/**
* For documentation, see https://github.com/elimu-ai/webapp/tree/master/src/main/java/ai/elimu/model
* For documentation, see https://github.com/elimu-ai/webapp/tree/main/src/main/java/ai/elimu/model
*/
public class SoundGson extends ContentGson {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import java.util.List;

/**
* For documentation, see https://github.com/elimu-ai/webapp/tree/master/src/main/java/ai/elimu/model
* For documentation, see https://github.com/elimu-ai/webapp/tree/main/src/main/java/ai/elimu/model
*/
public class StoryBookChapterGson extends BaseEntityGson {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import java.util.List;

/**
* For documentation, see https://github.com/elimu-ai/webapp/tree/master/src/main/java/ai/elimu/model
* For documentation, see https://github.com/elimu-ai/webapp/tree/main/src/main/java/ai/elimu/model
*/
public class StoryBookGson extends ContentGson {

Expand Down
Loading