Hi Guys,
@ines
I Miss you guys I really want to appreciate all you have done, I really enjoy using prodigy for my project.
If you remember, I have done a custom named entity recognition on a custom entity such as
-
TIME
-
DATE
-
PARA
-
ASTR (astronomical name)
-
LONG (longitude)
-
STAR
-
PLAN (planets)
-
NAMES
-
GEOM (geometrical name)
I have made an interactive named entity recognition with the colorful tags:
then, based on LONG, DATE, TIME ...I could extract explicit observation of the whole corpus, my structured
data look like this now
Now, generally speaking, I want to do two things
1-I want to find a way to save these tagged sentences in an optimum way for instance in an XML file
2-I want to define kind of hierarchy between tags
as an example
for this sentence
'On 1582 December 28 at 11h 30m, they set Mars down at 16° 47’ Cancer by observation'
which has been tagged in this way:
I want either have such XML file:
On <date> 1582 December 28 </date> at<TIME> 11h 30m </time>,
they set <Plan>Mars</Plan> down at <LONG>16° 47’ Cancer
</LONG>> by
observation ^6.
or much better and smarter with new hierarchy:
<observation>
On <date> <day>1582 December 28</day> at<hour> 11h 30m </hour></date>,
they set <object>Mars</object> down at <quantity><long>16° 47’ Cancer
</long></quantity> by
observation ^6.
</observation>
as you see in tagging, here I have added some entities
- observation
- object - date - hour - day - quantity - long - lat ...
I think the first one is more possible but I would be happy with your suggestion. Even if you have another better ways to my two aims (saving, defining hierarchy) please let me know