|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object leila.relations.Relation leila.relations.StupidRelation
public class StupidRelation
This class is part of LEILA (http://mpii.de/yago-naga/leila). It is licensed under the Creative Commons Attribution License (http://creativecommons.org/licenses/by/3.0) by the author Fabian M. Suchanek (http://suchanek.name).
StupidRelation.java is a toy relation of just two words for debugging purposes.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class leila.relations.Relation |
---|
Relation.WordPairType |
Field Summary | |
---|---|
java.lang.String |
first
Holds the first word |
java.lang.String |
second
Holds the second word |
Constructor Summary | |
---|---|
StupidRelation()
|
Method Summary | |
---|---|
Relation.WordPairType |
assess(LinkageWord w1,
LinkageWord w2)
Judges a pair of words |
boolean |
possibleExample(LinkageWord w)
Tells whether the word equals the first word |
boolean |
requiresCounterexamples()
returns false |
Methods inherited from class leila.relations.Relation |
---|
toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public java.lang.String first
public java.lang.String second
Constructor Detail |
---|
public StupidRelation()
Method Detail |
---|
public boolean requiresCounterexamples()
requiresCounterexamples
in class Relation
public Relation.WordPairType assess(LinkageWord w1, LinkageWord w2)
assess
in class Relation
public boolean possibleExample(LinkageWord w)
possibleExample
in class Relation
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |