Skip to content

intel-spark/InformationExtraction

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

InformationExtraction

Documentation for the project is available in project wiki

How to build:

  1. Download stanford coreNLP model from here.
  2. Put the downloaded model file into lib folder.
  3. Run "mvn clean package" in the project directory.
  4. The deployment package should be ready at ie-dist folder.

How to run on Spark cluster:

  1. Finish the build process.
  2. Copy the ie-dist folder to your spark cluster.
  3. RunSparkBatchDriver.sh will start the batch processing, where you can input sentences or (hdfs) file paths.
  4. To run Relation Evaluation, please refer to RunRelationEvaluation.sh, where you might need to change the file location according to your cluster settings. Please copy the data folder to your cluster and upload to hdfs before running evaluation (This only need to be performed once).

Setup development env with Intellij:

  1. Download latest stanford coreNLP model from here.
  2. Put the downloaded model file into lib folder.
  3. Open/import the project as Maven project.
  4. Add lib folder to the project library, and click Build.

How to customize/extend:

  1. Refer to config.properties for configuration change, such like pipeline components, NER models, dictionary and regex rules;
  2. Cutomized training for NER and Relation Extractor can be supported by com.intel.ie.training package.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •