[Groonga-commit] groonga/groonga at ff1eb6e [master] doc: add syntax for multiple option

Back to archive index
Yasuhiro Horimoto null+****@clear*****
Mon Jan 7 18:24:08 JST 2019


Yasuhiro Horimoto	2019-01-07 18:24:08 +0900 (Mon, 07 Jan 2019)

  Revision: ff1eb6e76f5f8bafee4939d9d3c274fe4b66881f
  https://github.com/groonga/groonga/commit/ff1eb6e76f5f8bafee4939d9d3c274fe4b66881f

  Message:
    doc: add syntax for multiple option

  Modified files:
    doc/locale/ja/LC_MESSAGES/reference.po
    doc/source/reference/tokenizers/token_mecab.rst

  Modified: doc/locale/ja/LC_MESSAGES/reference.po (+9 -11)
===================================================================
--- doc/locale/ja/LC_MESSAGES/reference.po    2019-01-07 18:13:12 +0900 (d8b034da1)
+++ doc/locale/ja/LC_MESSAGES/reference.po    2019-01-07 18:24:08 +0900 (4373ae2cf)
@@ -27158,9 +27158,6 @@ msgstr "省略可能な引数 ``columns`` があります。"
 msgid "Specify a column that specified a stop word."
 msgstr "ストップワードを指定するカラムを指定します。"
 
-msgid "Tokenizers"
-msgstr "トークナイザー"
-
 msgid ""
 "Groonga has tokenizer module that tokenizes text. It is used when the "
 "following cases:"
@@ -27206,9 +27203,6 @@ msgstr ""
 "doc:`/reference/commands/tokenize` コマンドを使って :ref:`token-bigram` トー"
 "クナイザーを試す例を以下に示します。"
 
-msgid "What is \"tokenize\"?"
-msgstr "「トークナイズ」とはなにか"
-
 msgid ""
 "\"tokenize\" is the process that extracts zero or more tokens from a text. "
 "There are some \"tokenize\" methods."
@@ -27321,11 +27315,8 @@ msgstr ""
 "い人にとっては適合率が挙がっています。しかし、 ``Hello World`` も ``or`` を含"
 "んでいるのに見つかっていないので再現率が下がっています。"
 
-msgid "Built-in tokenizsers"
-msgstr "組み込みトークナイザー"
-
-msgid "Here is a list of built-in tokenizers:"
-msgstr "以下は組み込みのトークナイザーのリストです。"
+msgid "Tokenizers"
+msgstr "トークナイザー"
 
 msgid "``TokenBigram``"
 msgstr ""
@@ -27970,6 +27961,13 @@ msgid "``TokenMecab`` has optional parameter::"
 msgstr "``TokenMecab`` は、省略可能な引数があります。"
 
 msgid ""
+"``TokenMecab`` also specify multiple options as above. You can also specify "
+"mingle multiple options except above example."
+msgstr ""
+"上記のように、 ``TokenMecab`` は複数のオプションを指定することもできます。上"
+"記の例以外にも複数のオプションを組み合わせて指定できます。"
+
+msgid ""
 "Here is an example of ``TokenMeCab``. ``東京都`` is tokenized to ``東京`` "
 "and ``都``. They don't include ``京都``:"
 msgstr ""

  Modified: doc/source/reference/tokenizers/token_mecab.rst (+12 -1)
===================================================================
--- doc/source/reference/tokenizers/token_mecab.rst    2019-01-07 18:13:12 +0900 (96b7ce1f1)
+++ doc/source/reference/tokenizers/token_mecab.rst    2019-01-07 18:24:08 +0900 (c31dced64)
@@ -39,11 +39,15 @@ Syntax
 
 ``TokenMecab`` has optional parameter::
 
+No options::
+
   TokenMecab
 
+Specify option::
+
   TokenMecab("include_class", true)
 
-  TokenMecab("target_class", true)
+  TokenMecab("target_class", "a_part_of_speech")
 
   TokenMecab("include_reading", true)
 
@@ -51,6 +55,13 @@ Syntax
 
   TokenMecab("use_reading", true)
 
+Specify multiple options::
+
+  TokenMecab("target_class", "名詞", "include_reading", true)
+
+``TokenMecab`` also specify multiple options as above.
+You can also specify mingle multiple options except above example.
+
 Usage
 -----
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.osdn.me/mailman/archives/groonga-commit/attachments/20190107/fd574b15/attachment-0001.html>


More information about the Groonga-commit mailing list
Back to archive index