SreekarB commited on
Commit
4d84d1e
·
verified ·
1 Parent(s): f4a78e6

Update simple_casl_app.py

Browse files
Files changed (1) hide show
  1. 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
- - Analyze speech rate
861
- - Assess response time
862
- - Evaluate efficiency
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
- - Analyze rate variability
874
- - Assess naturalness
875
 
876
  B. Pause Patterns:
877
- - Count and analyze pauses
878
- - Assess pause function
879
- - Evaluate rhythm
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
- - Prioritize intervention targets
899
  - Provide specific examples
900
 
901
- C. Treatment Recommendations:
902
- - List 5-7 specific intervention strategies
903
- - Include intensity and frequency recommendations
904
- - Address all identified areas of need
905
 
906
  12. PROGNOSIS AND SUMMARY:
907
 
908
  - Overall communication profile
909
  - Developmental appropriateness
910
- - Impact on academic/social functioning
911
- - Expected progress with intervention
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
- - Calculate speech rate and variability (words per minute, rate changes)
1391
- - Analyze pause patterns and their function (thinking pauses, grammatical pauses)
1392
- - Assess overall speech naturalness
1393
- - Evaluate rhythm and prosody patterns
1394
- - Analyze rate-accuracy trade-offs
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: