When you’re a proficient speaker of certain language, you acquire the sense of language.
You get info from outside and use it when writing for example. With that sense of the language you can infer that that word there… is not correctly used, although you have never use that word, but the proficiency tells you so.
Sorry for my mistakes and errors. / Photo from: vintage-woman-writing rabbitmontaut wordpress com