Class DBnaryEnhancer
java.lang.Object
org.getalp.dbnary.enhancer.DBnaryEnhancer
Created by serasset on 12/04/17.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected org.apache.commons.cli.CommandLineprotected static final Stringprotected static final Stringprotected PrintStreamprotected static final Stringprotected static final Stringprotected static final Stringprotected booleanprotected EvaluationStatsprotected static org.apache.commons.cli.Optionsprotected static final Stringprotected Stringprotected Stringprotected static final Stringprotected Stringprotected TranslationGlossesStatsModuleprotected static final Stringprotected PrintStream -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddoit()protected voidfillInLanguageModels(String processDir) protected StringguessLanguage(String arg) protected voidstatic voidprotected voidprotected void
-
Field Details
-
RDF_FORMAT_OPTION
- See Also:
-
DIR_OPTION
- See Also:
-
DEFAULT_RDF_FORMAT
- See Also:
-
STATS_FILE_OPTION
- See Also:
-
OUTPUT_FILE_SUFFIX_OPTION
- See Also:
-
DEFAULT_OUTPUT_FILE_SUFFIX
- See Also:
-
CONFIDENCE_FILE_OPTION
- See Also:
-
COMPRESS_OPTION
- See Also:
-
options
protected static org.apache.commons.cli.Options options -
cmd
protected org.apache.commons.cli.CommandLine cmd -
languages
-
statsOutput
-
stats
-
rdfFormat
-
confidenceOutput
-
evaluator
-
outputFileSuffix
-
doCompress
protected boolean doCompress -
processDir
-
-
Constructor Details
-
DBnaryEnhancer
public DBnaryEnhancer()
-
-
Method Details
-
output
-
doit
- Throws:
FileNotFoundException
-
printUsage
protected void printUsage() -
loadArgs
-
fillInLanguageModels
-
guessLanguage
-
main
- Throws:
IOException
-