Identify Language Input File
The following sample code is an example of the expected input for the Identify Language method. This XML-formatted message flows from a Siebel application (version 8.1 or later) to a third-party adapter.
Note: This message might or might not identify the internal Document
Type Definition (DTD).
<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright (c) 2009, Oracle Corporation, Inc., All rights reserved. -->
<!-- -->
<!-- File : IdLanguageInput.xml -->
<!-- Revision : 1.0 -->
<!-- Date : 09 Apr 2009 -->
<!-- Creator : Tom Jones -->
<!-- -->
<!-- Description: Sample input for NLP engine adapter based on SAIO -->
<!-- format -->
<!-- -->
<!-- Change Log: -->
<!-- author Date Comment -->
<!-- ========== =========== =========================================== -->
<!-- -->
<!DOCTYPE saio [
<!ELEMENT method (input*, output*)>
<!-- name : Name of the property -->
<!ATTLIST method
name CDATA #REQUIRED
action CDATA #REQUIRED>
<!ELEMENT input (category*, property*)>
<!ELEMENT output (category*, property*)>
<!ATTLIST input
category-count CDATA #REQUIRED
property-count CDATA #REQUIRED >
<!ATTLIST output
category-count CDATA #REQUIRED
property-count CDATA #REQUIRED>
<!-- name : Name of the category -->
<!-- kscore : Knowledge Score of the category -->
<!ATTLIST category
name CDATA #REQUIRED
kscore CDATA #REQUIRED >
<!-- name : Name of the property -->
<!-- value : Value of the property -->
<!ATTLIST property
name CDATA #REQUIRED
value CDATA #REQUIRED >
]>
<method name="IdentifyLanguage">
<input category-count="0" property-count="2">
<property name="Text" value="testing arun"/>
<property name="Channel" value="eMail"/>
</input>
</method>