Search in sources :

Example 1 with AwardsQuery

use of infoeval.main.Analysis.AwardsQuery in project Info-Evaluation by TechnionYP5777.

the class AwardsQueryTest method test1.

@Test
public void test1() throws IOException {
    WikiParsing wiki = new WikiParsing("https://en.wikipedia.org/wiki/Taylor_Swift");
    wiki.Parse("awarded");
    System.out.print(wiki.getText());
    infoeval.main.Analysis.AwardsQuery aw = new AwardsQuery(wiki.getParagraphs());
    aw.analyze();
    for (final String ¢ : aw.getInformation()) System.out.println(¢);
}
Also used : WikiParsing(infoeval.main.WikiData.WikiParsing) AwardsQuery(infoeval.main.Analysis.AwardsQuery) AwardsQuery(infoeval.main.Analysis.AwardsQuery) Test(org.junit.Test)

Aggregations

AwardsQuery (infoeval.main.Analysis.AwardsQuery)1 WikiParsing (infoeval.main.WikiData.WikiParsing)1 Test (org.junit.Test)1