diff --git a/docs/usage.rst b/docs/usage.rst index 98ef3c0..f7890b5 100644 --- a/docs/usage.rst +++ b/docs/usage.rst @@ -2,7 +2,9 @@ Usage ===== -To use Kotonoha in a project:: +To use Kotonoha in a project: + +..code-block:: from kotonoha import Kotonoha @@ -51,6 +53,8 @@ MeCab handler There is a class MeCabHandler which can be used to simplify some basic configurations for filtering and lemmatization of words. +.. code-block:: python + from kotonoha import MeCabHandler import MeCab