Skip navigation.
Home
Semantic Software Lab
Concordia University
Montréal, Canada

How to use Mutation Miner

Printer-friendly versionPrinter-friendly versionPDF versionPDF version

Hi,

I would like to use Mutation Miner but not from GUI. Am new to GATE and i am using GATE embedded so kindly i need to know what steps i need to take to get "Mutation Miner" to work and getting its annotations usind GATE embedded.
Thanks

rene's picture

Same as other GATE pipelines

Hello,

It works the exact same way as with any other GATE pipeline, so you should probably review the GATE documentation and training material on GATE Embedded first:

  1. Load the .xgapp file you want to use into a CorpusController
    CorpusController ommApp = (CorpusController) PersistenceManager.loadObjectFromFile(new File(appName));
    (where appName is the filename of the .xgapp file you want to load)
  2. Assign a corpus to the controller:
    otApp.setCorpus(myCorpus);
  3. Add documents to the corpus, and process them with ommApp.execute()

Hope that helps,

René