I have this scenario:
I have a list of key-value pairs in the form of (for instance)
000.000.0001.000 VALUE1
000.000.0002.000 VALUE2
...
000.010.0001.000 VALUE254
The documents presents the information using a table as follows:
SK1 | SK2 | SK3 | SK4
000 | 000 | 0001 | 000
The problem is that when processing this table, it turns to
000
000
0001
000
So a gazetteer wont match it. I figured constructing a JAPE rule to match this, and it works properly matching the 4 key parts.
Now I would need to load the gazetteer from withing my JAPE rule in a structure (for instance, a hashmap) so I can lookup the concatenation of these 4 key parts and get (for example) "VALUE1". Is it possible to load a gazetteer from within a JAPE file and use it as a dictionary?
Is there any other (better) way to do what I need to?
Thanks a lot.