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.

GrammarPolice 1.8.3

(82 reviews)

4 Screenshots

 


Welcome to Grammar Police!  This plugin began as a replacement for VocalDispatch but has grown into much more!

 

Speech Recognition

  • Issue commands to the dispatcher using your microphone
  • Includes a "hold to talk" feature that simulates a real radio
  • Supports StopThePed and UltimateBackup out of the box
  • Contains multiple sets of "10 codes" or customize yourself
  • Request backup, run plate checks, accept callouts and more!

 

Non-Verbal Interactions

  • Use an on-screen radio to interact with the dispatcher
  • Also includes a Officer Plugin Status style menu system
  • Both systems are fully customizable!

 

Language Support

  • English
  • French
  • German
  • Spanish

 

Technical Support

 

Tutorial Videos

Edited by opus49

What's New in Version 1.8.3

Released

Grammar Police 1.8

  • Restored player status display on PTT release (thanks OfficialFlipPlayz)
  • Restored the "say again" and generic response functionality
  • Restored emergency status on panic (thanks L’ère de l’a-paix)
  • Hardened radio check to prevent crash when there aren't any results
  • Adjusted timings of (non-chest) animations to look and sound more natural
  • Invalid callsigns no longer cause a failure but instead fallback to default
  • Moved speech engine handling to a separate thread to minimize UI freezes
  • Updated the radio check feature and added it to the settings menu
  • Fixed bug in felony backup request where it incorrectly saw no pullover
  • Detect Dynamic Traffic Stop from CalloutInterface and set status accordingly
  • Made configuration loading more resilient, no longer crashing on bad values
  • HoldToTalk now defaults to true and should benefit from engine worker thread
  • Made the delay between speech recognition and action execution configurable
  • Added config option for using the LSPDFR animation when using on screen radio
  • Added support for multiple handlers (e.g. UltimateBackup, PolicingRedefined)
  • Added command for cancelling backup without ending callouts, pullovers, etc
  • Fixed bug with INI where it wasn't allowing the hotkey modifier to be none
  • Added script generated HTML-based speech guides for all languages

    NOTE: THIS VERSION REQURES MICROSOFT SPEECH PLATFORM
    Microsoft has removed the interface for Windows Speech Recognition in recent versions of Windows 11.  Starting with this version of Grammar Police you will need to install Microsoft Speech Platform and the language pack you wish to use:


    Instructional video here:

    Microsoft Speech Platform: https://www.microsoft.com/en-us/download/details.aspx?id=27225
    Language Packs:  https://www.microsoft.com/en-us/download/details.aspx?id=27224
    Community Translations:   https://github.com/Immersive-Plugins-Team/GrammarPolice-Translations

Short Description

Interact with the dispatcher.

User Feedback

Recommended Comments

lucorfox

Members

Hello~ヾ(•ω•`)o

I have a little question
After the update, when I use speech the accuracy becomes very low
When I say a phrase I have to repeat it many times
Only the dispatch center will understand
For example: I'm going on patrol
You have to tell him many times before he will understand (っ °Д °;)っ

This is the problem I found in the logs

 

Before game update:
recognized the following speech: I'm going on patrol Confidence: 0.9516034


After game update:
[1/1/2024 7:37:18 PM.432] LSPD First Response: GrammarPolice: [GrammarHandler] ...I'm going patrol (confidence=0.5822427)
[1/1/2024 7:37:18 PM.432] LSPD First Response: GrammarPolice: [GrammarHandler] ...I am going patrol (confidence=0.5822427)
[1/1/2024 7:37:18 PM.432] LSPD First Response: GrammarPolice: [GrammarHandler] ...I'm going on patrol (confidence=0.5415542)

 

I have copied the parameters in the log before and after the game update.
I don't know if this will make it easier for you to find the problemヾ(•ω•`)o
I'm sorry if not


Sorry my English is not good so I mostly use translator

 

