I've found a workaround for this issue - the parser training process was simplified (which is awesome in general) but the -fun option seems to have been removed. All that tag does is trigger a call to Parse.useFunctionTags(true). I added that back in and was able to replicate the parse I want. Tim ________________________________________ From: Tim Miller [[email protected]] Sent: Friday, August 17, 2012 12:10 PM To: [email protected] Subject: parser function tags in 1.5
Hello, We recently updated cTAKES (http://incubator.apache.org/ctakes/) to openNLP 1.5, including retraining a parser wrapping the opennlp parser on our clinical treebank. I noticed when running that the parser no longer outputs function tags. For example, I get this output with 1.4: (TOP (S (NP-SBJ (PRP She)) (VP (MD will) (VP (VB follow) (PRT (RP up)) (PP (IN with) (NP (NN ENT))))) (. .))) whereas I get this output with 1.5: (TOP (S (NP (PRP She)) (VP (MD will) (VP (VB follow) (PRT (RP up)) (PP (IN with) (NP (NN ENT))))) (. .))) (Note the first has NP-SBJ for the subject but the second doesn't.) These are trained on the same training data. Does anyone know what may have changed between versions? The tags are not essential but they are in the training data and we had some downstream components that made use of them as features. -- Tim Miller, PhD Postdoctoral Research Fellow Children's Hospital Informatics Program Boston Children's Hospital and Harvard Medical School 617-919-1223
