pawamoy / mkdocs-spellcheck

A spell checker plugin for MkDocs.
https://pawamoy.github.io/mkdocs-spellcheck/
ISC License
15 stars 3 forks source link

Option to provide our own normalize/get_words function #10

Open pawamoy opened 2 years ago

pawamoy commented 2 years ago

Is your feature request related to a problem? Please describe. The built-in normalize and get_words work for the English language. But they might not for other languages. Maybe users should be able to override these functions.

Describe the solution you'd like An option to provide our own functions. Maybe take advantage of PyYAML Python tags:

normalize: !!python/name: module.function

Describe alternatives you've considered Natively support multiple languages. Use smarter algorithm to split sentences, see #3.

Additional context /