mirror of
https://github.com/CCExtractor/ccextractor.git
synced 2026-07-08 18:06:30 +00:00
[PR #537] [MERGED] Split to sentences implementation #1366
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/CCExtractor/ccextractor/pull/537
Author: @maxkoryukov
Created: 12/15/2016
Status: ✅ Merged
Merged: 12/16/2016
Merged by: @cfsmp3
Base:
master← Head:feature/sbs📝 Commits (3)
66393a8Break incoming subs into sentences (through a buffer), and remove duplicates4743eb4Try to make changes compatible with upstream54f628fremove debug-files, increase verbosity for tests📊 Changes
9 files changed (+875 additions, -114 deletions)
View changed files
📝
.gitignore(+6 -0)📝
src/lib_ccx/ccx_encoders_common.c(+10 -12)📝
src/lib_ccx/ccx_encoders_common.h(+9 -11)📝
src/lib_ccx/ccx_encoders_splitbysentence.c(+418 -91)➕
tests/Makefile(+59 -0)➕
tests/README.md(+43 -0)➕
tests/ccx_encoders_splitbysentence_suite.c(+305 -0)➕
tests/ccx_encoders_splitbysentence_suite.h(+4 -0)➕
tests/runtest.c(+21 -0)📄 Description
Split incoming subs to separated sentences, with duplicate-detection.
Replacement for PR #491
Usage:
Currently, it works only with
sub->type == CC_BITMAP. Implementation details - in comments to the PR.The PR contains tests, a concise description attached (
test/README.md)Long example
New output
Old output
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.