-
Notifications
You must be signed in to change notification settings - Fork 1
발화 정확도 화면, 대본 일치율 화면 구현 #148
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
Merged
Merged
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
bbb07e0
feat: 발화 정확도 상세 화면 구현 및 리포트 화면 연동
HamBeomJoon 39b38d4
Merge remote-tracking branch 'origin/develop' into feat/#121-report-s…
HamBeomJoon 92e7f24
feat: 분석 리포트 상세 화면 기능 개선 및 내비게이션 로직 리팩터링
HamBeomJoon cefce57
feat: 발화 정확도 상세 분석 단위를 문장 기반으로 고도화
HamBeomJoon 7cd0ec7
feat: 발화 정확도 상세 화면 오디오 재생 동기화 및 UI 고도화
HamBeomJoon 0461f24
feat: 분석 리포트 정확도 상세 화면 로직 개선 및 안정화
HamBeomJoon File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
36 changes: 33 additions & 3 deletions
36
...ore/model/src/main/java/com/team/prezel/core/model/presentation/PresentationWordDetail.kt
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,16 +1,46 @@ | ||
| package com.team.prezel.core.model.presentation | ||
|
|
||
| import kotlinx.collections.immutable.ImmutableList | ||
|
|
||
| data class PresentationWordDetail( | ||
| val presentationId: Long, | ||
| val audioUrl: String, | ||
| val wordDetails: List<WordAnalysisDetail>, | ||
| val sentenceDetails: ImmutableList<SentenceAnalysisDetail>, | ||
| ) | ||
|
|
||
| data class SentenceAnalysisDetail( | ||
| val sentence: String, | ||
| val status: WordAnalysisStatus, | ||
| val mainFeedback: String, | ||
| val subFeedback: String, | ||
| val accuracy: Double, | ||
| val startTimeMs: Long, | ||
| val endTimeMs: Long, | ||
| val wordDetails: ImmutableList<WordAnalysisDetail>, | ||
| ) | ||
|
|
||
| data class WordAnalysisDetail( | ||
| val word: String, | ||
| val status: String, | ||
| val description: String, | ||
| val status: WordAnalysisStatus, | ||
| val accuracy: Double, | ||
| val startTimeMs: Long, | ||
| val endTimeMs: Long, | ||
| ) | ||
|
|
||
| enum class WordAnalysisStatus( | ||
| val value: String, | ||
| ) { | ||
| EXCELLENT("Excellent"), | ||
| GOOD("Good"), | ||
| STUTTER("Stutter"), | ||
| INSERTION("Insertion"), | ||
| OMISSION("Omission"), | ||
| MISPRONUNCIATION("Mispronunciation"), | ||
| UNKNOWN("Unknown"), | ||
| ; | ||
|
|
||
| companion object { | ||
| fun from(value: String): WordAnalysisStatus = | ||
| entries.firstOrNull { status -> status.value.equals(value.trim(), ignoreCase = true) } ?: UNKNOWN | ||
| } | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.