The Smart Common Input Method platform