[DOCS] Add attribute to escape minimal pt token link in Asciidoctor (#41613)

This commit is contained in:
James Rodewig 2019-04-30 14:11:24 -04:00
parent 005296dac6
commit d46f55f013
1 changed files with 7 additions and 1 deletions

View File

@ -1,6 +1,12 @@
[[analysis-stemmer-tokenfilter]]
=== Stemmer Token Filter
// Adds attribute for the 'minimal_portuguese' stemmer values link.
// This link contains ~, which is converted to subscript.
// This attribute prevents that substitution.
// See https://github.com/asciidoctor/asciidoctor/wiki/How-to-prevent-URLs-containing-formatting-characters-from-getting-mangled
:min-pt-stemmer-values-url: http://www.inf.ufrgs.br/~buriol/papers/Orengo_CLEF07.pdf
A filter that provides access to (almost) all of the available stemming token
filters through a single unified interface. For example:
@ -158,7 +164,7 @@ Portuguese::
http://snowball.tartarus.org/algorithms/portuguese/stemmer.html[`portuguese`],
http://dl.acm.org/citation.cfm?id=1141523&dl=ACM&coll=DL&CFID=179095584&CFTOKEN=80067181[*`light_portuguese`*],
http://www.inf.ufrgs.br/\~buriol/papers/Orengo_CLEF07.pdf[`minimal_portuguese`],
{min-pt-stemmer-values-url}[`minimal_portuguese`],
http://www.inf.ufrgs.br/\~viviane/rslp/index.htm[`portuguese_rslp`]
Romanian::