null+****@clear*****
null+****@clear*****
2011年 8月 9日 (火) 18:48:18 JST
Kouhei Sutou 2011-08-09 09:48:18 +0000 (Tue, 09 Aug 2011)
New Revision: 254650e4f922a9e50d87b5003f28ec0e573ddfec
Log:
[doc][suggest] add about completion.
Added files:
doc/source/suggest/completion.txt
Modified files:
doc/source/suggest.txt
Modified: doc/source/suggest.txt (+1 -0)
===================================================================
--- doc/source/suggest.txt 2011-08-09 09:27:44 +0000 (fed977d)
+++ doc/source/suggest.txt 2011-08-09 09:48:18 +0000 (a9618ca)
@@ -11,3 +11,4 @@ Groonga has suggest feature. This section describes how to use it and how it wor
:maxdepth: 2
suggest/introduction
+ suggest/completion
Added: doc/source/suggest/completion.txt (+32 -0) 100644
===================================================================
--- /dev/null
+++ doc/source/suggest/completion.txt 2011-08-09 09:48:18 +0000 (124dcc1)
@@ -0,0 +1,32 @@
+.. -*- rst -*-
+
+.. highlightlang:: none
+
+Completion
+==========
+
+This section describes about the following of the completion
+feature:
+
+ * How it works
+ * How to learn
+
+How it works
+------------
+
+The completion uses three searches to compute completed
+words:
+
+ 1. Prefix RK search against registered words.
+ 2. Cooccurrence search against learned data.
+ 3. Optional prefix search against registered words.
+
+Prefix RK search
+^^^^^^^^^^^^^^^^
+
+RK means Romaji and Katakana. Prefix RK search can find
+registered words by romaji, katakana or hiragana.
+
+For example, there is a registered word "日本". "ニホン" (it
+must be katakana) is registered as its reading. An user can
+find "日本" by "ni", "二" or "に".