nerd-dictation icon indicating copy to clipboard operation
nerd-dictation copied to clipboard

How to capitalize the proper names ?

Open Lume6 opened this issue 3 years ago • 3 comments

Hi,

First, I'd like to congratulate Campbell Barton. Thank you very much for this wonderful script !

Melbourne, Berlin, John, etc. are recognized with lower case first letter. If possible, who could write a script to add to nerd-dictation.py ? Unfortunately, I can't do it ! Thanks to you.

Lume6 avatar Sep 09 '22 07:09 Lume6

Sorry ! I didn't notice what you've planned : "Support a general solution to capitalize words (proper nouns for example)."

Lume6 avatar Sep 12 '22 17:09 Lume6

This would be best to handle as part of a user-configuration, although it seems like it's probably not all that difficult to support with nltk see: https://stackoverflow.com/questions/17669952

If someone comes up with an example it can be added to example configurations.

ideasman42 avatar Sep 13 '22 01:09 ideasman42

This is a great idea! Let's try to see what has already been done.

Lume6 avatar Sep 13 '22 08:09 Lume6