Package groundTruthModule.datastructure.PersonEntity

Examples of groundTruthModule.datastructure.PersonEntity.Occupation


        evidence.setResidentNode("hasOccupation");
        argument = new ArgumentInfo();
        argument.setType("Person");
        argument.setName(personName);
        evidence.getArguments().add(argument);
        Occupation stateValue = person.getHasOccupation();
        evidence.setState(stateValue.toString());
        evidenceList.add(evidence);
      }
    }
  }
View Full Code Here


      if (person.getHasOccupation() != null) {
        residentNode = mebn.getDomainResidentNode("hasOccupation");
        arguments = new ObjectEntityInstance[1];
        arguments[0] = mebn.getObjectEntityContainer()
            .getEntityInstanceByName(personName);
        Occupation stateValue = person.getHasOccupation();
        if (stateValue == Occupation.Professional) {
          categoricalState = mebn.getCategoricalStatesEntityContainer().getCategoricalState("Professional");
        } else if (stateValue == Occupation.SemiSkilled) {
          categoricalState = mebn.getCategoricalStatesEntityContainer().getCategoricalState("SemiSkilled");
        } else {
View Full Code Here

TOP

Related Classes of groundTruthModule.datastructure.PersonEntity.Occupation

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.