The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here

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

hajonshajons Member Posts: 4 Contributor I
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

Answers

  • hajonshajons Member Posts: 4 Contributor I
    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
Sign In or Register to comment.