issue importing sparse data: "Content is not allowed in prolog"

hajons
hajons New Altair Community Member
edited November 5 in Community Q&A
Hi,

I have problems importing a data set using the Read Sparse operator. I have specified the yx data format.
I get the following error when executing the process consisting of the import operator only:

Could not read file "C:\tmp\newCorpus.lib":Content is not allowed in prolog..
The data looks like this:

11 76:1 174:1 250:1 317:1 446:1 640:1 953:1 954:1 955:1 969:1 981:1
9 76:1 152:1 219:1 348:1 396:1 493:1 953:1 956:1 968:1 969:1 980:1 985:1
10 54:1 121:1 250:1 298:1 427:1 954:1 956:1 967:1 968:1 985:1
...

Any suggestions?

Thanks,
Håkan
Tagged:

Answers

  • hajons
    hajons New Altair Community Member
    I now managed to import the file. The problem was that the I assumed the file parameter (non-expert) was supposed to e the data file, not an AML file. Where can I find the definition of AML files?

    /Håkan