gender

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.

Element Information

Model

star | that | input | thatstar | topicstar | get | bot | sr | date | id | size | version | uppercase | lowercase | formal | sentence | condition | random | set | gossip | srai | person | person2 | gender | think | learn | system | javascript | ANY element from ANY namespace OTHER than 'No Namespace'

Source

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

Sample