Skip to content

Commit 21c3af0

Browse files
committed
[DOCS] Add attribute to escape minimal pt token link in Asciidoctor (#41613)
1 parent fff6e4a commit 21c3af0

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 stems words (similar to `snowball`, but with more
511
options). The `language`/`name` parameter controls the stemmer with the
612
following available values:
@@ -47,7 +53,7 @@ http://dl.acm.org/citation.cfm?id=1141523&dl=ACM&coll=DL&CFID=179095584&CFTOKEN=
4753
http://www.illc.uva.nl/Publications/ResearchReports/MoL-2003-02.text.pdf[indonesian],
4854
http://www.ercim.eu/publication/ws-proceedings/CLEF2/savoy.pdf[light_italian],
4955
http://dl.acm.org/citation.cfm?id=1141523&dl=ACM&coll=DL&CFID=179095584&CFTOKEN=80067181[light_portuguese],
50-
http://www.inf.ufrgs.br/\~buriol/papers/Orengo_CLEF07.pdf[minimal_portuguese],
56+
{min-pt-stemmer-values-url}[minimal_portuguese],
5157
http://www.inf.ufrgs.br/\~viviane/rslp/index.htm[portuguese],
5258
http://doc.rero.ch/lm.php?url=1000%2C43%2C4%2C20091209094227-CA%2FDolamic_Ljiljana_-_Indexing_and_Searching_Strategies_for_the_Russian_20091209.pdf[light_russian],
5359
http://www.ercim.eu/publication/ws-proceedings/CLEF2/savoy.pdf[light_spanish],

0 commit comments

Comments
 (0)