Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
S
Sciencebeam Trainer Grobid
Manage
Activity
Members
Labels
Plan
Issues
1
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Sciencebeam
Sciencebeam Trainer Grobid
Commits
40cf553e
Unverified
Commit
40cf553e
authored
4 years ago
by
Daniel Ecer
Committed by
GitHub
4 years ago
Browse files
Options
Downloads
Patches
Plain Diff
allow partial data generation (#55)
parent
7c7a1196
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
scripts/generate-grobid-training-data.sh
+11
-1
11 additions, 1 deletion
scripts/generate-grobid-training-data.sh
with
11 additions
and
1 deletion
scripts/generate-grobid-training-data.sh
+
11
−
1
View file @
40cf553e
...
...
@@ -24,5 +24,15 @@ RAW_TRAINING_DATA_DIR=/tmp/raw-training-data
rm
-rf
"
${
RAW_TRAINING_DATA_DIR
}
"
generate-raw-grobid-training-data.sh
"
${
PDF_DIR
}
"
"
${
RAW_TRAINING_DATA_DIR
}
"
if
generate-raw-grobid-training-data.sh
"
${
PDF_DIR
}
"
"
${
RAW_TRAINING_DATA_DIR
}
"
;
then
echo
"generated raw grobid training data:
${
RAW_TRAINING_DATA_DIR
}
"
else
echo
"failed to generate raw grobid training data, error:
$?
"
fi
if
[
!
"
$(
ls
--almost-all
${
RAW_TRAINING_DATA_DIR
}
)
"
]
;
then
echo
"no raw grobid training data generated:
${
RAW_TRAINING_DATA_DIR
}
"
exit
1
fi
copy-raw-training-data-to-file-structure.sh
"
${
RAW_TRAINING_DATA_DIR
}
"
"
${
DATASET_DIR
}
"
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment