Skip to content
View in the app

A better way to browse. Learn more.

LCPDFR.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Grammar Police SUPPORT Thread

Featured Replies

  • Replies 438
  • Views 134.2k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • UnknownBastion
    UnknownBastion

    Hello,   This may not be what is causing the extent of the problem, but I noticed your RPH is outdated by one update. You can get it from their site. Give that a go and try again. I would al

  • UnknownBastion
    UnknownBastion

    No problem! Glad I could help! 🙂

  • It's in a folder called "Documentation" in the RAR file.

Posted Images

  • Author
1 hour ago, Mitch Malone said:

Hi, 

what are the commands for the german version? 
Because I literally dont know what to say ingame 😄

You can see the phrases in the grammar/de-DE/default/actions and commands folders.

Please use my discord server for support.

If you're interested, check out my dev diary.

 

2 hours ago, opus49 said:

You can see the phrases in the grammar/de-DE/default/actions and commands folders.

thanks, I didnt think about opening the files with notepad, because the file itself is in english..

en-AU FUBAR?

 

G'day all. While balding myself for the past 2+ hours, wondering why my plugin would not initalize Speech Recognition, I discovered that en-GB was working. I tested the following on 2 different computers, with separate Rockstar games accounts. The following alterations occured ONLY AFFECT */grammarpolice/custom.ini with languages preinstalled through Settings
______________________________

Set Language="en-AU"

 - LSPD First Response: GrammarPolice [GrammarHandler] SpeechRecogitionEngine initialization failed!

 - LSPD First Response: GrammarPolice [GrammarHandler] ERROR: The language for the grammar does not match the language of the speech recognizer.

 

Set Language="en-GB"

 - AOK

 - Voice responses working correctly

 

Set Language="en-US"

 - AOK

 - Voice responses working correctly

 

Set Language="en-AU"

 - LSPD First Response: GrammarPolice [GrammarHandler] SpeechRecogitionEngine initialization failed!

 - LSPD First Response: GrammarPolice [GrammarHandler] ERROR: The language for the grammar does not match the language of the speech recognizer.

 

 - Deleted and reinstalled en-AU through WindowsSettings

 

 - LSPD First Response: GrammarPolice [GrammarHandler] SpeechRecogitionEngine initialization failed!

 - LSPD First Response: GrammarPolice [GrammarHandler] ERROR: The language for the grammar does not match the language of the speech recognizer.

______________________________________

 

 

  • Author
8 hours ago, Brentalator said:

en-AU FUBAR?

 

G'day all. While balding myself for the past 2+ hours, wondering why my plugin would not initalize Speech Recognition, I discovered that en-GB was working. I tested the following on 2 different computers, with separate Rockstar games accounts. The following alterations occured ONLY AFFECT */grammarpolice/custom.ini with languages preinstalled through Settings
______________________________

Set Language="en-AU"

 - LSPD First Response: GrammarPolice [GrammarHandler] SpeechRecogitionEngine initialization failed!

 - LSPD First Response: GrammarPolice [GrammarHandler] ERROR: The language for the grammar does not match the language of the speech recognizer.

 

Set Language="en-GB"

 - AOK

 - Voice responses working correctly

 

Set Language="en-US"

 - AOK

 - Voice responses working correctly

 

Set Language="en-AU"

 - LSPD First Response: GrammarPolice [GrammarHandler] SpeechRecogitionEngine initialization failed!

 - LSPD First Response: GrammarPolice [GrammarHandler] ERROR: The language for the grammar does not match the language of the speech recognizer.

 

 - Deleted and reinstalled en-AU through WindowsSettings

 

 - LSPD First Response: GrammarPolice [GrammarHandler] SpeechRecogitionEngine initialization failed!

 - LSPD First Response: GrammarPolice [GrammarHandler] ERROR: The language for the grammar does not match the language of the speech recognizer.

______________________________________

 

 

 

It works fine for me:
 

Spoiler

