Spaces:
Sleeping
Sleeping
Update simple_casl_app.py
Browse files- simple_casl_app.py +20 -21
simple_casl_app.py
CHANGED
|
@@ -857,9 +857,9 @@ def analyze_transcript_content(transcript_content, age, gender, slp_notes):
|
|
| 857 |
- Evaluate processing demands
|
| 858 |
|
| 859 |
B. Processing Speed:
|
| 860 |
-
-
|
| 861 |
-
-
|
| 862 |
-
-
|
| 863 |
|
| 864 |
C. Executive Function:
|
| 865 |
- Assess planning and organization
|
|
@@ -869,14 +869,14 @@ def analyze_transcript_content(transcript_content, age, gender, slp_notes):
|
|
| 869 |
9. FLUENCY AND RHYTHM ANALYSIS (with quantification):
|
| 870 |
|
| 871 |
A. Speech Rate:
|
| 872 |
-
- Calculate words per minute
|
| 873 |
-
-
|
| 874 |
-
-
|
| 875 |
|
| 876 |
B. Pause Patterns:
|
| 877 |
-
-
|
| 878 |
-
-
|
| 879 |
-
-
|
| 880 |
|
| 881 |
10. QUANTITATIVE METRICS:
|
| 882 |
|
|
@@ -895,20 +895,19 @@ def analyze_transcript_content(transcript_content, age, gender, slp_notes):
|
|
| 895 |
- Identify areas of competence
|
| 896 |
|
| 897 |
B. Areas of Need:
|
| 898 |
-
-
|
| 899 |
- Provide specific examples
|
| 900 |
|
| 901 |
-
C.
|
| 902 |
-
-
|
| 903 |
-
-
|
| 904 |
-
- Address all identified areas of need
|
| 905 |
|
| 906 |
12. PROGNOSIS AND SUMMARY:
|
| 907 |
|
| 908 |
- Overall communication profile
|
| 909 |
- Developmental appropriateness
|
| 910 |
-
-
|
| 911 |
-
-
|
| 912 |
|
| 913 |
FORMAT REQUIREMENTS:
|
| 914 |
- Use bullet points for organization
|
|
@@ -1387,11 +1386,11 @@ with gr.Blocks(title="Enhanced Speech Sample Analysis", theme=gr.themes.Soft())
|
|
| 1387 |
|
| 1388 |
For FLUENCY and SPEECH RATE:
|
| 1389 |
- Count and cite EVERY disfluency (fillers, repetitions, revisions)
|
| 1390 |
-
-
|
| 1391 |
-
-
|
| 1392 |
-
-
|
| 1393 |
-
-
|
| 1394 |
-
-
|
| 1395 |
- Provide specific examples of fluency patterns
|
| 1396 |
|
| 1397 |
For GRAMMAR and LANGUAGE ERRORS:
|
|
|
|
| 857 |
- Evaluate processing demands
|
| 858 |
|
| 859 |
B. Processing Speed:
|
| 860 |
+
- Note: Processing speed analysis requires audio/video with timestamps
|
| 861 |
+
- If no timing data: analyze linguistic complexity and word-finding patterns
|
| 862 |
+
- Assess cognitive demands of language structures used
|
| 863 |
|
| 864 |
C. Executive Function:
|
| 865 |
- Assess planning and organization
|
|
|
|
| 869 |
9. FLUENCY AND RHYTHM ANALYSIS (with quantification):
|
| 870 |
|
| 871 |
A. Speech Rate:
|
| 872 |
+
- Calculate words per minute (if timing data available)
|
| 873 |
+
- Note: Rate analysis requires audio/video with timestamps
|
| 874 |
+
- If no timing data: analyze word density and complexity patterns
|
| 875 |
|
| 876 |
B. Pause Patterns:
|
| 877 |
+
- Note: Pause analysis requires audio/video with timestamps
|
| 878 |
+
- If no timing data: analyze linguistic markers of hesitation
|
| 879 |
+
- Count disfluencies, fillers, and incomplete utterances
|
| 880 |
|
| 881 |
10. QUANTITATIVE METRICS:
|
| 882 |
|
|
|
|
| 895 |
- Identify areas of competence
|
| 896 |
|
| 897 |
B. Areas of Need:
|
| 898 |
+
- Identify areas requiring attention
|
| 899 |
- Provide specific examples
|
| 900 |
|
| 901 |
+
C. Assessment Considerations:
|
| 902 |
+
- Note areas that may need formal testing
|
| 903 |
+
- Identify factors requiring further evaluation
|
|
|
|
| 904 |
|
| 905 |
12. PROGNOSIS AND SUMMARY:
|
| 906 |
|
| 907 |
- Overall communication profile
|
| 908 |
- Developmental appropriateness
|
| 909 |
+
- Summary of key findings
|
| 910 |
+
- Areas requiring further assessment
|
| 911 |
|
| 912 |
FORMAT REQUIREMENTS:
|
| 913 |
- Use bullet points for organization
|
|
|
|
| 1386 |
|
| 1387 |
For FLUENCY and SPEECH RATE:
|
| 1388 |
- Count and cite EVERY disfluency (fillers, repetitions, revisions)
|
| 1389 |
+
- Note: Speech rate calculation requires audio/video with timestamps
|
| 1390 |
+
- If no timing data: analyze word density and complexity patterns
|
| 1391 |
+
- Note: Pause analysis requires audio/video with timestamps
|
| 1392 |
+
- If no timing data: analyze linguistic markers of hesitation
|
| 1393 |
+
- Count incomplete utterances and word-finding difficulties
|
| 1394 |
- Provide specific examples of fluency patterns
|
| 1395 |
|
| 1396 |
For GRAMMAR and LANGUAGE ERRORS:
|