mirror of
https://gitlab.com/SIGBUS/nyaa.git
synced 2024-12-22 09:00:00 +00:00
Fixes #227
This commit is contained in:
parent
0a12db74d0
commit
535be9c8bd
|
@ -22,6 +22,7 @@ settings:
|
||||||
- lowercase
|
- lowercase
|
||||||
- my_ngram
|
- my_ngram
|
||||||
- word_delimit
|
- word_delimit
|
||||||
|
- trim_zero
|
||||||
filter:
|
filter:
|
||||||
my_ngram:
|
my_ngram:
|
||||||
type: edgeNGram
|
type: edgeNGram
|
||||||
|
@ -30,6 +31,9 @@ settings:
|
||||||
resolution:
|
resolution:
|
||||||
type: pattern_capture
|
type: pattern_capture
|
||||||
patterns: ["(\\d+)[xX](\\d+)"]
|
patterns: ["(\\d+)[xX](\\d+)"]
|
||||||
|
trim_zero:
|
||||||
|
type: pattern_capture
|
||||||
|
patterns: ["0*([0-9]*)"]
|
||||||
word_delimit:
|
word_delimit:
|
||||||
type: word_delimiter
|
type: word_delimiter
|
||||||
preserve_original: true
|
preserve_original: true
|
||||||
|
|
Loading…
Reference in a new issue