Jump to content
3 minutes ago, Wictorian said:

 

First, how can I display the text? 

Assuming you're doing this in something like Tkinter, as a label

 

3 minutes ago, Wictorian said:

And how can I deal with punctiation?

?

The text is coming from a predefined string -> punctuation will create some special cases but really there's not much to miss

Community Standards || Tech News Posting Guidelines

---======================================================================---

CPU: R5 9600X || GPU: RX 9070 XT|| Memory: 32GB || Cooler: Peerless Assassin || PSU: RM850e|| Case: Lian Li A3

Link to comment
https://linustechtips.com/topic/1382198-speed-reader/#findComment-15054680
Share on other sites

Link to post
Share on other sites

4 minutes ago, Slottr said:

Assuming you're doing this in something like Tkinter, as a label

 

I guess it will be okay, I want to make it readable.

6 minutes ago, Slottr said:

The text is coming from a predefined string -> punctuation will create some special cases but really there's not much to miss

It will display one word at a time. Should it display one piece of punctuation at a time too? Or should I merge it with the previous word?

Link to comment
https://linustechtips.com/topic/1382198-speed-reader/#findComment-15054694
Share on other sites

Link to post
Share on other sites

7 hours ago, Wictorian said:

I guess it will be okay, I want to make it readable.

That’s what labels are for

 

7 hours ago, Wictorian said:

will display one word at a time. Should it display one piece of punctuation at a time too? Or should I merge it with the previous word?

That’s up to you to decide, it’s your software

Community Standards || Tech News Posting Guidelines

---======================================================================---

CPU: R5 9600X || GPU: RX 9070 XT|| Memory: 32GB || Cooler: Peerless Assassin || PSU: RM850e|| Case: Lian Li A3

Link to comment
https://linustechtips.com/topic/1382198-speed-reader/#findComment-15055160
Share on other sites

Link to post
Share on other sites

On 10/19/2021 at 8:21 AM, Wictorian said:

Should it display one piece of punctuation at a time too? Or should I merge it with the previous word?

I'd merge it with the previous word. Also, make sure to run your tkinter gui in a seperate thread, this will make your experience smoother and more responsible (the window or additional features like buttons may hang if both your gui and main code run in the same thread).

Link to comment
https://linustechtips.com/topic/1382198-speed-reader/#findComment-15058607
Share on other sites

Link to post
Share on other sites

7 hours ago, Bladzy said:

I'd merge it with the previous word. Also, make sure to run your tkinter gui in a seperate thread, this will make your experience smoother and more responsible (the window or additional features like buttons may hang if both your gui and main code run in the same thread).

I have no idea how to do that.

Link to comment
https://linustechtips.com/topic/1382198-speed-reader/#findComment-15059236
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×