Hi Steve, Thanks for your time and reply!
Here is the link where I found these files: https://svn.apache.org/repos/asf/ctakes/tags/ctakes-3.0.0-incubating/ctakes-relation-extractor/resources/models/modifier_extractor/ "The training-data.libsvm file will not be generated during classification. It's only generated during training", I understood this part. "LIBSVM-formatted features and labels" this part is I am not clear, how these are generated from training data? Is it based on SVM algorithm? any simple example would clarify my confusion (I can understand quickly, if I see an example, hope you don't mind). I will revisit "RelationExtractorAnnator" code again. Thank you for your time and help. Thank you, Giri On Mon, May 20, 2013 at 5:54 PM, Steven Bethard <steven.beth...@colorado.edu > wrote: > On May 17, 2013, at 2:29 PM, giri vara prasad nambari < > girinamb...@gmail.com> wrote: > > Can someone please clarify the difference between training-data.libsvm > and > > model.libsvm in ctakes-relation-extractor module? > > Where are you seeing these? Neither should be in the repository. > > That said, training-data.libsvm is the LIBSVM-formatted features and > labels, and model.libsvm is the LIBSVM model file. > > > If so, > > could someone provide any references/sample on how this file will be > > generated for a sample annotated sentence? > > The training-data.libsvm file will not be generated during classification. > It's only generated during training. If you want to see what features are > generated during classification, take a look at RelationExtractorAnnotator, > which defines a List<RelationFeaturesExtractor> getFeatureExtractors(), > which defines the various feature extractors used by the relation > extractors. > > Not sure if I answered your question. Please feel free to follow up. > > Steve