Mini Linter Project Help

I did have one question: I finished the Mini Linter project (albeit taking me several hours of frustration) but I did accomplish the task!

Once finished, I realized that after running the newly formed betterWords, I realized that the articles ‘a’ and ‘an’ were somewhat off (example: I reached Greenbrook Nature Sanctuary, an beautiful park along the coast of the Hudson.). Has anyone fixed this yet? I am trying to figure out how to do this and would like some guidance, please.

Any suggestions are appreciated and welcome!

Thank you!

If you wanted to fix it using code, you could take the English rule that states use an when the succeeding word begins with a vowel, else use a. So you could check each word/a or an, and see if the first letter of the succeeding word begins with a vowel or a consonant. I hope this has given you a nudge in the right direction!

Hi, thanks I think this does give me a push in the right direction. I’ll think on that suggestion and see if I can implement it using code.

Thanks again!

1 Like