You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: ticcl.nf
+4-1Lines changed: 4 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -18,6 +18,7 @@ params.extension = "folia.xml"
18
18
params.inputtype ="folia"
19
19
params.outputdir ="ticcl_output"
20
20
params.inputclass ="current"
21
+
params.outputclass ="current"
21
22
params.lexicon =""
22
23
params.artifrq =10000000
23
24
params.alphabet =""
@@ -44,6 +45,7 @@ if (params.containsKey('help')) {
44
45
log.info " --language LANGUAGE Language"
45
46
log.info " --extension STR Extension of FoLiA documents in input directory (default: folia.xml, must always end in xml)!"
46
47
log.info " --inputclass CLASS FoLiA text class to use for input, defaults to 'current' for FoLiA input; must be set to 'OCR' for FoLiA documents produced by ocr.nf"
48
+
log.info " --outputclass CLASS FoLiA text class to use for output, defaults to 'current' for FoLiA output, but may not be equal to the class used for --inputclass"
47
49
log.info " --inputtype STR Input type can be either 'folia' (default), 'text', or 'pdf' (i.e. pdf with text; no OCR)"
48
50
log.info " --virtualenv PATH Path to Virtual Environment to load (usually path to LaMachine)"
49
51
log.info " --artifrq INT Default value for missing frequencies in the validated lexicon (default: 10000000)"
@@ -516,6 +518,7 @@ if (!params.containsKey('nofoliacorrect')) {
516
518
file unknownfreqlist from unknownfreqlist
517
519
val extension from params.extension
518
520
val inputclass from inputclass
521
+
val outputclass from outputclass
519
522
val virtualenv from params.virtualenv
520
523
521
524
output:
@@ -534,7 +537,7 @@ if (!params.containsKey('nofoliacorrect')) {
0 commit comments