Giter Club home page Giter Club logo

Comments (4)

windymilla avatar windymilla commented on August 19, 2024

@okrick: the hyphens tool reports the following situations:
If the file contains "to-day", then it also looks for "to day" and "today" and reports them all.
Can you check again, and give a specific file/example if there is something that is not working the way it should - thanks.

from guiguts-py.

okrick avatar okrick commented on August 19, 2024

It works both ways for the file I'm currently working on. So that part is OK.

Nonhyphenated words are flagged as suspect by the word frequency hyphens checker, but generally speaking, modern English leans towards omitting hyphens. For example, "blackish brown" is preferred over "blackish-brown," and "today" is more common than "to-day." My experience suggests a slightly more hyphenated style prevailed in 19th century English. However, even within that era, it seems the non-hyphenated versions were more frequent in most cases.

  • Therefore to respect the author's presumed preference, the less frequent version (likely the hyphenated one) should be flagged as suspect. In case of a tie, the hyphenated version can be considered suspect.

  • Alternatively, the hyphenated version could be marked as suspect, never the nonhyphenated versions.

projectID5dc792b0751d6.txt

from guiguts-py.

windymilla avatar windymilla commented on August 19, 2024

In GG1, I think the behavior is correct. If a word appears as hyphenated AND non-hyphenated, then it is a suspect, and both forms are flagged with ****. Following your comment, I discovered a bug in GG2, and have hopefully fixed it to behave the same as GG1. Thanks

from guiguts-py.

srjfoo avatar srjfoo commented on August 19, 2024

In GG1, I think the behavior is correct. If a word appears as hyphenated AND non-hyphenated, then it is a suspect, and both forms are flagged with ****. Following your comment, I discovered a bug in GG2, and have hopefully fixed it to behave the same as GG1. Thanks

Tested in latest update:
image

That's what I expect to see with suspects not checked -- everything listed. I realize now, though, that I haven't tested completely. I got derailed by the difference between GG1 and GG2 at this stage.

from guiguts-py.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.