[1/10/2021 1:34:11 PM.287] LSPD First Response: GrammarPolice [GrammarHandler] loaded 8 commands and 35 actions
[1/10/2021 1:34:11 PM.288] LSPD First Response: GrammarPolice [GrammarHandler] instantiating engine
[1/10/2021 1:34:11 PM.367] LSPD First Response: GrammarPolice [GrammarHandler] loading grammar
[1/10/2021 1:34:11 PM.371] LSPD First Response: GrammarPolice [Builder] building grammars using Culture: en-AU
[1/10/2021 1:34:11 PM.371] LSPD First Response: GrammarPolice [Builder] building GrammarBuilder for Command: accept
[1/10/2021 1:34:11 PM.374] LSPD First Response: GrammarPolice [Builder] building GrammarBuilder for Command: advise
[1/10/2021 1:34:11 PM.374] LSPD First Response: GrammarPolice [Builder] building GrammarBuilder for Command: officerdown
[1/10/2021 1:34:11 PM.374] LSPD First Response: GrammarPolice [Builder] building GrammarBuilder for Command: panic
[1/10/2021 1:34:11 PM.374] LSPD First Response: GrammarPolice [Builder] building GrammarBuilder for Command: request
[1/10/2021 1:34:11 PM.374] LSPD First Response: GrammarPolice [Builder] building GrammarBuilder for Command: status
[1/10/2021 1:34:11 PM.374] LSPD First Response: GrammarPolice [Builder] building GrammarBuilder for Command: taser
[1/10/2021 1:34:11 PM.374] LSPD First Response: GrammarPolice [Builder] building Prefaces
[1/10/2021 1:34:11 PM.376] LSPD First Response: GrammarPolice [Builder] adding CallsignGrammar string: 6
[1/10/2021 1:34:11 PM.376] LSPD First Response: GrammarPolice [Builder] adding CallsignGrammar string: paul
[1/10/2021 1:34:11 PM.376] LSPD First Response: GrammarPolice [Builder] adding CallsignGrammar string: 6 paul
[1/10/2021 1:34:11 PM.376] LSPD First Response: GrammarPolice [Builder] adding CallsignGrammar string: 11
[1/10/2021 1:34:11 PM.376] LSPD First Response: GrammarPolice [Builder] adding CallsignGrammar string: paul 11
[1/10/2021 1:34:11 PM.376] LSPD First Response: GrammarPolice [Builder] adding CallsignGrammar string: 6 paul 11
[1/10/2021 1:34:11 PM.376] LSPD First Response: GrammarPolice [Builder] creating prefaceActionBuilder
[1/10/2021 1:34:11 PM.376] LSPD First Response: GrammarPolice [Builder] creating mainBuilder
[1/10/2021 1:34:11 PM.376] LSPD First Response: GrammarPolice [Builder] appending prefaces
[1/10/2021 1:34:11 PM.376] LSPD First Response: GrammarPolice [Builder] creating allBuilders
[1/10/2021 1:34:11 PM.376] LSPD First Response: GrammarPolice [Builder] appending to mainBuilder
[1/10/2021 1:34:11 PM.377] LSPD First Response: GrammarPolice [Builder] creating finalBuilder
[1/10/2021 1:34:11 PM.377] LSPD First Response: GrammarPolice [Builder] returning new Grammar
[1/10/2021 1:34:11 PM.483] LSPD First Response: GrammarPolice [GrammarHandler] setting input to default device
[1/10/2021 1:34:11 PM.511] LSPD First Response: GrammarPolice [GrammarHandler] adding speech events
[1/10/2021 1:34:11 PM.512] LSPD First Response: GrammarPolice [GrammarHandler] instantiation successful

 

8 hours ago, Brentalator said:

en-AU FUBAR?


I will say you are not the first person to have this issue.  I'm not sure why, but en-AU seems to have issues on a lot of computers.  It works perfectly on mine, so I'm not sure how to troubleshoot it for you.  

Please use my discord server for support.

If you're interested, check out my dev diary.

 

12 hours ago, opus49 said:

 

It works fine for me:
 

  Reveal hidden contents

[1/10/2021 1:34:11 PM.287] LSPD First Response: GrammarPolice [GrammarHandler] loaded 8 commands and 35 actions
[1/10/2021 1:34:11 PM.288] LSPD First Response: GrammarPolice [GrammarHandler] instantiating engine
[1/10/2021 1:34:11 PM.367] LSPD First Response: GrammarPolice [GrammarHandler] loading grammar
[1/10/2021 1:34:11 PM.371] LSPD First Response: GrammarPolice [Builder] building grammars using Culture: en-AU
[1/10/2021 1:34:11 PM.371] LSPD First Response: GrammarPolice [Builder] building GrammarBuilder for Command: accept
[1/10/2021 1:34:11 PM.374] LSPD First Response: GrammarPolice [Builder] building GrammarBuilder for Command: advise
[1/10/2021 1:34:11 PM.374] LSPD First Response: GrammarPolice [Builder] building GrammarBuilder for Command: officerdown
[1/10/2021 1:34:11 PM.374] LSPD First Response: GrammarPolice [Builder] building GrammarBuilder for Command: panic
[1/10/2021 1:34:11 PM.374] LSPD First Response: GrammarPolice [Builder] building GrammarBuilder for Command: request
[1/10/2021 1:34:11 PM.374] LSPD First Response: GrammarPolice [Builder] building GrammarBuilder for Command: status
[1/10/2021 1:34:11 PM.374] LSPD First Response: GrammarPolice [Builder] building GrammarBuilder for Command: taser
[1/10/2021 1:34:11 PM.374] LSPD First Response: GrammarPolice [Builder] building Prefaces
[1/10/2021 1:34:11 PM.376] LSPD First Response: GrammarPolice [Builder] adding CallsignGrammar string: 6
[1/10/2021 1:34:11 PM.376] LSPD First Response: GrammarPolice [Builder] adding CallsignGrammar string: paul
[1/10/2021 1:34:11 PM.376] LSPD First Response: GrammarPolice [Builder] adding CallsignGrammar string: 6 paul
[1/10/2021 1:34:11 PM.376] LSPD First Response: GrammarPolice [Builder] adding CallsignGrammar string: 11
[1/10/2021 1:34:11 PM.376] LSPD First Response: GrammarPolice [Builder] adding CallsignGrammar string: paul 11
[1/10/2021 1:34:11 PM.376] LSPD First Response: GrammarPolice [Builder] adding CallsignGrammar string: 6 paul 11
[1/10/2021 1:34:11 PM.376] LSPD First Response: GrammarPolice [Builder] creating prefaceActionBuilder
[1/10/2021 1:34:11 PM.376] LSPD First Response: GrammarPolice [Builder] creating mainBuilder
[1/10/2021 1:34:11 PM.376] LSPD First Response: GrammarPolice [Builder] appending prefaces
[1/10/2021 1:34:11 PM.376] LSPD First Response: GrammarPolice [Builder] creating allBuilders
[1/10/2021 1:34:11 PM.376] LSPD First Response: GrammarPolice [Builder] appending to mainBuilder
[1/10/2021 1:34:11 PM.377] LSPD First Response: GrammarPolice [Builder] creating finalBuilder
[1/10/2021 1:34:11 PM.377] LSPD First Response: GrammarPolice [Builder] returning new Grammar
[1/10/2021 1:34:11 PM.483] LSPD First Response: GrammarPolice [GrammarHandler] setting input to default device
[1/10/2021 1:34:11 PM.511] LSPD First Response: GrammarPolice [GrammarHandler] adding speech events
[1/10/2021 1:34:11 PM.512] LSPD First Response: GrammarPolice [GrammarHandler] instantiation successful

 


