/** * Generates the specified ThoughtTreasure assertion in natural language. * * @param feat a String containing single-character ThoughtTreasure features such as <code> * F_ENGLISH</code> or <code>F_FRENCH</code>. The feature codes are defined in the <code>TT * </code> class. * @param obj Java Object representing a ThoughtTreasure assertion * @exception IOException if an I/O error occurs communicating with the server * @see TT */ public String generate(String feat, Object obj) throws IOException { return queryString("Generate " + feat.trim() + " " + TT.objectToString(obj) + "\n"); }