Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion manual/chinese/Searching/Spell_correction.md
Original file line number Diff line number Diff line change
Expand Up @@ -331,6 +331,7 @@ CALL QSUGGEST('bag with tasel', 'products', 1 as sentence);
<!-- end -->

##### 不同的显示模式
<!-- 示例显示 -->
`1 as result_line` 选项改变了建议在输出中的显示方式。不再将每条建议显示为独立行,而是将所有建议、距离和文档数合并显示在一行。以下示例演示该功能:

<!-- intro -->
Expand All @@ -356,6 +357,7 @@ CALL QSUGGEST('bagg with tasel', 'products', 1 as result_line);

##### 使用 force_bigrams 更好地处理转置错误
`force_bigrams` 选项可以帮助处理包含转置错误的单词,比如 "ipohne" 与 "iphone"。通过使用双字母组合而非三字母组合,算法能更好地处理字符的转置情况。
<!-- 示例强制双字 -->

<!-- intro -->
##### 例子:
Expand All @@ -379,7 +381,6 @@ CALL SUGGEST('ipohne', 'products', 1 as force_bigrams);
### 演示

* [这个交互式课程](https://play.manticoresearch.com/didyoumean/) 演示了 `CALL SUGGEST` 在一个小型网页应用中的工作方式。

![CALL SUGGEST 示例](didyoumean.png){.scale-0.5}


Expand Down
8 changes: 4 additions & 4 deletions manual/english/Searching/Spell_correction.md
Original file line number Diff line number Diff line change
Expand Up @@ -331,6 +331,8 @@ CALL QSUGGEST('bag with tasel', 'products', 1 as sentence);
<!-- end -->

##### Different display mode

<!-- example display -->
The `1 as result_line` option changes the way the suggestions are displayed in the output. Instead of showing each suggestion in a separate row, it displays all suggestions, distances, and docs in a single row. Here's an example to demonstrate this:

<!-- intro -->
Expand All @@ -355,6 +357,8 @@ CALL QSUGGEST('bagg with tasel', 'products', 1 as result_line);
<!-- end -->

##### Using force_bigrams for better transposition handling

<!-- example force_bigrams -->
The `force_bigrams` option can help with words that have transposition errors, such as "ipohne" vs "iphone". By using bigrams instead of trigrams, the algorithm can better handle character transpositions.

<!-- intro -->
Expand All @@ -381,7 +385,3 @@ CALL SUGGEST('ipohne', 'products', 1 as force_bigrams);
* [This interactive course](https://play.manticoresearch.com/didyoumean/) shows how `CALL SUGGEST` works in a little web app.

![CALL SUGGEST example](didyoumean.png){.scale-0.5}


<!-- proofread -->

3 changes: 2 additions & 1 deletion manual/russian/Searching/Spell_correction.md
Original file line number Diff line number Diff line change
Expand Up @@ -331,6 +331,7 @@ CALL QSUGGEST('bag with tasel', 'products', 1 as sentence);
<!-- end -->

##### Другой режим отображения
<!-- пример отображения -->
Опция `1 as result_line` меняет способ отображения предложений в выводе. Вместо отображения каждого предложения в отдельной строке, все предложения, расстояния и документы показываются в одной строке. Вот пример для демонстрации:

<!-- intro -->
Expand All @@ -356,6 +357,7 @@ CALL QSUGGEST('bagg with tasel', 'products', 1 as result_line);

##### Использование force_bigrams для лучшей обработки транспозиций
Опция `force_bigrams` может помочь с словами, содержащими ошибки транспозиции, например "ipohne" вместо "iphone". Используя биграммы вместо триграмм, алгоритм лучше справляется с перестановками символов.
<!-- пример force_bigrams -->

<!-- intro -->
##### Пример:
Expand All @@ -379,7 +381,6 @@ CALL SUGGEST('ipohne', 'products', 1 as force_bigrams);
### Демонстрация

* [Этот интерактивный курс](https://play.manticoresearch.com/didyoumean/) показывает, как работает `CALL SUGGEST` в небольшом веб-приложении.

![Пример CALL SUGGEST](didyoumean.png){.scale-0.5}


Expand Down
2 changes: 1 addition & 1 deletion translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@
"Data_creation_and_modification/Updating_documents/REPLACE_vs_UPDATE.md": "40bc01e20427ca60c03219faa37f52c1",
"Data_creation_and_modification/Updating_documents/UPDATE.md": "cd2be32a59903de07f40f2eed6bc1628",
"Creating_a_table/NLP_and_tokenization/Low-level_tokenization.md": "7dd1833dc6a4d2cc7811453b5f626b43",
"Searching/Spell_correction.md": "5f651cae962168c1da8365633a9ad9ca",
"Searching/Spell_correction.md": "e4f9aa31a07d1a14959c344420327be6",
"Installation/Compiling_from_sources.md": "4ca1372b94a832235042f6aab54ecdb0",
"Node_info_and_management/SHOW_THREADS.md": "c5f1478f99f19f93f6a9bbe2bbfc69bd",
"Creating_a_table/Data_types.md": "f9742fb729ccad2604dcd14573ce2554",
Expand Down