analyze($sentence, $key); print "\n"; // Analyze the same text and obtain the result in XML. print "--- XML output ---\n"; print $client->analyze($sentence, $key, "", "xml"); print "\n"; // Register words 'area' and 'amount' to stoplist. print "--- Apply stoplist, 'area' and 'amount' ---\n"; print $client->analyze($sentence, $key, "", "", "area amount"); print "\n"; // Modify the linguistic filter to extract prepositional phrases. print "--- Modify the linguistic filter to '{IN}{DT}*{JJ}*{NN}+' ---\n"; print $client->analyze($sentence, $key, "", "", "", "{IN}{DT}*{JJ}*{NN}+"); print "\n"; // Analyze the sentence with part-of-speech annotation. print "--- Analyze a part-of-speech tagged (POST) sentence ---\n"; $post_sentence = <<analyze($post_sentence, $key, "post.genia"); print "\n" ?>