• Home
  • Screenshots
  • Downloads
  • FAQ
  • Help/Contact
  • Blog
  • Development
  • How to customize the semantic domains

    The semantic domain information that is used by the "Collect Words By Semantic Domain", out of the box, uses Ron Moe's Dictionary Development Process list. If you want to use that list but in a language not provided by WeSay yet, see this page. However, you can use your own list instead.

    The information used by this task is split across two xml files. The name, abbreviation, and description are defined in Ddp4.xml which is an option list. If you are not using Ddp4 you can create your own option list and change the .wesayconfig file to point to the new option list. The format of the option list is described in how to customize an option list.

    The semantic domain questions are found in Ddp4-Questions-xx.xml where xx is the writing system. The XML file format is defined as follows:

     semantic-domain-questions -> semantic-domain+
    

    The semantic-domain-questions element contains one or more semantic-domain elements.

     semantic-domain -> @id, question+
    

    The semantic-domain element contains an id attribute and one or more question elements. The id attribute links to the key element in the options list.

     question -> #text
    

    The question element contains textual content.

    This page was last modified 04:30, 13 February 2008. This page has been accessed 445 times.