Closed schiele1 closed 12 years ago
I think the structure we provide to the user should be reflective of the document they provided; we can use rolemaps to agument our own tables of know tag types when running rules.
So you think we should store the RoleMap and convert at rule-evaluation time? How should we pass it to the rules engine?
I've discovered the RoleMap (the dictionary in the PDF that converts the user-defined tagnames to Adobe Standard tagnames), but I'm not sure how we should go about implementing it. Should we alter the JSON file itself to use the Adobe names, should we leave the user-defined names but include the RoleMap in the file for rule-time conversion, should we have two separate files (one RoleMap-converted and one not), or should we implement it some other way?