TextModelSimiliarity

Element Information

Model

Children: Extension

Attributes

QName Type Fixed Default Use Inheritable Annotation
similarityType restriction of xs:string optional

Used By

Element TextModel

Source

<xs:element name="TextModelSimiliarity">
  <xs:complexType>
    <xs:sequence>
      <xs:element ref="Extension" minOccurs="0" maxOccurs="unbounded"/>
    </xs:sequence>
    <xs:attribute name="similarityType">
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:enumeration value="euclidean"/>
          <xs:enumeration value="cosine"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:complexType>
</xs:element>

Sample