- 
                Notifications
    You must be signed in to change notification settings 
- Fork 324
Configurable Google Speech to Text transcription #429
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
base: master
Are you sure you want to change the base?
Conversation
| If I remember correctly, without interum results, transcriptions can take 2 to 3 seconds to appear (end of sentence). If this is the case, what is the benefit of having a feature flag ( | 
| Setting org.jitsi.jigasi.transcription.ENABLE_GOOGLE_INTERIM_RESULTS=False is for the current default behaviour (before my change), when you don't receive the result until the sentence is finished,  so that is why I left it as the default value. | 
| There's existing code to enable interim results, look for  Unless I'm missing something, your addition of  | 
1626e77    to
    59ca086      
    Compare
  
    …ervice to RemotePublisherTranscriptionHandler
59ca086    to
    886a387      
    Compare
  
    | I saw the  | 
| This looks good to me, but I'll let @damencho review. | 
| Codecov Report
 
 Additional details and impacted files@@             Coverage Diff              @@
##             master     #429      +/-   ##
============================================
- Coverage     23.14%   23.05%   -0.09%     
  Complexity      303      303              
============================================
  Files            69       69              
  Lines          5808     5817       +9     
  Branches        787      788       +1     
============================================
- Hits           1344     1341       -3     
- Misses         4232     4244      +12     
  Partials        232      232              
 Continue to review full report at Codecov. 
 | 
| Having automatic punctuation would be really nice. Did something block this PR? | 
Options to enable punctuation and profanity filter to the results obtained when using Google Speech to Text for transcriptions.
Added option to enable the reception of interim results instead of only final results when using Google Speech to Text for transcriptions.
These options may be set in the sip-communicator.properties:
org.jitsi.jigasi.transcription.ENABLE_GOOGLE_AUTOMATIC_PUNCTUATION=false
org.jitsi.jigasi.transcription.ENABLE_GOOGLE_PROFANITY_FILTER=false
org.jitsi.jigasi.transcription.ENABLE_GOOGLE_INTERIM_RESULTS=false
I left them false by default so that the default behaviour does not change unless the user sets them to true.