"text dataset AML file"

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

What is the I/O operator that can write text dataset AML file like newsgroups.aml that comes with text plug in examples.

newsgroups.aml

<attributeset default_source="newsgroups.dat">
  <attribute
    name      ="text_source"
    sourcecol  ="1"
    valuetype  ="nominal"
  />
  <attribute
    name      ="type"
    sourcecol  ="2"
    valuetype  ="nominal"
  />
  <attribute
    name      ="language"
    sourcecol  ="3"
    valuetype  ="nominal"
  />
  <label
    name      ="class"
    sourcecol  ="4"
    valuetype  ="nominal">
    <value>atheism</value>
    <value>christian</value>
  </label>
</attributeset>
newsgroups.dat

# directory type language class
../data/newsgroup/hardware text english hardware
../data/newsgroup/graphics text english graphics

Thanks,
Motaz K. Saad

Answers

  • land
    land New Altair Community Member
    Hi,
    I guess you mean the ExampleSetWriter?

    Greetings,
      Sebastian