v1.8.2: blacklist straatnamen rond stations in OV-matchfilter
'de Stationsstraat afsluiten voor een festival' is geen OV-nieuws, maar scored wel (familie \bstation\w*\b, gewicht 3; via `stations`+suffix dingt `station\w*\b` op 'stationsstraat'). Regex-uitbreiding faalt op de dubbele s (stations+straat): elke naamvorm vraagt opnieuw regex-herrie. Daarom MATCH_FILTER_BLACKLIST: exact gematchte woorden die geen OV-waarde hebben (straatnamen rond stations: stationsstraat/weg/laan/plein/... plus treinstraat/treinweg) tellen niet meer mee. De genitief-s-vorm dekt zowel 'Stationsstraat' als 'Stationsweg' etc. Zwartgelijste woorden blokkeren de familie niet: een echt station-/trein-woord ernaast scoort gewoon.
This commit is contained in:
parent
c13ec81379
commit
f4ea969f33
3 changed files with 38 additions and 7 deletions
|
|
@ -1,5 +1,5 @@
|
|||
id: nl.eddydevink.rss
|
||||
version: 1.8.1
|
||||
version: 1.8.2
|
||||
modules:
|
||||
- buzzrss
|
||||
main_class: RSSBot
|
||||
|
|
|
|||
Loading…
Reference in a new issue