-
Notifications
You must be signed in to change notification settings - Fork 92
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
updated dev and test data (v2023-09-26)
- Loading branch information
Showing
1,772 changed files
with
334,510 additions
and
334,420 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -334,11 +334,17 @@ all: opus-langpairs3.txt | |
${MAKE} released-remove-empty | ||
${MAKE} dev-tsv test-tsv test-release dev-release | ||
${MAKE} ${DATADIR}/README.md | ||
${MAKE} subsets | ||
${MAKE} langids subsets | ||
${MAKE} extra-statistics | ||
${MAKE} released-data-counts | ||
${MAKE} release-tag | ||
|
||
fix-release-2023: | ||
${MAKE} dev-tsv test-tsv test-release dev-release | ||
${MAKE} ${DATADIR}/README.md | ||
${MAKE} langids subsets | ||
|
||
|
||
|
||
## TODO: there is some kind of memory-leak somewhere that causes jobs to crahs | ||
## some dataset seems to require a lot of memory (langid or shuffling?) | ||
|
@@ -1144,12 +1150,8 @@ ${RELEASEDIR}/%/test.id: | |
mkdir -p ${dir $@} | ||
cat ${patsubst ${RELEASEDIR}/%/test.id,${DEVTESTDIR}/%,$@}/test-*.txt |\ | ||
sed "s/ *\t/\t/g;s/ *$$//" | sort -u > $@.merged | ||
cut -f3 $@.merged | langscript -3 -r -D \ | ||
-l $(firstword $(subst -, , $(patsubst ${RELEASEDIR}/%/test.id,%,$@))) \ | ||
${FIXLANGIDS} > $@.srcid | ||
cut -f4 $@.merged | langscript -3 -r -D \ | ||
-l $(lastword $(subst -, , $(patsubst ${RELEASEDIR}/%/test.id,%,$@))) \ | ||
${FIXLANGIDS} > $@.trgid | ||
cut -f1,3 $@.merged | langscript -3 -r -D -L ${FIXLANGIDS} > $@.srcid | ||
cut -f2,4 $@.merged | langscript -3 -r -D -L ${FIXLANGIDS} > $@.trgid | ||
paste $@.srcid $@.trgid > $@ | ||
# cut -f1,2 [email protected] > $@ | ||
cut -f3 [email protected] > ${dir $@}test.src | ||
|
@@ -1164,12 +1166,8 @@ ${RELEASEDIR}/%/dev.id: | |
-cat ${patsubst ${RELEASEDIR}/%/dev.id,${DEVTESTDIR}/%,$@}/dev-*.txt |\ | ||
sed "s/ *\t/\t/g;s/ *$$//" | sort -u > $@.merged | ||
if [ -s $@.merged ]; then \ | ||
cut -f3 $@.merged | langscript -3 -r -D \ | ||
-l $(firstword $(subst -, , $(patsubst ${RELEASEDIR}/%/dev.id,%,$@))) \ | ||
${FIXLANGIDS} > $@.srcid; \ | ||
cut -f4 $@.merged | langscript -3 -r -D \ | ||
-l $(lastword $(subst -, , $(patsubst ${RELEASEDIR}/%/dev.id,%,$@))) \ | ||
${FIXLANGIDS} > $@.trgid; \ | ||
cut -f1,3 $@.merged | langscript -3 -r -D -L ${FIXLANGIDS} > $@.srcid; \ | ||
cut -f2,4 $@.merged | langscript -3 -r -D -L ${FIXLANGIDS} > $@.trgid; \ | ||
paste $@.srcid $@.trgid > $@; \ | ||
cut -f3 $@.merged > ${dir $@}dev.src; \ | ||
cut -f4 $@.merged > ${dir $@}dev.trg; \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
ara ara اليهودية جميلة. اليهوديه حلوة. | ||
ara arz اليهودية جميلة. اليهوديه حلوة. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.