languagetool-org / languagetool

Style and Grammar Checker for 25+ Languages
https://languagetool.org
GNU Lesser General Public License v2.1
12.41k stars 1.39k forks source link

[en] "out of the way"->"out-of-the-way" #4400

Open Tex2002ans opened 3 years ago

Tex2002ans commented 3 years ago

These list "out-of-the-way" as an adjective:

https://www.merriam-webster.com/dictionary/out%20of%20the%20way https://dictionary.cambridge.org/us/dictionary/english/out-of-the-way https://www.collinsdictionary.com/us/dictionary/english/out-of-the-way

Lexico has "out of the way":

https://www.lexico.com/en/definition/out_of_the_way


Undetected:

out of the way -> out-of-the-way

Canada cannot render the tundra or the out of the way mountaintop economically viable.

(Also undetected) Here are 2 examples from the dictionaries above (hyphens removed, so wrong):

out of the way -> out-of-the-way

Out of the way places are difficult to reach and are therefore not often visited. We found this great little out of the way restaurant.

(Correct) This example was detected:

He grew up in an out of the way place in South Dakota.

So I'm thinking LT's rule just needs some finetuning.

tiff commented 3 years ago

We found this great little out of the way restaurant.

This one will be found as part of my changes here: https://github.com/languagetool-org/languagetool/commit/fdd9c892789bc811dff01be0246fb24623052405