stutter icon indicating copy to clipboard operation
stutter copied to clipboard

Consider an option to hide/remove references in academic texts

Open jamestomasino opened this issue 4 years ago • 2 comments

Submitted via email:

I use your program mainly to read academic texts that contains a lot of references [eg (Johnson and Johnson, 1989)] that interrupts the flow. Adding an option to ignore these would be very beneficial for this usage. I have no idea if that is easy to implement, but it might not be so difficult as the references always is a parenthesis with about 3-30 characters, the first of which is a capital, followed by four digits and a closing parenthesis. Using these identifiers might give some false negatives and positives, but that number would be very small indeed. Of course, I have no way of knowing if your program is used on academic texts enough to warrant looking into this, so I’ll not be holding my breath, but it’d be a boon for students and researchers who tend to skim a lot of literature.

jamestomasino avatar May 12 '21 14:05 jamestomasino

Note to self:

Look up patterns of common referencing schemes and check if there exists a set of regex patterns to match them reliably.

jamestomasino avatar May 12 '21 14:05 jamestomasino

If there are multiple citations for the same statement they typically follow this pattern: Parenthesis, 3-30 characters, four digits, semicolon or comma, then the same repeated, then parenthesis close. E.g (Bradbury and Baker 1981, Krause et al. 1982, Quick and Horton 1984, Dietz et al. 1985, Demmig et al. 1987, Weis and Berry 1987, Bilger et al. 1989, Genty et al. 1989) alternatively with semicolons instead of commas. Sometimes there will also be an explanation, e.g. (for reviews, see e.g., Lavorel and Etienne 1977, Briantais et al. 1986, Renger and Schreiber 1986). Neither are so common that it's particularly important to deal with them, particularly as they don't "break the flow" to the same extent as multiple smaller citations.

Anderseika avatar May 12 '21 14:05 Anderseika