Debian Codegraph @

doc/locale/en/LC_MESSAGES/reference/scorer.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 "Scorer"
21 msgstr "Scorer"
22
23 msgid "Summary"
24 msgstr "Summary"
25
26 msgid "Groonga has scorer module that customizes score function. Score function computes score of matched record. The default scorer function uses the number of appeared terms. It is also known as TF (term frequency)."
27 msgstr "Groonga has scorer module that customizes score function. Score function computes score of matched record. The default scorer function uses the number of appeared terms. It is also known as TF (term frequency)."
28
29 msgid "TF is a fast score function but it's not suitable for the following cases:"
30 msgstr "TF is a fast score function but it's not suitable for the following cases:"
31
32 msgid "Search query contains one or more frequently-appearing words such as \"the\" and \"a\"."
33 msgstr "Search query contains one or more frequently-appearing words such as \"the\" and \"a\"."
34
35 msgid "Document contains many same keywords such as \"They are keyword, keyword, keyword ... and keyword\". Search engine spammer may use the technique."
36 msgstr "Document contains many same keywords such as \"They are keyword, keyword, keyword ... and keyword\". Search engine spammer may use the technique."
37
38 msgid "Score function can solve these cases. For example, `TF-IDF <https://en.wikipedia.org/wiki/Tf%E2%80%93idf>`_ (term frequency-inverse document frequency) can solve the first case. `Okapi BM25 <https://en.wikipedia.org/wiki/Okapi_BM25>`_ can solve the second case. But their are slower than TF."
39 msgstr "Score function can solve these cases. For example, `TF-IDF <https://en.wikipedia.org/wiki/Tf%E2%80%93idf>`_ (term frequency-inverse document frequency) can solve the first case. `Okapi BM25 <https://en.wikipedia.org/wiki/Okapi_BM25>`_ can solve the second case. But their are slower than TF."
40
41 msgid "Groonga provides TF-IDF based scorer as :doc:`/reference/scorers/scorer_tf_idf` but doesn't provide Okapi BM25 based scorer yet."
42 msgstr "Groonga provides TF-IDF based scorer as :doc:`/reference/scorers/scorer_tf_idf` but doesn't provide Okapi BM25 based scorer yet."
43
44 msgid "You don't need to resolve scoring only by score function. Score function is highly depends on search query. You may be able to use metadata of matched record."
45 msgstr "You don't need to resolve scoring only by score function. Score function is highly depends on search query. You may be able to use metadata of matched record."
46
47 msgid "For example, Google uses `PageRank <https://en.wikipedia.org/wiki/PageRank>`_ for scoring. You may be able to use data type (\"title\" data are important rather than \"memo\" data), tag, geolocation and so on."
48 msgstr "For example, Google uses `PageRank <https://en.wikipedia.org/wiki/PageRank>`_ for scoring. You may be able to use data type (\"title\" data are important rather than \"memo\" data), tag, geolocation and so on."
49
50 msgid "Please stop to think about only score function for scoring."
51 msgstr "Please stop to think about only score function for scoring."
52
53 msgid "Usage"
54 msgstr "Usage"
55
56 msgid "This section describes how to use scorer."
57 msgstr "This section describes how to use scorer."
58
59 msgid "Here are a schema definition and sample data to show usage."
60 msgstr "Here are a schema definition and sample data to show usage."
61
62 msgid "Sample schema:"
63 msgstr "Sample schema:"
64
65 msgid "Execution example::"
66 msgstr "Execution example::"
67
68 msgid "Sample data:"
69 msgstr "Sample data:"
70
71 msgid "You can specify custom score function in :ref:`select-match-columns`. There are some syntaxes."
72 msgstr "You can specify custom score function in :ref:`select-match-columns`. There are some syntaxes."
73
74 msgid "For score function that doesn't require any parameter such as :doc:`/reference/scorers/scorer_tf_idf`::"
75 msgstr "For score function that doesn't require any parameter such as :doc:`/reference/scorers/scorer_tf_idf`::"
76
77 msgid "You can specify weight::"
78 msgstr "You can specify weight::"
79
80 msgid "For score function that requires one or more parameters such as :doc:`/reference/scorers/scorer_tf_at_most`::"
81 msgstr "For score function that requires one or more parameters such as :doc:`/reference/scorers/scorer_tf_at_most`::"
82
83 msgid "You can use different score function for each :ref:`select-match-columns`::"
84 msgstr "You can use different score function for each :ref:`select-match-columns`::"
85
86 msgid "Here is a simplest example:"
87 msgstr "Here is a simplest example:"
88
89 msgid "``Groonga! Groonga! Groonga! Groonga is very fast!`` contains 4 ``Groonga``. If you use TF based scorer that is the default scorer, ``_score`` is ``4``. But the actual ``_score`` is ``2``. Because the ``select`` command uses TF-IDF based scorer ``scorer_tf_idf()``."
90 msgstr "``Groonga! Groonga! Groonga! Groonga is very fast!`` contains 4 ``Groonga``. If you use TF based scorer that is the default scorer, ``_score`` is ``4``. But the actual ``_score`` is ``2``. Because the ``select`` command uses TF-IDF based scorer ``scorer_tf_idf()``."
91
92 msgid "Here is an example that uses weight:"
93 msgstr "Here is an example that uses weight:"
94
95 msgid "``Groonga! Groonga! Groonga! Groonga is very fast!`` has ``22`` as ``_score``. It had ``2`` as ``_score`` in the previous example that doesn't specify weight."
96 msgstr "``Groonga! Groonga! Groonga! Groonga is very fast!`` has ``22`` as ``_score``. It had ``2`` as ``_score`` in the previous example that doesn't specify weight."
97
98 msgid "Here is an example that uses scorer that requires one argument. :doc:`/reference/scorers/scorer_tf_at_most` scorer requires one argument. You can limit TF score by the scorer."
99 msgstr "Here is an example that uses scorer that requires one argument. :doc:`/reference/scorers/scorer_tf_at_most` scorer requires one argument. You can limit TF score by the scorer."
100
101 msgid "``Groonga! Groonga! Groonga! Groonga is very fast!`` contains 4 ``Groonga``. If you use normal TF based scorer that is the default scorer, ``_score`` is ``4``. But the actual ``_score`` is ``2``. Because the scorer used in the ``select`` command limits the maximum score value to ``2``."
102 msgstr "``Groonga! Groonga! Groonga! Groonga is very fast!`` contains 4 ``Groonga``. If you use normal TF based scorer that is the default scorer, ``_score`` is ``4``. But the actual ``_score`` is ``2``. Because the scorer used in the ``select`` command limits the maximum score value to ``2``."
103
104 msgid "Here is an example that uses multiple scorers:"
105 msgstr "Here is an example that uses multiple scorers:"
106
107 msgid "The ``--match_columns`` uses ``scorer_tf_idf(title)`` and ``scorer_tf_at_most(content, 2.0)``. ``_score`` value is sum of them."
108 msgstr "The ``--match_columns`` uses ``scorer_tf_idf(title)`` and ``scorer_tf_at_most(content, 2.0)``. ``_score`` value is sum of them."
109
110 msgid "You can use the default scorer and custom scorer in the same ``--match_columns``. You can use the default scorer by just specifying a match column:"
111 msgstr "You can use the default scorer and custom scorer in the same ``--match_columns``. You can use the default scorer by just specifying a match column:"
112
113 msgid "The ``--match_columns`` uses the default scorer (TF) for ``title`` and :doc:`/reference/scorers/scorer_tf_at_most` for ``content``. ``_score`` value is sum of them."
114 msgstr "The ``--match_columns`` uses the default scorer (TF) for ``title`` and :doc:`/reference/scorers/scorer_tf_at_most` for ``content``. ``_score`` value is sum of them."
115
116 msgid "Built-in scorers"
117 msgstr "Built-in scorers"
118
119 msgid "Here are built-in scores:"
120 msgstr "Here are built-in scores:"