jxmorris12 / language_tool_python

a free python grammar checker 📝✅
GNU General Public License v3.0
434 stars 64 forks source link

Adding full stops #62

Closed Artucuno closed 2 years ago

Artucuno commented 2 years ago

Hey, I was just wondering if there is a way to automatically add full stops? (.)

jxmorris12 commented 2 years ago

@Artucuno I'm not sure, sorry. You can check the LanguageTool forum: https://community.languagetool.org/rule/list?lang=en

Artucuno commented 2 years ago

Hey, I've found the rule that I need. How do I add it?

Artucuno commented 2 years ago

@jxmorris12

Issue didn't reopen so ima just @ you

jxmorris12 commented 2 years ago

@Artucuno awesome! Well the short answer is that this rule should already be integrated into LanguageTool, and active by default, so if you correct some text using language_tool_python then the full stops rule should be included in corrections made by the tool.

Artucuno commented 2 years ago

Oh, it's not adding fullstops anyway. I am creating video subtitles using speech recognition and then using language_tool_python to add punctuation and stuff but there are no fullstops or commas for some reason.

Artucuno commented 2 years ago

I can send you the subtitles that it is trying to fix if you would like

jxmorris12 commented 2 years ago

Try the grammar checker on the homepage: https://languagetool.org/ is it doing what you want? If not, LanguageTool just can't detect your errors for some reason

jxmorris12 commented 2 years ago

feel free to reopen if something is going wrong with the python package