Search in sources :

Example 1 with ReconMatchSpecificTopicOperation

use of com.google.refine.operations.recon.ReconMatchSpecificTopicOperation in project OpenRefine by OpenRefine.

the class ReconMatchSpecificTopicCommand method createOperation.

@Override
protected AbstractOperation createOperation(Project project, HttpServletRequest request, JSONObject engineConfig) throws Exception {
    String columnName = request.getParameter("columnName");
    ReconCandidate match = new ReconCandidate(request.getParameter("topicID"), request.getParameter("topicName"), request.getParameter("types").split(","), 100);
    return new ReconMatchSpecificTopicOperation(engineConfig, columnName, match, request.getParameter("identifierSpace"), request.getParameter("schemaSpace"));
}
Also used : ReconMatchSpecificTopicOperation(com.google.refine.operations.recon.ReconMatchSpecificTopicOperation) ReconCandidate(com.google.refine.model.ReconCandidate)

Aggregations

ReconCandidate (com.google.refine.model.ReconCandidate)1 ReconMatchSpecificTopicOperation (com.google.refine.operations.recon.ReconMatchSpecificTopicOperation)1