Metadata node

A project’s metadata lets you manage extra details about your project or TRSX file that are not part of the training data itself, such as author or version.

Metadata XML meta

<metadata>
    <entry key="str">str</entry>
</metadata>

Metadata node specification

The metadata node is defined as follows:

  • The metadata node contains zero-many entry nodes.
  • The entry node contains the key-value pair that specifies the metadata.
  • The entry node has the attribute key, which is a string.
  • The entry’s value can be any string.

Any information that you define will be preserved upon import.

Metadata node example

<metadata>
    <entry key="description">My search engine model</entry>
    <entry key="version">1.0.0</entry>
    <entry key="author">Bennie Jets</entry>
</metadata>

Metadata schema

<xs:element name='metadata'>
    <xs:annotation>
        <xs:documentation>Project Metadata: Captures data that is retained upon import.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
        <xs:sequence>
            <xs:element minOccurs='0' maxOccurs='unbounded' name='entry'>
                <xs:complexType>
                    <xs:simpleContent>
                        <xs:extension base="xs:string">
                            <xs:attribute name='key' use='required'
                              type='xs:NCName'/>
                        </xs:extension>
                    </xs:simpleContent>
                </xs:complexType>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
</xs:element>