public void CanExtractComplexText() { var file = File.OpenText("sampleinput.txt"); var response = new CalaisTextProcessor().Process(file.ReadToEnd()); Assert.IsNotEmpty(response); }
public void CanExtractSimpleText() { var response = new CalaisTextProcessor().Process("Barack Obama went to Iraq and bought a Ford Festiva"); Assert.IsNotEmpty(response); }
public void WhatHappens() { var citationXml = new Article(@"10.2307/1618158").CitationsXml(); var calaisResults = new CalaisTextProcessor().Process(citationXml); Assert.IsNotEmpty(calaisResults); }