I am trying to follow examples for how to use systemT within Jaql to run text extractors. However, most examples focus on delimited files. I want to use unstructured text files. I have:
inputFile = read(lines('/user/biadmin/TextAnalyticsProj/input/PrescData/01.txt'));
then I want to do:
But I get a "Mismatched arg type". I know that "inputFile" as shown above is really an array of strings, but how do I get it into the right format for annotateDocument?