JMegaHal library not displaying output correctly
<p>I've been working with a java implementation of MegaHal, which is an AI that generates statements in response to user input. (<a href="http://www.jibble.org/jmegahal/" rel="nofollow">http://www.jibble.org/jmegahal/</a>).</p>

<p>The thing is, when I try to get a sentence from an instance of the class, using the built it function getSentence();, every time I print the output, I get a blank space. The function implementation is:</p>

<pre><code>public String getSentence() {
    return getSentence(null);
 }
</code></pre>

<p>What I'm trying to do is:</p>

<pre><code>System.out.println("hello world!");
    JMegaHal test = new JMegaHal();
    test.add("hi");
    String S = test.getSentence();
    System.out.println(S);
</code></pre>

<p>This outputs a blank line instead of the string. My java is a bit rusty, but I can't find anything wrong with the code... </p>
