org.vivoweb.harvester.score
Class Match

java.lang.Object
  extended by org.vivoweb.harvester.score.Match

public class Match
extends java.lang.Object

VIVO Match

Author:
Nicholas Skaggs nskaggs@ctrip.ufl.edu, Stephen Williams svwilliams@ctrip.ufl.edu, Christopher Haines hainesc@ctrip.ufl.edu

Constructor Summary
Match(ArgList opts)
          Constructor
Match(JenaConnect inputJena, JenaConnect scoreJena, JenaConnect outputJena, boolean renameRes, float threshold, java.util.Map<java.lang.String,java.lang.String> linkProps, boolean clearLiterals, int size)
          Constructor
Match(java.lang.String... args)
          Constructor
 
Method Summary
 void execute()
          Execute scoreJena object algorithms
static void main(java.lang.String... args)
          Main method
 void setBatchSize(int size)
          Set the processing batch size
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Match

public Match(JenaConnect inputJena,
             JenaConnect scoreJena,
             JenaConnect outputJena,
             boolean renameRes,
             float threshold,
             java.util.Map<java.lang.String,java.lang.String> linkProps,
             boolean clearLiterals,
             int size)
Constructor

Parameters:
inputJena - model containing statements to be scored
scoreJena - the model that contains the score values
outputJena - the model to which matched structures are written
threshold - match things with a total score greater than or equal to this threshold
renameRes - should I just rename the args?
linkProps - bidirectional link
clearLiterals - clear all the literal values out of matches
size - the size of each batch

Match

public Match(java.lang.String... args)
      throws java.io.IOException
Constructor

Parameters:
args - argument list
Throws:
java.io.IOException - error parsing options

Match

public Match(ArgList opts)
      throws java.io.IOException
Constructor

Parameters:
opts - parsed argument list
Throws:
java.io.IOException - error parsing options
Method Detail

setBatchSize

public void setBatchSize(int size)
Set the processing batch size

Parameters:
size - the size to use

execute

public void execute()
             throws java.io.IOException
Execute scoreJena object algorithms

Throws:
java.io.IOException - error connecting

main

public static void main(java.lang.String... args)
Main method

Parameters:
args - command line arguments