Synbot Plugin Tutorial - interface to Syn Bot Software

EZ Robot Commands SIML Framework - Configuration - Free Attribute

Free Attribute

Structure of [free Attribute] can be either [Attribute text] or [preposition] [article] [attribute text]As seen above When [free Attribute] is possible or mandatory for a [Verb][Complement][Attribute][Position] entry in Combination SIML Map,

More informations need to be set in the entry content mainly which type of decoding and control is done on the [Free attribute] structure - No control or DECODE0 or DECODE1 or DECODE2With No control - [Attribute text] = [Free Attribute] - No decoding is done on [free Attribute] content.With DECODE0 DECODE1 and DECODE2 , [free Attribute] content is analysed and decoded as syntactic structure [preposition] [article] [attribute text]

Word 6 of entry content is used to specify SIML Map Name in which [attribute text] value can be configured.Word 9 specify control format on [attribute text] if no entry in the previous control map or if no map specified (Value "EMPTY" in Word 6)

With DECODE2 type mnemonic keyword found for the corresponding [attribute text] entry in map genre_name replace as key [attribute text].

Structure of these SIML Maps must respect following rules :. Map entry is structured as "Language code|Attribute Text" where language code can be 0 if entry is applicable to all languages.. 3 Entry content types can be used. If the first character of Value Content is not % , entry will be linked to the value.Otherwise the second character after % specify the entry content type - 1 2 or 3

Type 1Word 2 can be EMPTY , USER or BOTCase EMPTY value, you find in word 3 the signifiant content value Case USER or BOT value, word 3 specify name of a user or bot variable.Signifiant content value for the entry will be found in the same map with key 0|value of user or bot variable.

Type 3Word 2 is a mnemonic key valueWord 3 is the name of a SIML Map where signifiant content information linked to the text attribute value are stored with the key value of word 2.Content value structure of this map can be whatever you want (You will need to interprate it in the corresponding SIML Code)For example

Code:

Key entry is Language code|decode name.Entry content structure is :Char 1 : % char 2 : genre of name char 3: genreWord 2 : mnemonic keyword for entry.You can see in the example than lionne and lion have the same mnemonic keyword.This mnemonic keyword is used instead of [attribute Text) in accessing the Control Map configure for [Free Attribute] interpretation.

Code:

Entries LION and TIGER are used for french and english languages.In English, key link directly to the [Attribute Text] decoded with DECODE1 type.

In Map genre_name, only entries for french language are set with mnemonic Lion and Tiger, allowing to have the same keys as for english language.If we decided to use DECODE2 type for english language , corresponding entries will need to be set in map genre_name with en|prefix.And Plural form entries are set in the corresponding name_pluriels_fr and name_pluriels_en maps.

In this example - following [free text] inputs will be correctly recognized with the same result :In french : du lion , d'un lion , de la lionne , d'une lionne , des lions , des lionnes In english : from lion , from the lion , from a lion , from lions , from the lions