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: frog.nf
+6-2Lines changed: 6 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -18,6 +18,7 @@ params.inputformat = "text"
18
18
params.outputdir ="frog_output"
19
19
params.sentenceperline =false
20
20
params.inputclass ="current"
21
+
params.outputclass ="current"
21
22
params.skip =""
22
23
23
24
if (params.containsKey('help') ||!params.containsKey('inputdir')) {
@@ -34,6 +35,7 @@ if (params.containsKey('help') || !params.containsKey('inputdir')) {
34
35
log.info " --sentenceperline Indicates that the input (plain text only) is already in a one sentence per line format, skips sentence detection (default: false)"
Copy file name to clipboardExpand all lines: tokenize.nf
+6-2Lines changed: 6 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -18,6 +18,7 @@ params.inputformat = "text"
18
18
params.outputdir ="tokenized_output"
19
19
params.sentenceperline =false
20
20
params.inputclass ="current"
21
+
params.outputclass ="current"
21
22
22
23
if (params.containsKey('help') ||!params.containsKey('inputdir') ||!params.containsKey('language')) {
23
24
log.info "Usage:"
@@ -34,6 +35,7 @@ if (params.containsKey('help') || !params.containsKey('inputdir') || !params.con
34
35
log.info " --sentenceperline Indicates that the input (plain text only) is already in a one sentence per line format, skips sentence detection (default: false)"
Copy file name to clipboardExpand all lines: webservice/picclservice/picclservice.py
+3Lines changed: 3 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -437,6 +437,9 @@
437
437
ChoiceParameter('lang','Language?',"Specify the language of your input documents", choices=LANGUAGECHOICES), #old ticcl -t
438
438
BooleanParameter('reassemble','Reassemble PDF',"Use this option if you have PDF input files, such as chapters or pages, that first need to be merged together prior to processing. Filenames must be named {documentname}-{sequencenumber}.pdf for this to work.")
439
439
]),
440
+
("OCR post-correction", [
441
+
ChoiceParameter('ticcl','Enable TICCL?',"Perform OCR post-correction and normalisation using TICCL?", choices=[('yes','Yes'),('no','No')], default='yes'),
442
+
]),
440
443
('N-best Ranking', [
441
444
ChoiceParameter('rank','How many ranked variants?','Return N best-first ranked variants',choices=[('3','Up to three N-best ranked'),('1','First-best Only'),('2','Up to two N-best ranked'),('5','Up to five N-best ranked'),('10','Up to ten N-best ranked'),('20','Up to twenty N-best ranked')]) #old ticcl -r
0 commit comments