when using the python interface and calling the method entity_prediction passing as parameter a array like that
app1.entity_prediction(H=["Laura Little"],R=["hasTasks"],T=["Act as advisers to student organizations."],target="head", k=3)
to predict "HEAD" I receive this message:
assert len(new_R) == len(R), "Can't recognize some entities or relations
when I use a file with the folowing file indicated into the property file_name works as expected no message:
hasTechnology_Skills,Autodesk AutoCAD
hasTechnology_Skills,Navzilla
hasTechnologySkills,Laboratory information management system LIMS
hasTasks,Stock cabinets or serving areas with condiments and refill condiment containers.
hasTasks,Evaluate and grade students' class work laboratory work assignments and papers. with this format:
when using the python interface and calling the method entity_prediction passing as parameter a array like that app1.entity_prediction(H=["Laura Little"],R=["hasTasks"],T=["Act as advisers to student organizations."],target="head", k=3) to predict "HEAD" I receive this message:
assert len(new_R) == len(R), "Can't recognize some entities or relations
when I use a file with the folowing file indicated into the property file_name works as expected no message: hasTechnology_Skills,Autodesk AutoCAD hasTechnology_Skills,Navzilla hasTechnologySkills,Laboratory information management system LIMS hasTasks,Stock cabinets or serving areas with condiments and refill condiment containers. hasTasks,Evaluate and grade students' class work laboratory work assignments and papers. with this format:
no problem to do the same with TAIL.