Skip to content

Commit

Permalink
[DOCS] Add attribute to escape minimal pt token link in Asciidoctor (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
jrodewig committed Apr 30, 2019
1 parent 2d5ee3d commit c839855
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -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:

Expand Down Expand Up @@ -152,7 +158,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::
Expand Down

0 comments on commit c839855

Please sign in to comment.