samples
Class UseSentenceSim

java.lang.Object
  extended by samples.UseSentenceSim

public class UseSentenceSim
extends java.lang.Object

This example shows how to use the sentRep and sentSim functions from another java program. The length of phrases used is 1 and the mean distances of 4.0 is used, targeting the Head level as the best representation of a sentence. Two sentences with similar meaning are compared using Roget's sentence distance and a simple method. Notice the difference in scores

Author:
Alistair Kennedy

Constructor Summary
UseSentenceSim()
           
 
Method Summary
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UseSentenceSim

public UseSentenceSim()
Method Detail

main

public static void main(java.lang.String[] args)
Parameters:
args -