[Groonga-commit] groonga/groonga at 0c44f25 [master] doc: add explain about specify multiple delimiters

Back to archive index
Yasuhiro Horimoto null+****@clear*****
Wed Dec 19 09:37:14 JST 2018


Yasuhiro Horimoto	2018-12-19 09:37:14 +0900 (Wed, 19 Dec 2018)

  Revision: 0c44f256de7d12a46984c51beaa5095e27df774b
  https://github.com/groonga/groonga/commit/0c44f256de7d12a46984c51beaa5095e27df774b

  Message:
    doc: add explain about specify multiple delimiters

  Modified files:
    doc/locale/ja/LC_MESSAGES/reference.po
    doc/source/example/reference/tokenizers/token-delimit-delimiter-option.log
    doc/source/reference/tokenizers.rst

  Modified: doc/locale/ja/LC_MESSAGES/reference.po (+9 -4)
===================================================================
--- doc/locale/ja/LC_MESSAGES/reference.po    2018-12-19 08:45:31 +0900 (b74ce8db6)
+++ doc/locale/ja/LC_MESSAGES/reference.po    2018-12-19 09:37:14 +0900 (b9a5e84d0)
@@ -27264,18 +27264,23 @@ msgstr "以下は ``TokenDelimit`` の例です。"
 
 msgid ""
 "``TokenDelimit`` can also specify options. ``TokenDelimit`` has "
-"``delimiter`` option and ``pattern`` option. ``delimiter`` option can split "
-"token with a specified characters."
+"``delimiter`` option and ``pattern`` option."
 msgstr ""
 "``TokenDelimit`` はオプションを指定することもできます。 ``TokenDelimit`` は "
 "``delimiter`` オプションと ``pattern`` オプションを持っています。"
+
+msgid ""
+"``delimiter`` option can split token with a specified characters. "
+"``delimiter`` option can also specify multiple delimiters."
+msgstr ""
 "``delimiter`` オプションは、指定した文字でトークンに分割できます。"
+"``delimiter`` オプションは、複数の区切り文字を指定することもできます。"
 
 msgid ""
-"For example, ``Hello,World`` is tokenize to ``Hello`` and ``World`` with "
+"For example, ``Hello, World`` is tokenize to ``Hello`` and ``World`` with "
 "``delimiter`` option as below."
 msgstr ""
-"例えば、以下のように ``Hello,World`` は、``Hello`` と ``World`` にトークナイ"
+"例えば、以下のように ``Hello, World`` は、``Hello`` と ``World`` にトークナイ"
 "ズされます。"
 
 msgid ""

  Modified: doc/source/example/reference/tokenizers/token-delimit-delimiter-option.log (+1 -1)
===================================================================
--- doc/source/example/reference/tokenizers/token-delimit-delimiter-option.log    2018-12-19 08:45:31 +0900 (ffa850df8)
+++ doc/source/example/reference/tokenizers/token-delimit-delimiter-option.log    2018-12-19 09:37:14 +0900 (0782b24ef)
@@ -1,6 +1,6 @@
 Execution example::
 
-  tokenize 'TokenDelimit("delimiter", ",")' "Hello,World"
+  tokenize 'TokenDelimit("delimiter", ",", "delimiter", " ")' "Hello, World"
   # [
   #   [
   #     0, 

  Modified: doc/source/reference/tokenizers.rst (+4 -2)
===================================================================
--- doc/source/reference/tokenizers.rst    2018-12-19 08:45:31 +0900 (6bb396db9)
+++ doc/source/reference/tokenizers.rst    2018-12-19 09:37:14 +0900 (b96b950f2)
@@ -431,14 +431,16 @@ Here is an example of ``TokenDelimit``:
 
 ``TokenDelimit`` can also specify options.
 ``TokenDelimit`` has ``delimiter`` option and ``pattern`` option.
+
 ``delimiter`` option can split token with a specified characters.
+``delimiter`` option can also specify multiple delimiters.
 
-For example, ``Hello,World`` is tokenize to ``Hello`` and ``World``
+For example, ``Hello, World`` is tokenize to ``Hello`` and ``World``
 with ``delimiter`` option as below.
 
 .. groonga-command
 .. include:: ../example/reference/tokenizers/token-delimit-delimiter-option.log
-.. tokenize 'TokenDelimit("delimiter", ",")' "Hello,World"
+.. tokenize 'TokenDelimit("delimiter", ",", "delimiter", " ")' "Hello, World"
 
 ``pattern`` option can split token with a regular expression.
 You can except needless space by ``pattern`` option.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.osdn.me/mailman/archives/groonga-commit/attachments/20181219/2a2bb670/attachment-0001.html>


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