Feedback

  • Contents
 

saphrase.jsp

  • <%@ page language="java" contentType="text/xml"%> --> <%@ page language="java" contentType="application/x-swi-grammar-xml"%>

  • <grammar xml:lang="en-US" version="1.0" root="_secureanswerphrase" tag-format="swi-semantics/1.0"> --> <grammar xml:lang="en-US" version="1.0" root="_secureanswerphrase" tag-format="swi-semantics/1.0" xml:base="${pageContext.request.requestURL}">

  • <ruleref tag="SWI_meaning='Decoy'; dm_root=SWI_meaning;" uri="phoneloop.en-US.grxml" /> --> <ruleref tag="SWI_meaning='Decoy'; dm_root=SWI_meaning;" uri="http://bbtestpc:8080/ndm-core/en-US/grammars/framework/ndm/nr9.0/phoneloop.en-US.grxml" />
    or
    <ruleref tag="SWI_meaning='Decoy'; dm_root=SWI_meaning;" uri="http://bbtestpc:8080/ndm-core/en-US/grammars/framework/ndm/nr10.0/phoneloop.en-US.grxml" />

Note:

The first two listed changes are necessary so that the MIME type or the tag-format will force our RecoSubsystem to pass the grammars on to the Nuance engine, rather than try to interpret the grammars itself.