I will say you are not the first person to have this issue.  I'm not sure why, but en-AU seems to have issues on a lot of computers.  It works perfectly on mine, so I'm not sure how to troubleshoot it for you.  

All good, at the moment i'm just living with en-GB which is working alright. 

RagePluginHook.log  Error Initializing speech engine.  Everything has been set up via your documentation.  I noticed this in the RPH log:  

 

[01/18/2021 6:32:42 PM.061] LSPD First Response: GrammarPolice [GrammarHandler] SpeechRecogitionEngine initialization failed!
[01/18/2021 6:32:42 PM.061] LSPD First Response: GrammarPolice [GrammarHandler] ERROR: 'phrase' cannot be an empty string.
[01/18/2021 6:32:42 PM.061] Parameter name: phrase
[01/18/2021 6:32:42 PM.062] LSPD First Response: GrammarPolice [GrammarHandler] TRACE:    at System.Speech.Internal.Helpers.ThrowIfEmptyOrNull(String s, String paramName)
[01/18/2021 6:32:42 PM.062] at System.Speech.Recognition.Choices.Add(String[] phrases)
[01/18/2021 6:32:42 PM.062] at GrammarPolice.GrammarStuff.Builder.BuildGrammar()
[01/18/2021 6:32:42 PM.062] at GrammarPolice.Handlers.GrammarHandler.InitializeSpeechRecognitionEngine()
[01/18/2021 6:32:42 PM.062] at GrammarPolice.Handlers.GrammarHandler.Start()
[01/18/2021 6:32:42 PM.062] LSPD First Response: GrammarPolice [GrammarHandler] Language setting: en-US

 

Please Help!

Hi I have a question, is there a way I can make it to where the push to talk key doesn't stop in the middle of me talking? For example when requesting a plate check I like to include the plate number but in the middle of saying it the PTT stops listening. Thanks

10 minutes ago, ItaLiaNKiinG said:

Hi I have a question, is there a way I can make it to where the push to talk key doesn't stop in the middle of me talking? For example when requesting a plate check I like to include the plate number but in the middle of saying it the PTT stops listening. Thanks

Nvm I found out why, PTT hold needs to be on

Everything works flawlessly.  I did a fresh install of everything and the only issue I’m having is when I talk to dispatch he doesn’t reach for his shoulder like he’s talking in his radio.  Everything works fine, but that small detail bothers me.  What am I missing?  

  • Author
1 hour ago, NewToPCGaming said:

Everything works flawlessly.  I did a fresh install of everything and the only issue I’m having is when I talk to dispatch he doesn’t reach for his shoulder like he’s talking in his radio.  Everything works fine, but that small detail bothers me.  What am I missing?  

Use the LSPDFR context menu (defaults to 'M' key) to set the animation.

Please use my discord server for support.

If you're interested, check out my dev diary.

 

  • Author
41 minutes ago, ray.off07 said:

My Grammar Police doesn't respond to anything I say.

RagePluginHook.log 424.54 kB · 0 downloads


It's not getting any sound from you.  This is a client-side configuration issue.  Possible reasons:

  • microphone volume (too low or muted)
  • not using the Windows default input device

Please use my discord server for support.

If you're interested, check out my dev diary.

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.