Home
last modified time | relevance | path

Searched refs:WnnWord (Results 1 – 25 of 26) sorted by relevance

12

/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/JAJP/
DOpenWnnClauseConverterJAJP.java37 private HashMap<String, ArrayList<WnnWord>> mIndepWordBag;
39 private HashMap<String, ArrayList<WnnWord>> mAllIndepWordBag;
41 private HashMap<String, ArrayList<WnnWord>> mFzkPatterns;
74 mIndepWordBag = new HashMap<String, ArrayList<WnnWord>>(); in OpenWnnClauseConverterJAJP()
75 mAllIndepWordBag = new HashMap<String, ArrayList<WnnWord>>(); in OpenWnnClauseConverterJAJP()
260 ArrayList<WnnWord> stems = getIndependentWords(input, all); in singleClauseConvert()
262 Iterator<WnnWord> stemsi = stems.iterator(); in singleClauseConvert()
264 WnnWord stem = stemsi.next(); in singleClauseConvert()
276 ArrayList<WnnWord> fzks = getAncillaryPattern(str); in singleClauseConvert()
292 Iterator<WnnWord> stemsi = stems.iterator(); in singleClauseConvert()
[all …]
DOpenWnnEngineJAJP.java34 import jp.co.omronsoft.openwnn.WnnWord;
89 private ArrayList<WnnWord> mConvResult;
92 private HashMap<String, WnnWord> mCandTable;
110 private WnnWord mPreviousWord;
152 mConvResult = new ArrayList<WnnWord>(); in OpenWnnEngineJAJP()
153 mCandTable = new HashMap<String, WnnWord>(); in OpenWnnEngineJAJP()
200 private WnnWord getCandidate(int index) { in getCandidate()
201 WnnWord word; in getCandidate()
237 addCandidate((WnnWord)convResult.next()); in getCandidate()
246 List<WnnWord> addCandidateList in getCandidate()
[all …]
DKanaConverter.java26 import jp.co.omronsoft.openwnn.WnnWord;
476 private List<WnnWord> mAddCandidateList;
491 mAddCandidateList = new ArrayList<WnnWord>(); in KanaConverter()
517 …public List<WnnWord> createPseudoCandidateList(String inputHiragana, String inputRomaji, int keyBo… in createPseudoCandidateList()
518 List<WnnWord> list = mAddCandidateList; in createPseudoCandidateList()
527 list.add(new WnnWord(inputHiragana, inputHiragana)); in createPseudoCandidateList()
529 list.add(new WnnWord(mStringBuff.toString(), inputHiragana, mPosDefault)); in createPseudoCandidateList()
532 list.add(new WnnWord(mStringBuff.toString(), inputHiragana, mPosDefault)); in createPseudoCandidateList()
545 list.add(new WnnWord(convHanSuuji, inputHiragana, mPosNumber)); in createPseudoCandidateList()
547 list.add(new WnnWord(convNumComma, inputHiragana, mPosNumber)); in createPseudoCandidateList()
[all …]
DUserDictionaryToolsListJAJP.java62 @Override protected Comparator<WnnWord> getComparator() { in getComparator()
67 protected class ListComparatorJAJP implements Comparator<WnnWord>{
68 public int compare(WnnWord word1, WnnWord word2) { in compare()
DClearUserDictionaryDialogPreferenceJAJP.java58 … OpenWnnEvent ev = new OpenWnnEvent(OpenWnnEvent.INITIALIZE_USER_DICTIONARY, new WnnWord()); in onDialogClosed()
DClearLearnDictionaryDialogPreferenceJAJP.java58 … OpenWnnEvent ev = new OpenWnnEvent(OpenWnnEvent.INITIALIZE_LEARNING_DICTIONARY, new WnnWord()); in onDialogClosed()
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/EN/
DOpenWnnEngineEN.java45 private ArrayList<WnnWord> mConvResult;
47 private HashMap<String, WnnWord> mCandTable;
75 mConvResult = new ArrayList<WnnWord>(); in OpenWnnEngineEN()
76 mCandTable = new HashMap<String, WnnWord>(); in OpenWnnEngineEN()
107 private WnnWord getCandidate(int index) { in getCandidate()
108 WnnWord word; in getCandidate()
138 addCandidate(new WnnWord(mInputString, mSearchKey)); in getCandidate()
142 … addCandidate(new WnnWord(mSearchKey.substring(0,1).toUpperCase() + mSearchKey.substring(1), in getCandidate()
147 addCandidate(new WnnWord(mSearchKey.toUpperCase(), mSearchKey)); in getCandidate()
162 private boolean addCandidate(WnnWord word) { in addCandidate()
[all …]
DUserDictionaryToolsListEN.java65 @Override protected Comparator<WnnWord> getComparator() { in getComparator()
70 protected class ListComparatorEN implements Comparator<WnnWord>{
71 public int compare(WnnWord word1, WnnWord word2) { in compare()
DClearUserDictionaryDialogPreferenceEN.java58 … OpenWnnEvent ev = new OpenWnnEvent(OpenWnnEvent.INITIALIZE_USER_DICTIONARY, new WnnWord()); in onDialogClosed()
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
DWnnDictionary.java244 public int searchWord(int operation, int order, String keyString, WnnWord wnnWord ); in searchWord()
254 public WnnWord getNextWord( ); in getNextWord()
265 public WnnWord getNextWord( int length ); in getNextWord()
272 public WnnWord[] getUserDictionaryWords( ); in getUserDictionaryWords()
319 public int addWordToUserDictionary( WnnWord[] word ); in addWordToUserDictionary()
326 public int addWordToUserDictionary( WnnWord word ); in addWordToUserDictionary()
334 public int removeWordFromUserDictionary( WnnWord[] word ); in removeWordFromUserDictionary()
341 public int removeWordFromUserDictionary( WnnWord word ); in removeWordFromUserDictionary()
349 public int learnWord( WnnWord word ); in learnWord()
358 public int learnWord( WnnWord word, WnnWord previousWord ); in learnWord()
DWnnWord.java24 public class WnnWord { class
41 public WnnWord() { in WnnWord() method in WnnWord
51 public WnnWord(String candidate, String stroke) { in WnnWord() method in WnnWord
62 public WnnWord(String candidate, String stroke, int frequency) { in WnnWord() method in WnnWord
73 public WnnWord(String candidate, String stroke, WnnPOS posTag) { in WnnWord() method in WnnWord
85 public WnnWord(String candidate, String stroke, WnnPOS posTag, int frequency) { in WnnWord() method in WnnWord
98 public WnnWord(int id, String candidate, String stroke, WnnPOS posTag, int frequency) { in WnnWord() method in WnnWord
112 …public WnnWord(int id, String candidate, String stroke, WnnPOS posTag, int frequency, int attribut… in WnnWord() method in WnnWord
DUserDictionaryToolsList.java137 private ArrayList<WnnWord> mWordList = null;
140 private WnnWord[] mSortData;
162 protected abstract Comparator<WnnWord> getComparator(); in getComparator()
405 WnnWord wnnWordSearch = new WnnWord();
455 … OpenWnnEvent ev = new OpenWnnEvent(OpenWnnEvent.INITIALIZE_USER_DICTIONARY, new WnnWord());
461 mWordList = new ArrayList<WnnWord>();
566 public boolean deleteWord(WnnWord searchword) { in deleteWord()
574 WnnWord getword = new WnnWord(); in deleteWord()
584 WnnWord delword = new WnnWord(); in deleteWord()
625 private ArrayList<WnnWord> getWords() { in getWords()
[all …]
DOpenWnnDictionaryImpl.java417 protected void createQuery( String keyString, WnnWord wnnWord, int operation, int order) { in createQuery()
580 public int searchWord( int operation, int order, String keyString, WnnWord wnnWord ) { in searchWord()
625 public WnnWord getNextWord( ) { in getNextWord()
632 public WnnWord getNextWord( int length ) { in getNextWord()
636 WnnWord result = new WnnWord( ); in getNextWord()
682 WnnWord result = new WnnWord( ); in getNextWord()
706 public WnnWord[] getUserDictionaryWords( ) { in getUserDictionaryWords()
722 WnnWord[] words = new WnnWord[ numOfWords ]; in getUserDictionaryWords()
726 words[ i ] = new WnnWord(); in getUserDictionaryWords()
848 public int addWordToUserDictionary( WnnWord[] word ) { in addWordToUserDictionary()
[all …]
DWnnEngine.java92 public int searchWords(WnnWord word); in searchWords()
106 public WnnWord getNextCandidate(); in getNextCandidate()
113 public WnnWord[] getUserDictionaryWords(); in getUserDictionaryWords()
125 public boolean learn(WnnWord word); in learn()
133 public int addWord(WnnWord word); in addWord()
141 public boolean deleteWord(WnnWord word); in deleteWord()
DSymbolList.java210 public int searchWords(WnnWord word) {return 0;} in searchWords()
213 public WnnWord getNextCandidate() { in getNextCandidate()
218 WnnWord word = new WnnWord(str, str); in getNextCandidate()
223 public boolean learn(WnnWord word) {return false;} in learn()
226 public int addWord(WnnWord word) {return 0;} in addWord()
229 public boolean deleteWord(WnnWord word) {return false;} in deleteWord()
247 public WnnWord[] getUserDictionaryWords() {return null;} in getUserDictionaryWords()
DWnnClause.java24 public class WnnClause extends WnnWord {
47 public WnnClause (String stroke, WnnWord stem) { in WnnClause()
63 public WnnClause (String stroke, WnnWord stem, WnnWord fzk) { in WnnClause()
DTextCandidates1LineViewManager.java113 private ArrayList<WnnWord> mWnnWordArray;
166 WnnWord word = getWnnWord(wordcount);
208 mWnnWordArray = new ArrayList<WnnWord>(); in TextCandidates1LineViewManager()
418 WnnWord result = converter.getNextCandidate(); in displayCandidatesNormal()
457 WnnWord result = converter.getNextCandidate(); in displayCandidatesDelay()
478 private int setCandidate(WnnWord word) { in setCandidate()
542 private void selectCandidate(WnnWord word) { in selectCandidate()
709 public WnnWord getFocusedWnnWord() { in getFocusedWnnWord()
718 public WnnWord getWnnWord(int index) { in getWnnWord()
DTextCandidatesViewManager.java159 private ArrayList<WnnWord> mWnnWordArray1st = new ArrayList<WnnWord>();
161 private ArrayList<WnnWord> mWnnWordArray2nd = new ArrayList<WnnWord>();
163 private LinkedList<WnnWord> mWnnWordSelectedList = new LinkedList<WnnWord>();
269 WnnWord word = null;
362 private void onClickCandidate(View v, ArrayList<WnnWord> list) { in onClickCandidate()
371 WnnWord word = list.get(wordcount); in onClickCandidate()
387 public boolean onLongClickCandidate(View v, ArrayList<WnnWord> list) { in onLongClickCandidate()
801 WnnWord result = null; in displayCandidates()
878 private void setCandidate(boolean isCategory, WnnWord word) { in setCandidate()
1290 private void selectCandidate(WnnWord word) { in selectCandidate()
[all …]
DUserDictionaryToolsEdit.java71 private WnnWord mBeforeEditWnnWord;
148 mBeforeEditWnnWord = new WnnWord(); in onCreate()
341 WnnWord wnnWordAdd = new WnnWord();
368 private void deleteDictionary(WnnWord word) {
DOpenWnnEvent.java277 public WnnWord word = null;
371 public OpenWnnEvent(int code, WnnWord word) { in OpenWnnEvent()
383 public OpenWnnEvent(int code, int dict, WnnWord word) { in OpenWnnEvent()
DCandidatesViewManager.java74 protected WnnWord mWord;
163 protected void displayDialog(View view, final WnnWord word) { in displayDialog()
DCandidateTextView.java96 public CandidateTextView setCandidateTextView(WnnWord word, int wordCount, in setCandidateTextView()
118 public int setCustomCandidate(WnnWord word) { in setCustomCandidate()
DOpenWnnEN.java72 private WnnWord[] mUserDictionaryWords = null;
868 WnnWord word = new WnnWord(tmp, tmp); in commitText()
882 private void commitText(WnnWord word, boolean withSpace) { in commitText()
DCandidateFilter.java41 public boolean isAllowed(WnnWord word) { in isAllowed()
DWnnSentence.java28 public class WnnSentence extends WnnWord {

12