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: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> |