Skip to content

Case fix#173

Closed
uajain wants to merge 4 commits intoCCExtractor:masterfrom
uajain:case_fix
Closed

Case fix#173
uajain wants to merge 4 commits intoCCExtractor:masterfrom
uajain:case_fix

Conversation

@uajain
Copy link
Copy Markdown

@uajain uajain commented Jun 3, 2015

Case fix.
Base sample : /John(lowercase)

@canihavesomecoffee
Copy link
Copy Markdown
Member

I think that the case fixing should be optional, now it will always be applied. For regular captions we have the -sc (--sentencap) parameter. I'd propose to use this one (and add an option to the telxcc code to make use of it) to let the user decide if he wants the case formatting yes or no.

If this is not done, regression testing will need to be done.

@canihavesomecoffee
Copy link
Copy Markdown
Member

@mailumangjain: could you add support for the -sc parameter? You can borrow the code I have for it (see: https://github.com/wforums/ccextractor/commit/d539ee9109a8adc9df8b0c9ea1d9cd4c1e51b2ab) 😄

@uajain
Copy link
Copy Markdown
Author

uajain commented Jun 4, 2015

Oh yes @wforums ! just give me some time, I'll do it as soon as possible and notify here ! Thanks for the help. :)

@uajain
Copy link
Copy Markdown
Author

uajain commented Jun 6, 2015

@wforums I have added -sc parameter for capitalization choice by user.

@cfsmp3
Copy link
Copy Markdown
Contributor

cfsmp3 commented Jun 12, 2015

Why use a different config variable? Rather than adding a variable
in tlt_config just use the same one used in the rest of the code.

On Sat, Jun 6, 2015 at 6:28 PM, Umang Jain notifications@github.com wrote:

@wforums https://github.com/wforums I have added -sc parameter for
capitalization choice by user.


Reply to this email directly or view it on GitHub
#173 (comment)
.

@canihavesomecoffee
Copy link
Copy Markdown
Member

While the outdated version of @mailumangjain still might contain ccx_options, it is in our current git repo not longer the case. @anshul1912 refactored this a while ago, hence the need for the extra variable.

@anshul1912
Copy link
Copy Markdown
Contributor

something that is need to be done is teletext should use encoder interface, if it use same encoder interface then there is no need of that variable, same variable can be used.
If someone is going for workaround then he dont need to add any new global variable, instead paas global variable to tlt_config

@anshul1912
Copy link
Copy Markdown
Contributor

I have passed cc_sub structure inside, using it telexcc no more need any local configuration for output

@canihavesomecoffee
Copy link
Copy Markdown
Member

@mailumangjain Would it be possible for you to close this request, update CCExtractor and make a new (unconflicting) PR? I tried a merge, but it seems as though a couple of regression files are affected by the change... http://gsocdev.ccextractor.org/~willem/users/willem/Testsuite_Report_2015-06-18_115417/Report__Teletext_2015-06-18_120038.html

@uajain
Copy link
Copy Markdown
Author

uajain commented Jun 18, 2015

ok. I was waiting for cc_sub to be passed.
Can anyone brief me about how regression testing/ @wforums testSuite works so that I can myself try and find if my solution is correct, in future ?

@canihavesomecoffee
Copy link
Copy Markdown
Member

Regression testing is at this moment only possible if you have an account on the development server, or if you can download the testing suite and all the samples. I'm planning to improve this, but in the meantime, I'll gladly run the test suite for you if you think you have a solution ready :)

@uajain
Copy link
Copy Markdown
Author

uajain commented Jun 18, 2015

Well, Thank you. Just being curious :)

On Thu, Jun 18, 2015 at 6:22 PM, Willem notifications@github.com wrote:

Regression testing is at this moment only possible if you have an account
on the development server, or if you can download the testing suite and all
the samples. I'm planning to improve this, but in the meantime, I'll gladly
run the test suite for you if you think you have a solution ready :)


Reply to this email directly or view it on GitHub
#173 (comment)
.

Umang Jain

@anshul1912
Copy link
Copy Markdown
Contributor

"I was waiting for cc_sub to be passed."
@mailumangjain I have passed them already, git pull your repository

@uajain uajain closed this Jun 19, 2015
hrideshmg pushed a commit to hrideshmg/ccextractor that referenced this pull request Mar 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants