ICA 3.0 with FP2.
We have developed some language rules and tested these in ICA Studio, using a combination of dictionaries and parsing rules.
Now trying to use this annotator in an ICA 3.0 collection, and generate database entries from them using CAS2JDBC.
I have created the cas2jdbc.xml mapping file and tested this successfully, and got some entries into the database.
The process nearly works, however I have a problem.
If I use the integrated deployment option from ICA Studio directly into the ICA collection, the annotator gets installed with a special CAS view of "lrw-view". Then, when documents are parsed, no database entries are generated. I found this old forum post:
which says that the special CAS view causes this problem, and should be cleared to allow the CAS2JDBC to work. I tried this, removing the "lrw-view", saving settings, re-parsing the documents, and database entries are then generated.
However, in this case, the full set of annotations is not correctly produced from the annotator. I verified this by exporting the CAS for the analyzed documents. Only a subset of annotations is produced. It appears that those which are generated from dictionaries or character rules still come through, but those which are produced by parsing rules are not generated.
If I put back the "lrw-view" and re-parse the documents, the full set of annotations is then present in the exported CAS, however no database entries are produced.
So far, I have been unable to have the full set of annotations produced AND get the database mapping to work at the same time.