Thank you for help
have a Good dayヾ(•ω•`)o

GrammarPolice.txt

moddingpt

Members

Any chance to work with portuguese language? I'm from Portugal, and i can help you write the grammar.xml

Charlie686

Members

11 hours ago, AFRandreAFR said:

Any chance to work with portuguese language? I'm from Portugal, and i can help you write the grammar.xml

Unfortunately this is not possible because the Speech Engine that GrammarPolice uses does not support Portuguese.

Dozel

Members

(edited)

4 minutes ago, Charlie686 said:

Unfortunately this is not possible because the Speech Engine that GrammarPolice uses does not support Portuguese.

Actually I wonder, is there is any way to switch from default Windows speech recognition (Cortana, right?) to some other, like Google's one or smth? I don't mean switch in Grammar Police. I mean integrate new speech recognition to GTAV.

Edited by DozelRhine

Charlie686

Members

1 minute ago, DozelRhine said:

Actually I wonder, is there is any way to switch from default Windows speech recognition (Cortana, right?) to some other, like Google's one or smth? I'm not mean Grammar Police. I mean Integrate new speech recognition to GTAV.

There is no speech recognition within GTAV itself - GrammarPolice just uses the Microsoft Speech Engine. From what I have seen, Opus is happy to switch to another engine provided it is free and supports other languages. If there is an alternative, Opus would love to know but there just isn't one that satisfies those two criteria. 😄

Hope that clarifies!

Dozel

Members

(edited)

30 minutes ago, Charlie686 said:

There is no speech recognition within GTAV itself - GrammarPolice just uses the Microsoft Speech Engine. From what I have seen, Opus is happy to switch to another engine provided it is free and supports other languages. If there is an alternative, Opus would love to know but there just isn't one that satisfies those two criteria. 😄

Hope that clarifies!

I've just read about DeepSpeech from Mozilla (guys who made Firefox browser), It's open source so I think it's free. Actually don't know how good that one, but I think everything will be better than Microsoft Speech Recognition piece of code 😁

 

Yeah, just found one flow out there, out of box DeepSpeech supports only English, of course there is "community shares" with other languages, Germany, French, Spanish.... Jez I wish Google Speech-To-Text engine was free or Amazon's AWS. Also there is Whisper from OpenAI, but I think it's still in development.

Edited by DozelRhine

opus49

Insiders Author

1 hour ago, DozelRhine said:

I've just read about DeepSpeech from Mozilla (guys who made Firefox browser), It's open source so I think it's free. Actually don't know how good that one, but I think everything will be better than Microsoft Speech Recognition piece of code 😁

 

Yeah, just found one flow out there, out of box DeepSpeech supports only English, of course there is "community shares" with other languages, Germany, French, Spanish.... Jez I wish Google Speech-To-Text engine was free or Amazon's AWS. Also there is Whisper from OpenAI, but I think it's still in development.

System.Speech works great. You just need to set it up right. The only real downside is the limited number of languages.

illmaticx

Members

When talking to dispatch, I'd say: Dispatch, 20, Mecca, show me 10-8 (Available status)

then dispatch should reply: Roger that, 06-MECCA-34, proceed to patrol area. <<<<< I DO NOT hear this prompt, at all! I used to.

after I say Dispatch, 20, Mecca, show me 10-8, it just pops up my officer status: available without the voice....

Marco38

Members

Hi, I had an issue with the plugins i did all the installation correctly but when I launch RPH it crashes. If anyone had a solution I will be realy thankfull 

Marco38

Members

I found what was making rph crash it is the calloutinterface did someone have a solution for this ??

opus49

Insiders Author

1 hour ago, Marco38 said:

I found what was making rph crash it is the calloutinterface did someone have a solution for this ??

callout interface isn't causing your crash

you probably have an issue with another plugin, if you upload your log i can look at it

GTA Fanatic

Members

4 hours ago, Marco38 said:

I found what was making rph crash it is the calloutinterface did someone have a solution for this ??

are you using SimpleCTRL ? I had to take SimpleCTRL out was causing crash on start up now game loads smooth no crash. Hope this helps. But it certainly is not any of Opus49's mods. Upload crash log.

CMONT2024

Members

can u make it that u can have what ever call sigh u want other then using the phonetic alphabet 

GTA Fanatic

Members

1 hour ago, CMONT2024 said:

can u make it that u can have what ever call sigh u want other then using the phonetic alphabet 

in the ini you can change your callsign, Hope this helps.

Could contain: text, font, screenshot

I have "GrammarPolice" and "Immersive Dispatch".

In "Immersive Dispatch", when dispatch asks if you need a backup, a response menu will pop up in the upper left.

Is it possible to configure "GrammarPolice" so that the interaction menu pops up in the same way?

KomandorEXE

Members

I have found a minor bug in .ini file

Basically I dont have a working microphone, I installed this mod only for the radio and shortcuts. I wanted to change HotkeysModifier to RControlKey (deafult: LControlKey) inside .ini file.
When I changed the modifier I booted up gta 5 aaaaand...     the modifier didnt change. It was somehow still set to LControlKey

I even set the modifier to None and it still worked

I tried to change other modifiers inside this file like InterfaceModifier and it changed without an issue.

 

 

 



 

opus49

Insiders Author

1 hour ago, KomandorEXE said:

I have found a minor bug in .ini file

Basically I dont have a working microphone, I installed this mod only for the radio and shortcuts. I wanted to change HotkeysModifier to RControlKey (deafult: LControlKey) inside .ini file.
When I changed the modifier I booted up gta 5 aaaaand...     the modifier didnt change. It was somehow still set to LControlKey

I even set the modifier to None and it still worked

I tried to change other modifiers inside this file like InterfaceModifier and it changed without an issue.

 

 

 



 

It's not a "bug", the correct setting is HotkeysModifierKey

KomandorEXE

Members

14 hours ago, opus49 said:

It's not a "bug", the correct setting is HotkeysModifierKey


Thanks for the answer. It works fine now.
Inside deafult.ini file its written "HotkeysModifier"
I had to add "Key" to the end of it
After I dont that my issue was resolved, thanks again.

Marco38

Members

On 2/19/2024 at 9:43 PM, opus49 said:

callout interface isn't causing your crash

you probably have an issue with another plugin, if you upload your log i can look at it

Yes, it's fixed, I think that it was another plugin that was making my game crash. Now it works awesome 🙂 

Bumble Bee

Members

is there a way to make it use the actual lspdfr radio animation instead of the weird phone anim

officer haider

Members

Hy  I am having a problem first one that I am getting callouts very late and second is when I accept a callout from dispatch it self lspdfr crashes 
The plug I have are 
Stoptheped
Compulite
Powler speed radar
Ultibackup
Fib callouts 
686 callouts 
Tag callouts 
Callout interface 
Grammer police 
Restrain the deceased 
Eup 
Cop holster
My game version is 3028 retail 
Please help 

I am not a dev, so I can not help you, but I suggest posting your RPH log as well, as it may make someone who can help you do so sooner.

admirable

Members

(edited)

Could contain: clothing, text, screenshot, man, person, indoor

This is LSPDFR Vanilla Radio Handler.

Could contain: clothing, person, indoor, screenshot, suit, text, man, human face, ceiling

This is GrammarPolice Radio Handler.

 

Can you fix this?

Edited by admirable

Mimikos

Members

This mod is a must for patrolling 

cristian304

Members

Good morning its possibile this plugin for my language (italian)?? 

 

Thanks 

Create an account or sign in to comment

Latest Mods

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.