Examples of NLGSpec


Examples of simplenlg.xmlrealiser.wrapper.NLGSpec

    // of the file, once,
    // instead of on the elements.
    m.setProperty("com.sun.xml.internal.bind.namespacePrefixMapper",
        new RecordingNamespacePrefixMapper());

    NLGSpec nlg = new NLGSpec();
    nlg.setRecording(record);

    StringWriter osTemp = new StringWriter();
    m.marshal(nlg, osTemp);

    // Prettify it.
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.