Skip to content

False positive "fro" in "to and fro" #3774

Open

Description

@bobbens

Would it be possible to have the "fro" in "to and fro" not detected as a misspelling?

Activity

  1. DimitriPapadopoulos commented on Sep 19, 2025

    @DimitriPapadopoulos
    Collaborator

    It's already in the rare dictionary.

    See #3651.

  2. bobbens commented on Sep 21, 2025

    @bobbens
    Author

    In the case of fro, to my understanding, it is only used in to and fro, but I'm not sure it's possible to have codespell convert fro->for in all cases, except when it is part of to and fro.

  3. DimitriPapadopoulos commented on Sep 21, 2025

    @DimitriPapadopoulos
    Collaborator

    Coedspell splits into individual words and compares each word with dictionaries of words with common typos. That's all. It could be modified to handle groups of words, but I feel the few use cases are not worth the extra complexity.

    Tools based on IA would be much more effective. I haven't heard of such open source spelling/grammar checkers. All the AI-based tools I know of are proprietary tools on the cloud.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions