blob: 0c04b647f5bb72bfd1cae1ecfc75f3fb92b5a4d5 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
// Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.prelude.semantics.test;
/**
* Tests that the phrase produced by an automata match can subsequently be replaced by an AND of the
* same terms.
*
* @author bratseth
*/
public class PhraseMatchTestCase extends RuleBaseAbstractTestCase {
public PhraseMatchTestCase(String name) {
super(name,"phrasematch.sr","semantics.fsa");
}
public void testLiteralEquals() {
if (1==1) return; // TODO: Work in progress
assertSemantics("AND retailer:digital retailer:camera","keyword:digital keyword:camera");
}
}
|