PreXident / TextAn

MFF automaticky policejni analytik
Other
4 stars 3 forks source link

Nametag using string as entity type and use it hierarchically. #39

Closed vlcak closed 10 years ago

vlcak commented 10 years ago

Textan using string hierarchically as entity type but we need use integer as type

vlcak commented 10 years ago

Asked Milan about this problem, there is just one feature (CzechAddContainers) using this hierarchy. If we evade of using it, there won't be problem.

vlcak commented 10 years ago

Checked. If we will not use CzechAddContainers (which we will not use :smile: , it is container exactly for this (from surname and first name it makes

person)). Training data, model and features file changed in 66388879d1a4b55ca6bf4c5cd6ec057a3178485c

Blemicek commented 10 years ago

So, what nametag select as an entity with type person in Textan now? For example in sentence: Josef Novak ukradl auto.

vlcak commented 10 years ago

It will be something like "<1>Josef Novak ukradl auto." (I hope) Now i have problem with making ObjectType from object id. Is there any function for this?

Blemicek commented 10 years ago

There is not any relation between ObjectType and objectId. Did you mean objectTypeId? If so, you will need ObjectTypeTableDAO.find(long).

vlcak commented 10 years ago

I think that this is exactly what i meant ;)