Around 20% of people around the world speak Mandarin. Besides, there is a trend that people start to learn Mandarin as their second language. There is a huge number of research that has focused on research in learning English as a second language, and so as the research has done on Mandarin speech research; however, to the best of our knowledge, no recent research has been done in attempting to provide any system that assists people who learn Mandarin as their second language in grammar annotation and composition correction when they are writing. In this system, we aim at developing an intelligent-based expert system that assists Mandarin is not their first language.