WordCount app for counting words in a chapter

Comments about LibriVox? Suggestions to improve things? News?
annise
LibriVox Admin Team
Posts: 28797
Joined: April 3rd, 2008, 3:55 am
Location: Melbourne,Australia

Post by annise » March 16th, 2015, 4:39 pm

No there isn't - sadly sometimes :D . It's great as it is. Thank you for your efforts.

Anne
Our objective is to make all books in the public domain available, for free, in audio format on the internet. - Hugh McGuire.

Kangaroo692
Posts: 1951
Joined: August 21st, 2014, 9:34 am
Location: Probably the holodeck :)
Contact:

Post by Kangaroo692 » March 16th, 2015, 4:42 pm

Hopefully it will come with the next catalog update. It would make things a whole lot easier. :(

Kangaroo692
Posts: 1951
Joined: August 21st, 2014, 9:34 am
Location: Probably the holodeck :)
Contact:

Post by Kangaroo692 » March 16th, 2015, 5:34 pm

Do any of the admins approve of my making a wiki page for this program?
I just want to make sure it's OK before I do it.

annise
LibriVox Admin Team
Posts: 28797
Joined: April 3rd, 2008, 3:55 am
Location: Melbourne,Australia

Post by annise » March 16th, 2015, 7:56 pm

Please don't for a bit - there is no point at the moment. There are already plans to place it where it needs to be and repeating things everywhere just makes keeping it current ia problem.

Anne
Our objective is to make all books in the public domain available, for free, in audio format on the internet. - Hugh McGuire.

Kangaroo692
Posts: 1951
Joined: August 21st, 2014, 9:34 am
Location: Probably the holodeck :)
Contact:

Post by Kangaroo692 » March 17th, 2015, 2:58 pm

New issue posted on your issue tracker, Isana. I thought that might be a better place to submit issues.

Isana
Posts: 276
Joined: December 2nd, 2013, 12:46 pm
Location: USA

Post by Isana » March 17th, 2015, 3:19 pm

Thank you Kangaroo, I saw your submission. This is the same issue you've raised before, right? And I think I've given one answer to it above. Right now I'm considering it a minor issue, since it's the way the I'm expecting the app to work. But I'll try to do a little fix to it within the next few updates, if not the next update then the next one. I'll post here when I make changes. Thanks again.

Kangaroo692
Posts: 1951
Joined: August 21st, 2014, 9:34 am
Location: Probably the holodeck :)
Contact:

Post by Kangaroo692 » March 17th, 2015, 3:23 pm

I think TriciaG made a suggestion, and I tried it and it didn't work. Sorry. :(
And I don't think it is a minor issue, most of the Gutenberg ebooks I have read are formatted that way.

Isana
Posts: 276
Joined: December 2nd, 2013, 12:46 pm
Location: USA

Post by Isana » March 17th, 2015, 3:37 pm

Kangaroo692 wrote:I think TriciaG made a suggestion, and I tried it and it didn't work. Sorry. :(
And I don't think it is a minor issue, most of the Gutenberg ebooks I have read are formatted that way.
Tricia's suggestion did not work because she was referring to a different title formatting than you were. If you had used the example ebook she gave, it would have worked. Titles have to be entered the way they are written in the ebook, or it won't work.

My goal for this app was to provide valid estimates of chapter word counts. I think the app is doing that now for many cases. In that light I do regard the issue you raised as a very minor one.

Kangaroo692
Posts: 1951
Joined: August 21st, 2014, 9:34 am
Location: Probably the holodeck :)
Contact:

Post by Kangaroo692 » March 17th, 2015, 3:40 pm

Okay, I guess it's a minor issue. Sorry.

Isana
Posts: 276
Joined: December 2nd, 2013, 12:46 pm
Location: USA

Post by Isana » March 18th, 2015, 7:42 pm

Hi everyone. I've updated the website with a new feature. Users can now download a zipped tar file of the chapters. This might be useful for BCs who prepare the text of sections for their readers. The link to the tar file is at the top of the results page.

The files are UTF-8 text files. There are no line breaks except between paragraphs. Note that this is not good for poems or tables because the formatting is lost, but regular paragraphs look okay.

As usual, please report bugs or unusual goings on if you encounter any. Thank you!

Kangaroo692
Posts: 1951
Joined: August 21st, 2014, 9:34 am
Location: Probably the holodeck :)
Contact:

Post by Kangaroo692 » March 20th, 2015, 6:41 am

Thank you for the added functionality, Isana.

Isana
Posts: 276
Joined: December 2nd, 2013, 12:46 pm
Location: USA

Post by Isana » March 20th, 2015, 8:31 pm

Thanks for looking, Kangaroo. :thumbs:

TriciaG
LibriVox Admin Team
Posts: 38075
Joined: June 15th, 2008, 10:30 pm
Location: Toronto, ON (but Minnesotan to age 32)

Post by TriciaG » March 21st, 2015, 3:12 pm

Have I mentioned how cool this is? 8-) I want to say that before I ask why it's not finding something. :lol:

Any idea why it's not finding the last chapter in 24808?

- I marked it as Roman numeral titles (I don't care that the chapter titles are included in the word count)
- 11 chapters
- Word before each numeral: "CHAPTER" (is this case sensitive, by the way?)
- End string: "BIOGRAPHICAL NOTE"

Result: It finds all but chapter 11 (says "undefined"). It also tries to find a chapter 12.

It's still very helpful for chapters 1-10, though!
Fiction, partly about jail atrocities: It Is Never too Late
Watergate Report, volume 3: Here
E E Cummings' time in French prison: The Enormous Room

Isana
Posts: 276
Joined: December 2nd, 2013, 12:46 pm
Location: USA

Post by Isana » March 21st, 2015, 4:48 pm

Thank you, Tricia! It's because LVers are cool. 8-)

I took a quick look at 24808. Try using using "bibliographical note" instead of "biographical note". I think that will work. The chapter titles are not case sensitive, only punctuation sensitive.

Chapter 11 was probably found but the app did not know how to count the words because the next "chapter" (the end flag in this case) was not found. This is always the case when a chapter title is displayed with UNDEFINED--the chapter title was found but the next one in the list wasn't.

Ah, yes, the app treats the end flag (the end, index, appendix, etc.) as a chapter right now and includes it in the list. I'll probably remove it in a future update.

I really appreciate the feedback. 8-)

TriciaG
LibriVox Admin Team
Posts: 38075
Joined: June 15th, 2008, 10:30 pm
Location: Toronto, ON (but Minnesotan to age 32)

Post by TriciaG » March 21st, 2015, 5:01 pm

Oops! :oops: "Problem Exists Between Chair and Keyboard"
Fiction, partly about jail atrocities: It Is Never too Late
Watergate Report, volume 3: Here
E E Cummings' time in French prison: The Enormous Room

Post Reply