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

LukeD

Friends of LSPDFR

Colour me extremely interested.

 

Do you use the same API as VocalDispatch or a different one? And how will this be noticeably better for players? i.e VD was pretty poor if you didn't train the MS voice model data.

 

 

edit: Oh hey look my name is in the credits 😄 I did something 😄

opus49

Insiders Author

30 minutes ago, LukeD said:

Do you use the same API as VocalDispatch or a different one?

 

I do use Microsoft's SpeechRecognitionEngine.  However, I believe I am using a different method than VD.  Rather than use the built-in Dictation Grammar and have the SRE look for keywords (not 100% sure this is how VD works but I suspect), I use a Grammar object built from (configurable!) pre-defined phrases.

 

31 minutes ago, LukeD said:

And how will this be noticeably better for players? i.e VD was pretty poor if you didn't train the MS voice model data

 

According to Microsoft, defining your own Grammar is supposed to be more accurate.  In my testing, this has definitely proven to be true.  However, I am really anxious to see if other people have the same experience.  About a week ago I posted a standalone application that allows people to test the speech engine.  A few people tried it and said it was an improvement over VD:

 

 

 

MrSwatPL

Members

(edited)

Will it be better than Vocal Dispatch?
And what's the difference between GP and VD?

Edited by MrSwatPL

X4vBond

Members

Do we need to install Vocal Dispatch yet?

Can we custom it in French?

opus49

Insiders Author

6 minutes ago, MrSwatPL said:

Will it be better than Vocal Dispatch?

I sincerely hope so. I did my absolute best. It's definitely better for me, but I won't know for sure until other people try it.

 

7 minutes ago, MrSwatPL said:

can it go with requesting ems etc.?

Yes, it supports an EMS call. It will default to UB if installed, unless you toggle that setting.

5 minutes ago, X4vBond said:

Do we need to install Vocal Dispatch yet?

No, this should replace Vocal Dispatch. My recommendation would be to leave VD installed if you're already using it and rebind it to a different key. Then if you like Grammar Police you can remove VD later. Otherwise, this plugin has no hard dependencies other than LSPDFR and RPH.

opus49

Insiders Author

Just now, Razer1427 said:

you should add 10 codes like requesting 29 on frank alfredo for example

Yeah, I debated on that and had those in originally but thought people might want to use their own.  It's very easy to add them to the grammar.xml file.

 

I tried to be as thorough in the documentation as I could. The GRAMMAR.txt file should explain how to customize the phrases. It's really just a matter of adding "ten twenty nine" or whatever to the desired action. 

jogbot500

Members

I'll try it later today 

opus49

Insiders Author

49 minutes ago, X4vBond said:

Can we custom it in French?

In theory it should be possible to use other languages, but I believe it would require a language specific grammar.xml. This is definitely something I am willing to try and support. I'll do some testing tonight and get back to you.

Baloney

Members

when I press alt nothing happens....

idk how to make them talk, and understand me

opus49

Insiders Author

1 minute ago, 56blooni said:

when I press alt nothing happens....

idk how to make them talk, and understand me

Are you pressing the Right Alt key?

 

If so, can you send me your rage log?

opus49

Insiders Author

It's failing while trying to get your default input device. I'll see what I can find. I assume you have some kind of microphone plugged in and verified working?

Mrbiker

Members

Does it work with the French language ?

SGTBrooks

Members

i have the same problem with the microphone. when im pressing alt right nothing happens.

MissingMesh

Members

Do I have to remove Vocal Dispatch for this to work or do I keep Vocal Dispatch installed?

opus49

Insiders Author

1 minute ago, MissingMesh said:

Do I have to remove Vocal Dispatch for this to work or do I keep Vocal Dispatch installed?

 

You do not need to keep VocalDispatch installed to use this.  However, if you keep VD installed, make sure they have different key bindings.  I kept VD installed during nearly all of development/testing and didn't have an issue. 

manu450

Members

Is this compatible with UB and STP ? I just drop their XML file in there same as VD? 

opus49

Insiders Author

Just now, manu450 said:

Is this compatible with UB and STP ? I just drop their XML file in there same as VD? 

 

They are compatible, but you do not drop in any XML files.  Both UB and STP will be called by default if they are installed.  It should work out of the box.

opus49

Insiders Author

1 hour ago, Mrbiker said:

Does it work with the French language ?

 

2 hours ago, X4vBond said:

Can we custom it in French?

 

I believe I can do this.  I was able to successfully get the speech engine to recognize French.  However, I need a native French speaker to help me write out the grammar.xml.  Any takers?

Baloney

Members

yea and speakers/headset

but I have never ever gotten stop the ped audio to work. Do you need police smart radio?

Mrbiker

Members

8 minutes ago, opus49 said:

 

 

Je crois que je peux le faire. J'ai réussi à obtenir le moteur vocal pour reconnaître le français. Cependant, j'ai besoin d'un locuteur natif français pour m'aider à écrire le grammar.xml. N'importe quels preneurs?

I think I can participate ! Wow

Demsor

Members

Amazing plugin! Thanks for this!! Works a lot smoother then VD imho

opus49

Insiders Author

1 minute ago, Mrbiker said:

I think I can participate ! Wow

Merci!  I will message you.

HazyTube

Members

Thank you for mentioning me in the credits 🙂 

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.