Class TmlCommandLine
java.lang.Object
TmlCommandLine
public class TmlCommandLine
- extends java.lang.Object
Command line interface for TML, this is probably the easiest way to access it.
Intended use should be:
usage: tml [parameters] operation
-I Insert documents into repository.
--iannotators List of annotators to use when inserting
the documents. (e.g. PennTreeAnnotator).
--iclean Empties the repository before inserting
new ones.
--idocs The folder that contains the documens to
insert.
--imaxdocs Maximum number of documents to index or
use in an operation.
-O Performs an operation on a corpus.
--oalldocs Use all documents in repository as single
document corpora, it can be sentence or paragraph based. (e.g. sentence).
--obk Lucene query that defines a background
knowledge on which the corpus will be projected. (e.g. "type:sentences AND
reference:Document*").
--obkpar Properties file with the background
knowledge corpus parameters, if not set it will use the same as the
corpus.
--ocorpus Lucene query that defines the corpus to
operate with. (e.g. "type:sentence AND reference:Document01").
--ocpar Properties file with the corpus parameters
(optional).
--odim Name of the Dimensionality Reduction
criteria. (e.g. VARPCT,NUM,PCT,NO).
--odimth Threshold for the dim options. (e.g.
0,1,2).
--olanczos Use Lanczos for SVD decomposition.
--operations The list of operations you want to execute
on the corpus. (e.g. PassageDistances,PassageSimilarity .
--oresults Folder where to store the results. (e.g.
results/run01/).
--otsel Name of the Term selection criteria
(TF,AVG_TF,DF).
--otselth Threshold for the tsel criteria option.
--otwg Name of the Global Weight to apply. (e.g.
None,Normal,GfIdf,Idf,Entropy).
--otwl Name of the Local Weight to apply.
(e.g.Binary,TF,TFn,LOGTF).
-repo Full path of the repository folder, where
TML will retrieve (or insert) documents. (e.g. /home/user/lucene).
- Author:
- Jorge Villalon
Method Summary |
static void |
main(java.lang.String[] args)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TmlCommandLine
public TmlCommandLine()
main
public static void main(java.lang.String[] args)