Skip to content

Commit 4c90ffe

Browse files
committed
[DOCS] Add attribute to escape minimal pt token link in Asciidoctor (#41613)
1 parent 5815565 commit 4c90ffe

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

docs/reference/analysis/tokenfilters/stemmer-tokenfilter.asciidoc

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
[[analysis-stemmer-tokenfilter]]
22
=== Stemmer Token Filter
33

4+
// Adds attribute for the 'minimal_portuguese' stemmer values link.
5+
// This link contains ~, which is converted to subscript.
6+
// This attribute prevents that substitution.
7+
// See https://github.com/asciidoctor/asciidoctor/wiki/How-to-prevent-URLs-containing-formatting-characters-from-getting-mangled
8+
:min-pt-stemmer-values-url: http://www.inf.ufrgs.br/~buriol/papers/Orengo_CLEF07.pdf
9+
410
A filter that provides access to (almost) all of the available stemming token
511
filters through a single unified interface. For example:
612

@@ -152,7 +158,7 @@ Portuguese::
152158

153159
http://snowball.tartarus.org/algorithms/portuguese/stemmer.html[`portuguese`],
154160
http://dl.acm.org/citation.cfm?id=1141523&dl=ACM&coll=DL&CFID=179095584&CFTOKEN=80067181[*`light_portuguese`*],
155-
http://www.inf.ufrgs.br/\~buriol/papers/Orengo_CLEF07.pdf[`minimal_portuguese`],
161+
{min-pt-stemmer-values-url}[`minimal_portuguese`],
156162
http://www.inf.ufrgs.br/\~viviane/rslp/index.htm[`portuguese_rslp`]
157163

158164
Romanian::

0 commit comments

Comments
 (0)