summaryrefslogtreecommitdiffstats
path: root/config-model/src/test/java/com/yahoo/vespa/model/container/search/semanticrules/rules/common.sr
blob: 92b279aada4af6863305835ce5283a652f2468c1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
@automata(etc/vespa/fsa/stopwords.fsa)
## 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;