1
0
Fork 0
mirror of https://gitlab.com/SIGBUS/nyaa.git synced 2024-12-22 14:10:00 +00:00
This commit is contained in:
aldacron 2017-06-04 23:03:32 -07:00
parent 0a12db74d0
commit 535be9c8bd

View file

@ -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