diff options
author | Mathieu Pasquet <mathieui@mathieui.net> | 2013-11-28 21:22:17 +0100 |
---|---|---|
committer | Mathieu Pasquet <mathieui@mathieui.net> | 2013-11-28 21:22:17 +0100 |
commit | c2b673308f5d8ef7a295d03d1a1fa72b8b947c12 (patch) | |
tree | c13a53d73e4d68f326e775b69f60f80c723595e9 /doc | |
parent | 0ad9712d0c7421c4d9b2d9ebb4b7d328c90e2253 (diff) | |
download | poezio-c2b673308f5d8ef7a295d03d1a1fa72b8b947c12.tar.gz poezio-c2b673308f5d8ef7a295d03d1a1fa72b8b947c12.tar.bz2 poezio-c2b673308f5d8ef7a295d03d1a1fa72b8b947c12.tar.xz poezio-c2b673308f5d8ef7a295d03d1a1fa72b8b947c12.zip |
Add an “autocorrect” plugin with a sed-like syntax
TODO (eventually):
- correct words when using “word*” or “*word” using levenshtein distance
- allow regular expressions for replacement
Diffstat (limited to 'doc')
-rw-r--r-- | doc/source/plugins/autocorrect.rst | 6 | ||||
-rw-r--r-- | doc/source/plugins/index.rst | 8 |
2 files changed, 14 insertions, 0 deletions
diff --git a/doc/source/plugins/autocorrect.rst b/doc/source/plugins/autocorrect.rst new file mode 100644 index 00000000..f637678e --- /dev/null +++ b/doc/source/plugins/autocorrect.rst @@ -0,0 +1,6 @@ +.. _autocorrect-plugin: + +Autocorrect +=========== + +.. automodule:: autocorrect diff --git a/doc/source/plugins/index.rst b/doc/source/plugins/index.rst index ce758537..e8307e7e 100644 --- a/doc/source/plugins/index.rst +++ b/doc/source/plugins/index.rst @@ -212,6 +212,13 @@ Plugin index Insert dots in your messages. + Autocorrect + :ref:`Documentation <autocorrect-plugin>` + + Add new ways to correct messages. + + + .. toctree:: :hidden: @@ -246,3 +253,4 @@ Plugin index iq_show regex_admin pointpoint + autocorrect |