aboutsummaryrefslogtreecommitdiffstats
path: root/container-search/src/test/java/com/yahoo/prelude/semantics/test/rulebases/music.sr
blob: afe636a02d5c3a9fa1321203870bf7919c63eeb7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
## Some test rules

# Spelling correction
bahc -> bach;

# Stopwords
somelongstopword -> ;
[stopword] -> ;
[stopword] :- someotherlongstopword, yetanotherstopword;

#
[song] by [artist] -> song:[song] artist:[artist];

[song] :- together, imagine, tinseltown;
[artist] :- youngbloods, beatles, zappa;

# Negative
various +> -kingz;