Back to project page MYKey_SoftKeyboard.
The source code is released under:
Apache License
If you think the Android project MYKey_SoftKeyboard listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package korean_automata; /*from w ww.j a v a 2 s . c o m*/ import java.util.ArrayList; import com.android.mykey.*; public class StFirstVowelAndFirst extends CombinationState { public StFirstVowelAndFirst(){ repeat = false; } @Override public int[] combine(ArrayList<Integer> phoArr, KoreanAutomata ka) { ka.setIsFinalInput(true); combPhon = new int[2]; changePhonemeCategory(phoArr); combPhon[0] = calcPhoneme(phoArr.get(0), phoArr.get(1)); combPhon[1] = calcPhoneme(PhonemeCategoryConverter.changePhonemeFnAFrToAl(phoArr.get(2))); ka.setEnter(true); return combPhon; } }