Skip to content

Commit

Permalink
#61 - Implement variable detection component using dkpro-tc
Browse files Browse the repository at this point in the history
- updated model path
  • Loading branch information
maxxkia committed Dec 20, 2017
1 parent 29803d2 commit e00e341
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,8 @@ public class LoadAndApplyPipeline
private static final String COPRUS_FILEPATH_TEST = "/home/local/UKP/kiaeeha/workspace/Datasets"
+ "/openminted/uc-ss/variable-detection/detection/Full_ALLDOCS.xml";
private static final String LANGUAGE_CODE = "en";
// public static final File modelPath = new File("/home/local/UKP/kiaeeha/workspace/Datasets"
// + "/openminted/uc-ss/variable-detection/detection/model");
public static final File PREDICTION_PATH = new File("target/prediction");

/**
* Starts the experiment.
*/
public static void main(String[] args) throws Exception
{
// assertDkproHomeVariableIsSet();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,7 @@ public class VariableMentionDetector
extends JCasAnnotator_ImplBase
{
public static final String PARAM_MODEL_LOCATION = ComponentParameters.PARAM_MODEL_LOCATION;
@ConfigurationParameter(name = PARAM_MODEL_LOCATION, mandatory = false, defaultValue = "/home/local/UKP/kiaeeha/workspace/Datasets"
+ "/openminted/uc-ss/variable-detection/detection/model")
@ConfigurationParameter(name = PARAM_MODEL_LOCATION, mandatory = false, defaultValue = "../models/variable-detection/")
private String modelLocation;

private AnalysisEngine taggerEngine = null;
Expand Down

0 comments on commit e00e341

Please sign in to comment.