[Groonga-commit] groonga/groonga [master] [doc][suggest] add partial document about correction.

Back to archive index

null+****@clear***** null+****@clear*****
2011年 8月 10日 (水) 18:26:39 JST


Kouhei Sutou	2011-08-10 09:26:39 +0000 (Wed, 10 Aug 2011)

  New Revision: 6d475d95547c97859739170a25b6b581014cfdc9

  Log:
    [doc][suggest] add partial document about correction.

  Added files:
    doc/source/suggest/correction.txt
  Modified files:
    doc/source/suggest.txt
    doc/source/suggest/completion.txt

  Modified: doc/source/suggest.txt (+2 -0)
===================================================================
--- doc/source/suggest.txt    2011-08-10 06:31:53 +0000 (a9618ca)
+++ doc/source/suggest.txt    2011-08-10 09:26:39 +0000 (92e07f3)
@@ -12,3 +12,5 @@ Groonga has suggest feature. This section describes how to use it and how it wor
 
    suggest/introduction
    suggest/completion
+   suggest/correction
+   suggest/suggestion

  Modified: doc/source/suggest/completion.txt (+2 -2)
===================================================================
--- doc/source/suggest/completion.txt    2011-08-10 06:31:53 +0000 (077ed8e)
+++ doc/source/suggest/completion.txt    2011-08-10 09:26:39 +0000 (263176f)
@@ -18,8 +18,8 @@ feature:
 How it works
 ------------
 
-The completion uses three searches to compute completed
-words:
+The completion feature uses three searches to compute
+completed words:
 
   1. Prefix RK search against registered words.
   2. Cooccurrence search against learned data.

  Added: doc/source/suggest/correction.txt (+52 -0) 100644
===================================================================
--- /dev/null
+++ doc/source/suggest/correction.txt    2011-08-10 09:26:39 +0000 (4a5002a)
@@ -0,0 +1,52 @@
+.. -*- rst -*-
+
+.. highlightlang:: none
+
+.. groonga-command
+.. % groonga-suggest-create-dataset /tmp/example.db query
+
+Correction
+==========
+
+This section describes about the following of the correction
+feature:
+
+  * How it works
+  * How to use
+  * How to learn
+
+How it works
+------------
+
+The correction feature uses three searches to compute completed
+words:
+
+  1. Cooccurrence search against learned data.
+  3. Similar search against registered words. (optional)
+
+Cooccurrence search
+^^^^^^^^^^^^^^^^^^^
+
+Cooccurrence search can find registered words from user's
+wrong input. It uses user submit sequences that will be
+learned from query logs, access logs and so on.
+
+For example, there is the following user input sequence:
+
++-----------------+
+|   submit        |
++=================+
+| serach (typo!)  |
++-----------------+
+| search (fixed!) |
++-----------------+
+
+Groonga creates the following completion pair:
+
++----------+--------------------+
+|  input   |   corrected word   |
++----------+--------------------+
+|serach    |search              |
++----------+--------------------+
+
+...




Groonga-commit メーリングリストの案内
Back to archive index