Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
doc: separate NormalizerNFKC51 into other pages
- Loading branch information
Showing
4 changed files
with
91 additions
and
96 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 15 additions & 2 deletions
17
doc/source/example/reference/normalizers/normalizer-nfkc51.log
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,17 @@ | ||
Execution example:: | ||
|
||
table_create NFKC51Lexicon TABLE_HASH_KEY ShortText --normalizer NormalizerNFKC51 | ||
# [[0, 1337566253.89858, 0.000355720520019531], true] | ||
normalize NormalizerNFKC51 "㎡" | ||
# [ | ||
# [ | ||
# 0, | ||
# 1547241266.278454, | ||
# 0.0001294612884521484 | ||
# ], | ||
# { | ||
# "normalized": "m2", | ||
# "types": [ | ||
# ], | ||
# "checks": [ | ||
# ] | ||
# } | ||
# ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
.. -*- rst -*- | ||
.. highlightlang:: none | ||
|
||
.. groonga-command | ||
.. database: normalisers | ||
.. _normalizer-nfkc51: | ||
|
||
``NormalizerNFKC51`` | ||
===================== | ||
|
||
Summary | ||
------- | ||
|
||
``NormalizerNFKC51`` normalizes texts by Unicode NFKC (Normalization | ||
Form Compatibility Composition) for Unicode version 5.1. It supports | ||
only UTF-8 encoding. | ||
|
||
Normally you don't need to use ``NormalizerNFKC51`` explicitly. You can | ||
use ``NormalizerAuto`` instead. | ||
|
||
Syntax | ||
------ | ||
|
||
``NormalizerNFKC51`` hasn't parameter:: | ||
|
||
NormalizerNFKC51 | ||
|
||
Usage | ||
----- | ||
|
||
Here is an example that uses ``NormalizerNFKC51`` normalizer: | ||
|
||
.. groonga-command | ||
.. include:: ../../example/reference/normalizers/normalizer-nfkc51.log | ||
.. table_create NFKC51Lexicon TABLE_HASH_KEY ShortText --normalizer NormalizerNFKC51 | ||