Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Text analysis #5

Open
cengels opened this issue May 21, 2020 · 0 comments
Open

Text analysis #5

cengels opened this issue May 21, 2020 · 0 comments
Assignees
Labels
feature New feature or request gui The issue concerns the graphical user-interface proposal A tentative issue that may or may not be completed text area The issue concerns the text area

Comments

@cengels
Copy link
Owner

cengels commented May 21, 2020

This proposal involves a text analysis mode that, when turned on, analyzes the document for possible problems.

Design

Depending on the type of problem and the range of text it addresses, the problem could either be described by interjecting text in a different color or by adding text in the margins, also in a different color. The corresponding text should also be highlighted (for instance by using yellow squigglies).

Note that this analysis mode should by no means be on by default. It must be specifically turned on by the user and does not carry over to subsequent launches, as it would otherwise violate the minimalism principle.

Possible problems

Document structure

  • Monotone sentence structure (multiple sentences in a row with the same length)
  • Confusing sentences (sentence is too long or contains too many parantheses)
  • Walls of text (paragraph is too long)

Grammar

  • Possible grammatical mistakes (could be difficult to implement as it would require a detailed grammar engine on a per-language basis; perhaps interfacing with the API of an online grammar engine could work?)

Spelling

Spelling mistakes are not a part of this proposal as these would instead be highlighted by the spellcheck feature, which is on by default.

@cengels cengels added gui The issue concerns the graphical user-interface feature New feature or request proposal A tentative issue that may or may not be completed text area The issue concerns the text area labels May 21, 2020
@cengels cengels self-assigned this May 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request gui The issue concerns the graphical user-interface proposal A tentative issue that may or may not be completed text area The issue concerns the text area
Projects
None yet
Development

No branches or pull requests

1 participant