This repository has been archived by the owner on Dec 16, 2022. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Seq2seq dataset reader improvements (#2599)
* use Python core csv module. * add delimiter parameter to seq2seq datareader * add test for ConfigurationError in Seq2SeqDatasetReader * add test that ensures quoting with/without '"' works the same * some changes to satisfy pylint
- Loading branch information
1 parent
1adb3e8
commit 18312a0
Showing
3 changed files
with
60 additions
and
11 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
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
"this is a sentence","this is a sentence" | ||
"this is another","this is another" | ||
"all these sentences should get copied","all these sentences should get copied" |