mirror of
https://github.com/CCExtractor/ccextractor.git
synced 2026-07-08 18:06:30 +00:00
[PR #1139] [MERGED] [IMPROVEMENT] Filter bad words #1915
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/1139
Author: @NilsIrl
Created: 12/8/2019
Status: ✅ Merged
Merged: 1/5/2020
Merged by: @canihavesomecoffee
Base:
master← Head:filter_bad_words📝 Commits (10+)
5b29db3Remove space before ';'99a12b8Add --kf option and parse files7d8499aRename profanity_file to filter_profanity_file. Dump paramsa7d2264Use correct function2739602Add missing continue8ef89f6Fix double free error59a8c7aCensor word when in dictionary37e4d41Fix '\0' in output file57eb179Make a fix_subtitles functione3e810fFix bug with asterisk📊 Changes
15 files changed (+259 additions, -196 deletions)
View changed files
📝
src/lib_ccx/ccx_common_common.c(+7 -6)📝
src/lib_ccx/ccx_common_common.h(+1 -1)📝
src/lib_ccx/ccx_common_option.c(+4 -2)📝
src/lib_ccx/ccx_common_option.h(+4 -2)📝
src/lib_ccx/ccx_encoders_common.c(+5 -6)📝
src/lib_ccx/ccx_encoders_common.h(+2 -1)📝
src/lib_ccx/ccx_encoders_helpers.c(+121 -92)📝
src/lib_ccx/ccx_encoders_helpers.h(+8 -6)📝
src/lib_ccx/ccx_encoders_smptett.c(+1 -5)📝
src/lib_ccx/ccx_encoders_srt.c(+3 -6)📝
src/lib_ccx/ccx_encoders_ssa.c(+2 -5)📝
src/lib_ccx/ccx_encoders_transcript.c(+3 -5)📝
src/lib_ccx/configuration.c(+1 -0)📝
src/lib_ccx/params.c(+85 -59)📝
src/lib_ccx/params_dump.c(+12 -0)📄 Description
Fix #1114
This PR reformats most of the capitalization parts as well to make a better interface.
This PR also removes one of the list that was used for capitalization before
spell_loweras it was useless.PS: also btw, for the list of words, I took them from Wikipedia, I don't have that good of a vocab 😂
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.