Skip to content

Commit

Permalink
Paragraph indexes now start in 1
Browse files Browse the repository at this point in the history
  • Loading branch information
lpla committed Oct 10, 2022
1 parent 417c7d9 commit 673e371
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bilangwriter.cc
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ namespace warc2text{
}

for (size_t i = 0; i < lines.size(); ++i) {
result += lines[i] + "\t" + std::to_string(i) + ":" + std::to_string(lines.size()) + "\n";
result += lines[i] + "\t" + std::to_string(i + 1) + ":" + std::to_string(lines.size()) + "\n";
}

return result;
Expand Down

0 comments on commit 673e371

Please sign in to comment.