KPML client examples

Automatic Domain-independent
Multilingual Natural Language Generation:
semantic generation from a KPML generation server

 

As examples of how to build generation capability into other applications and across networks and machines, this page provides simple examples of code that sends semantic specifications (written in SPL: see the documentation) to a KPML generation server.

Example generation servers for Windows machines can be downloaded from the main page. To use the provided examples, download the given files and remove the ".txt" extension. N.B. none of the examples should be seen as 'best practice'! - they do minimal error checking and just show the barebones of communicating with a server that is assumed to be running on some machine over some known port.

If anyone has examples in other languages, please send them in for inclusion!