Debian Codegraph @

doc/locale/en/LC_MESSAGES/reference/functions/snippet.po

raw
1 # -*- po -*-
2 # English translations for Groonga package.
3 # Copyright (C) 2009-2026 Groonga Project
4 # This file is distributed under the same license as the Groonga package.
5 # Automatically generated, 2026.
6 #
7 msgid ""
8 msgstr ""
9 "Project-Id-Version: Groonga 16.0.5\n"
10 "Report-Msgid-Bugs-To: \n"
11 "PO-Revision-Date: 2026-05-22 06:03+0000\n"
12 "Last-Translator: Automatically generated\n"
13 "Language-Team: none\n"
14 "MIME-Version: 1.0\n"
15 "Content-Type: text/plain; charset=UTF-8\n"
16 "Content-Transfer-Encoding: 8bit\n"
17 "Language: en\n"
18 "Plural-Forms: nplurals=2; plural=(n != 1);\n"
19
20 msgid "``snippet``"
21 msgstr "``snippet``"
22
23 msgid "Summary"
24 msgstr "Summary"
25
26 msgid "This function extracts snippets of target text around search keywords (``KWIC``. ``KeyWord In Context``)."
27 msgstr "This function extracts snippets of target text around search keywords (``KWIC``. ``KeyWord In Context``)."
28
29 msgid "If you want to use this function for normal Web application, :doc:`snippet_html` may be suitable. It's a HTML specific version of this function."
30 msgstr "If you want to use this function for normal Web application, :doc:`snippet_html` may be suitable. It's a HTML specific version of this function."
31
32 msgid "Syntax"
33 msgstr "Syntax"
34
35 msgid "``snippet`` requires at least one parameter that is the snippet target text::"
36 msgstr "``snippet`` requires at least one parameter that is the snippet target text::"
37
38 msgid "You can specify one ore more tuples of keyword, open tag and close tag::"
39 msgstr "You can specify one ore more tuples of keyword, open tag and close tag::"
40
41 msgid "If you specify default open tag and default close tag, you can specify only keywords::"
42 msgstr "If you specify default open tag and default close tag, you can specify only keywords::"
43
44 msgid "If you specify default open tag and default close tag and omit keywords, keywords are extracted from the current condition automatically like :doc:`snippet_html`::"
45 msgstr "If you specify default open tag and default close tag and omit keywords, keywords are extracted from the current condition automatically like :doc:`snippet_html`::"
46
47 msgid "You can specify options as the last argument with all syntaxes::"
48 msgstr "You can specify options as the last argument with all syntaxes::"
49
50 msgid "Usage"
51 msgstr "Usage"
52
53 msgid "Here are a schema definition and sample data to show usage."
54 msgstr "Here are a schema definition and sample data to show usage."
55
56 msgid "Execution example::"
57 msgstr "Execution example::"
58
59 msgid "``snippet`` extracts keywords from conditions specified in ``--query`` and/or ``--filter`` automatically when you specify ``default_open_tag`` option and ``default_close_tag`` and don't specify keywords. It's similar to :doc:`snippet_html`."
60 msgstr "``snippet`` extracts keywords from conditions specified in ``--query`` and/or ``--filter`` automatically when you specify ``default_open_tag`` option and ``default_close_tag`` and don't specify keywords. It's similar to :doc:`snippet_html`."
61
62 msgid "The following example uses ``--query \"fast performance\"``. In this case, ``fast`` and ``performance`` are used as keywords."
63 msgstr "The following example uses ``--query \"fast performance\"``. In this case, ``fast`` and ``performance`` are used as keywords."
64
65 msgid "``--query \"fast performance\"`` matches to only the first record's content. This ``snippet`` extracts two text parts that include the keywords ``fast`` or ``performance`` and surrounds the keywords with ``[`` and ``]``."
66 msgstr "``--query \"fast performance\"`` matches to only the first record's content. This ``snippet`` extracts two text parts that include the keywords ``fast`` or ``performance`` and surrounds the keywords with ``[`` and ``]``."
67
68 msgid "The max number of text parts is 3 by default. You can change it by ``max_n_results`` option:"
69 msgstr "The max number of text parts is 3 by default. You can change it by ``max_n_results`` option:"
70
71 msgid "It returns only one snippet because ``\"max_n_results\": 1`` is specified."
72 msgstr "It returns only one snippet because ``\"max_n_results\": 1`` is specified."
73
74 msgid "The max size of a text part is 200byte by default. The unit is bytes not characters. The size doesn't include inserted ``[`` and ``[``. You can change it by ``width`` option:"
75 msgstr "The max size of a text part is 200byte by default. The unit is bytes not characters. The size doesn't include inserted ``[`` and ``[``. You can change it by ``width`` option:"
76
77 msgid "You can detect snippet delimiter with regular expression by ``delimiter_regexp`` option. You can use ``\\.\\s*`` to use only text in the target sentence. Note that you need to escape ``\\`` in string:"
78 msgstr "You can detect snippet delimiter with regular expression by ``delimiter_regexp`` option. You can use ``\\.\\s*`` to use only text in the target sentence. Note that you need to escape ``\\`` in string:"
79
80 msgid "You can see the detected delimiters (``.`` and following white spaces) aren't included in the result snippets. This is intentional behavior."
81 msgstr "You can see the detected delimiters (``.`` and following white spaces) aren't included in the result snippets. This is intentional behavior."
82
83 msgid "You can specify keywords explicitly instead of extracting keywords from the current condition:"
84 msgstr "You can specify keywords explicitly instead of extracting keywords from the current condition:"
85
86 msgid "This ``snippet`` returns two snippets for the first record and ``null`` for the second record. Because the second record doesn't have any specified keywords."
87 msgstr "This ``snippet`` returns two snippets for the first record and ``null`` for the second record. Because the second record doesn't have any specified keywords."
88
89 msgid "You can specify open tag and close tag for each keyword:"
90 msgstr "You can specify open tag and close tag for each keyword:"
91
92 msgid "This ``snippet`` surrounds ``fast`` with ``[`` and ``]]`` and ``performance`` with ``(`` and ``)``."
93 msgstr "This ``snippet`` surrounds ``fast`` with ``[`` and ``]]`` and ``performance`` with ``(`` and ``)``."
94
95 msgid "TODO: ``html_escape`` option and so on"
96 msgstr "TODO: ``html_escape`` option and so on"
97
98 msgid "Parameters"
99 msgstr "Parameters"
100
101 msgid "Required parameters"
102 msgstr "Required parameters"
103
104 msgid "TODO"
105 msgstr "TODO"
106
107 msgid "Optional parameters"
108 msgstr "Optional parameters"
109
110 msgid "``max_n_results``"
111 msgstr "``max_n_results``"
112
113 msgid "``width``"
114 msgstr "``width``"
115
116 msgid "Return value"
117 msgstr "Return value"
118
119 msgid "This function returns an array of string or ``null``. If This function can't find any snippets, it returns ``null``."
120 msgstr "This function returns an array of string or ``null``. If This function can't find any snippets, it returns ``null``."
121
122 msgid "An element of array is a snippet::"
123 msgstr "An element of array is a snippet::"
124
125 msgid "A snippet includes one or more keywords. The max byte size of a snippet except open tag and close tag is 200byte. The unit isn't the number of characters."
126 msgstr "A snippet includes one or more keywords. The max byte size of a snippet except open tag and close tag is 200byte. The unit isn't the number of characters."
127
128 msgid "You can change this by :ref:`snippet-width` option."
129 msgstr "You can change this by :ref:`snippet-width` option."
130
131 msgid "The array size is larger than or equal to 1 and less than or equal to 3."
132 msgstr "The array size is larger than or equal to 1 and less than or equal to 3."
133
134 msgid "You can change this by :ref:`snippet-max-n-results` option."
135 msgstr "You can change this by :ref:`snippet-max-n-results` option."
136
137 msgid "See also"
138 msgstr "See also"
139
140 msgid ":doc:`snippet_html`"
141 msgstr ":doc:`snippet_html`"
142
143 msgid ":doc:`/reference/commands/select`"
144 msgstr ":doc:`/reference/commands/select`"