edu.cmu.sv.domain.ontology.Quality Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of yoda Show documentation
Show all versions of yoda Show documentation
A library that allows rapid prototyping of dialog systems (language understanding, discourse modelling, dialog management, language generation).
package edu.cmu.sv.domain.ontology;
import java.util.HashSet;
import java.util.Set;
/**
* Created by David Cohen on 10/31/14.
*/
public class Quality {
public String name;
public Noun firstArgumentClassConstraint;
public Noun secondArgumentClassConstraint;
public QueryFragment queryFragment;
Set qualityDegrees = new HashSet<>();
public Quality(String name, Noun firstArgumentClassConstraint, Noun secondArgumentClassConstraint, QueryFragment queryFragment) {
this.name = name;
this.firstArgumentClassConstraint = firstArgumentClassConstraint;
this.secondArgumentClassConstraint = secondArgumentClassConstraint;
this.queryFragment = queryFragment;
}
public Set getQualityDegrees(){return qualityDegrees;}
//TODO: getMetric(), getUnitOfMeasurement()
}