All Downloads are FREE. Search and download functionalities are using the official Maven repository.

edu.cmu.sv.domain.ontology.Verb Maven / Gradle / Ivy

Go to download

A library that allows rapid prototyping of dialog systems (language understanding, discourse modelling, dialog management, language generation).

There is a newer version: 0.7.0
Show newest version
package edu.cmu.sv.domain.ontology;

import java.util.Collection;
import java.util.HashSet;
import java.util.Set;

/**
 * Created by David Cohen on 6/16/15.
 */
public class Verb {
    public String name;
    Set requiredGroundedRoles = new HashSet<>();
    Set requiredDescriptions = new HashSet<>();

    public Verb(String name, Collection requiredGroundedRoles, Collection requiredDescriptions) {
        this.name = name;
        this.requiredGroundedRoles.addAll(requiredGroundedRoles);
        this.requiredDescriptions.addAll(requiredDescriptions);
    }

    public Set getRequiredGroundedRoles() {
        return requiredGroundedRoles;
    }

    public Set getRequiredDescriptions() {
        return requiredDescriptions;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy