I recently read a post here on CSE regarding the use of multiple input methods. I use MacOSX 10.9 so I began experimenting with an interesting aspect of the operating system called predictive completion. I added a Cangjie input source to my system and typed the letter P and selected the first option (心), the OS then offered (情) as the next first option, followed by 舒暢. Can someone please explain the framework used by MacOSX to produce predictive Chinese grammar? I am more interested in whether choosing the top choices along any given thread will produce reliable grammatical structures rather than the technology behind it. Although, if known, I would appreciate an understanding of the logic behind this option as well (on initial inspection, the completions do not appear to come from the dictionary).
Please let me know if I need to clarify this further.
(System Preferences > Keyboard > Input Sources)