<xs:group name="transformationalElements">
<xs:choice>
<xs:element name="person" type="MixedTemplateContentContainer">
<xs:annotation>
<xs:documentation>The person element instructs the AIML interpreter to: 1. replace words with first-person aspect in the result of processing the contents of the person element with words with the grammatically-corresponding third-person aspect; and 2. replace words with third-person aspect in the result of processing the contents of the person element with words with the grammatically-corresponding first-person aspect. The definition of "grammatically-corresponding" is left up to the implementation.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="person2" type="MixedTemplateContentContainer">
<xs:annotation>
<xs:documentation>The person2 element instructs the AIML interpreter to: 1. replace words with first-person aspect in the result of processing the contents of the person2 element with words with the grammatically-corresponding second-person aspect; and 2. replace words with second-person aspect in the result of processing the contents of the person2 element with words with the grammatically-corresponding first-person aspect. The definition of "grammatically-corresponding" is left up to the implementation.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="gender" type="MixedTemplateContentContainer">
<xs:annotation>
<xs:documentation>The gender element instructs the AIML interpreter to: 1. replace male-gendered words in the result of processing the contents of the gender element with the grammatically-corresponding female-gendered words; and 2. replace female-gendered words in the result of processing the contents of the gender element with the grammatically-corresponding male-gendered words. The definition of "grammatically-corresponding" is left up to the implementation. Historically, implementations of gender have exclusively dealt with pronouns, likely due to the fact that most AIML has been written in English. However, the decision about whether to transform gender of other words is left up to the implementation.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
</xs:group> |