Q: trial and error? that would take a loong time.
A: no longer than learning a language of speech and words