Reply to post

Avoid reading First/Last Lines

Author
reyanoo
User
  • Total Posts : 0
  • Reward points: 0
  • Joined: 2018/10/18 09:58:47
  • Status: offline
2019/12/14 08:21:54 (permalink)

Avoid reading First/Last Lines

Hi Greg,
 
I have a quick question, is there an edit speech RegEx to avoid reading the first 2 lines/paragraphs and last line of every chapter in books?
Like avoid reading the Chapter number, the title and foot notes?
 
I am not sure but maybe there is a way for Epub books (which are compiled Htmls) that usualy include Titles, Body and Footer, avoid the title and the footer of each page?
 
Thanks Man,
Reyan 

5 Replies Related Threads

    Admin
    Administrator
    • Total Posts : 275
    • Reward points: 0
    • Joined: 2010/11/22 00:00:00
    • Location: USA
    • Status: offline
    Re: Avoid reading First/Last Lines 2019/12/14 08:48:34 (permalink)
    There is no generic way of doing this. If I had the actual book file, I maybe could create filters for this particular ebook that would work.
    reyanoo
    User
    • Total Posts : 0
    • Reward points: 0
    • Joined: 2018/10/18 09:58:47
    • Status: offline
    Re: Avoid reading First/Last Lines 2019/12/14 09:11:37 (permalink)
    This is the current book that i'm using in @Voice App:
     
    (download link removed)
     
    in each chapter the Chapter number and the title are written twice, and i would like to mute both, also the translator line which is the third line that is repeated in each chapter.
    (its not like i am ungrateful to the amazing work of the translator, its just it gets annoying when you hear it 200+ times, specially while driving).
     
    Can you please point out the parts that i can change for other books so i can do it my self in the future?
     
    Thanks for the support,
    Reyan
    post edited by Admin - 2019/12/17 07:56:38
    Admin
    Administrator
    • Total Posts : 275
    • Reward points: 0
    • Joined: 2010/11/22 00:00:00
    • Location: USA
    • Status: offline
    Re: Avoid reading First/Last Lines 2019/12/17 07:57:10 (permalink)
    Thank you, I'll look into it. I removed the download link from the post, but managed to download the file.
     
    Greg
    Admin
    Administrator
    • Total Posts : 275
    • Reward points: 0
    • Joined: 2010/11/22 00:00:00
    • Location: USA
    • Status: offline
    Re: Avoid reading First/Last Lines 2019/12/18 05:26:53 (permalink)
    You could creates these 3 speech replacements, under @Voice Settings menu - Edit speech (press the + button on top of Edit speech screen to create a new speech replacement each time):

    1. Skip reading Chapter no. and Translator lines at the start:

    Type: Regular Expression (RegEx)
    Pattern: ^((Chapter \d+)|(Translator)):.*
    Replace:                             (leave empty)

    2. Skip "You are reading..." near the end:

    Type: Regular Expression (RegEx)
    Pattern: ^You are reading <em>Strongest Abandoned.*
    Replace:                             (leave empty)

    3. Skip "Download more ebooks..."

    Type: Regular Expression (RegEx)
    Pattern: (^Download more ebooks for free at <b>.*)|(^<b>Net</b>\.)
    Replace:                             (leave empty)
     
     
    reyanoo
    User
    • Total Posts : 0
    • Reward points: 0
    • Joined: 2018/10/18 09:58:47
    • Status: offline
    Re: Avoid reading First/Last Lines 2019/12/18 06:06:14 (permalink)
    Amazing as always Greg,
     
    Thanks for the great supprt,
     
    Reyan
    Jump to:
    © 2024 APG vNext Commercial Version 5.1