/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/ |
WnnEngine.java | 92 public int searchWords(WnnWord word); 106 public WnnWord getNextCandidate(); 111 * @return {@code null} if no word is registered; the array of {@link WnnWord} if some words is registered. 113 public WnnWord[] getUserDictionaryWords(); 125 public boolean learn(WnnWord word); 133 public int addWord(WnnWord word); 141 public boolean deleteWord(WnnWord word);
|
WnnDictionary.java | 231 * For using link search function, specify the {@code wnnWord} as previous word and 239 * @param wnnWord The previous word 244 public int searchWord(int operation, int order, String keyString, WnnWord wnnWord ); 252 * @return An instance of WnnWord; null if no result or an error occurs. 254 public WnnWord getNextWord( ); 263 * @return An instance of WnnWord; null if no result or an error occurs. 265 public WnnWord getNextWord( int length ); 270 * @return The array of WnnWord objects. 272 public WnnWord[] getUserDictionaryWords( ) [all...] |
WnnClause.java | 24 public class WnnClause extends WnnWord { 47 public WnnClause (String stroke, WnnWord stem) { 63 public WnnClause (String stroke, WnnWord stem, WnnWord fzk) {
|
WnnWord.java | 24 public class WnnWord { 41 public WnnWord() { 51 public WnnWord(String candidate, String stroke) { 62 public WnnWord(String candidate, String stroke, int frequency) { 73 public WnnWord(String candidate, String stroke, WnnPOS posTag) { 85 public WnnWord(String candidate, String stroke, WnnPOS posTag, int frequency) { 98 public WnnWord(int id, String candidate, String stroke, WnnPOS posTag, int frequency) { 112 public WnnWord(int id, String candidate, String stroke, WnnPOS posTag, int frequency, int attribute) {
|
SymbolList.java | 210 public int searchWords(WnnWord word) {return 0;} 213 public WnnWord getNextCandidate() { 218 WnnWord word = new WnnWord(str, str); 223 public boolean learn(WnnWord word) {return false;} 226 public int addWord(WnnWord word) {return 0;} 229 public boolean deleteWord(WnnWord word) {return false;} 247 public WnnWord[] getUserDictionaryWords() {return null;}
|
CandidateFilter.java | 41 public boolean isAllowed(WnnWord word) {
|
UserDictionaryToolsList.java | 137 private ArrayList<WnnWord> mWordList = null; 140 private WnnWord[] mSortData; 162 protected abstract Comparator<WnnWord> 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) { 574 WnnWord getword = new WnnWord(); [all...] |
OpenWnnEvent.java | 277 public WnnWord word = null; 371 public OpenWnnEvent(int code, WnnWord word) { 383 public OpenWnnEvent(int code, int dict, WnnWord word) {
|
CandidatesViewManager.java | 48 * @see jp.co.omronsoft.openwnn.WnnWord 53 * @see jp.co.omronsoft.openwnn.WnnWord 58 * @see jp.co.omronsoft.openwnn.WnnWord 63 * @see jp.co.omronsoft.openwnn.WnnWord 74 protected WnnWord mWord; 163 protected void displayDialog(View view, final WnnWord word) {
|
OpenWnnDictionaryImpl.java | 413 * @param wnnWord The previous word for link search 417 protected void createQuery( String keyString, WnnWord wnnWord, int operation, int order) { 423 wnnWord = null; 440 if( wnnWord != null ) { 452 if( wnnWord != null ) { 465 if( wnnWord != null ) { 474 queryArgs[ 0 ] = wnnWord.stroke; 475 queryArgs[ 1 ] = wnnWord.candidate; 580 public int searchWord( int operation, int order, String keyString, WnnWord wnnWord ) [all...] |
TextCandidates1LineViewManager.java | 113 private ArrayList<WnnWord> mWnnWordArray; 166 WnnWord word = getWnnWord(wordcount); 208 mWnnWordArray = new ArrayList<WnnWord>(); 418 WnnWord result = converter.getNextCandidate(); 457 WnnWord result = converter.getNextCandidate(); 478 private int setCandidate(WnnWord word) { 542 private void selectCandidate(WnnWord word) { 709 public WnnWord getFocusedWnnWord() { 714 * Get WnnWord. 716 * @return WnnWord wor [all...] |
UserDictionaryToolsEdit.java | 71 private WnnWord mBeforeEditWnnWord; 148 mBeforeEditWnnWord = new WnnWord(); 340 /* create WnnWord from the strings */ 341 WnnWord wnnWordAdd = new WnnWord(); 368 private void deleteDictionary(WnnWord word) {
|
TextCandidatesViewManager.java | 159 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) { 371 WnnWord word = list.get(wordcount); 387 public boolean onLongClickCandidate(View v, ArrayList<WnnWord> list) [all...] |
CandidateTextView.java | 90 * @param WnnWord candidate 96 public CandidateTextView setCandidateTextView(WnnWord word, int wordCount, 115 * @param WnnWord candidate word 118 public int setCustomCandidate(WnnWord word) {
|
OpenWnnEN.java | 72 private WnnWord[] mUserDictionaryWords = null; 868 WnnWord word = new WnnWord(tmp, tmp); 882 private void commitText(WnnWord word, boolean withSpace) { [all...] |
WnnSentence.java | 28 public class WnnSentence extends WnnWord {
|
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/EN/ |
UserDictionaryToolsListEN.java | 65 @Override protected Comparator<WnnWord> getComparator() { 70 protected class ListComparatorEN implements Comparator<WnnWord>{ 71 public int compare(WnnWord word1, WnnWord word2) {
|
OpenWnnEngineEN.java | 45 private ArrayList<WnnWord> mConvResult; 47 private HashMap<String, WnnWord> mCandTable; 75 mConvResult = new ArrayList<WnnWord>(); 76 mCandTable = new HashMap<String, WnnWord>(); 107 private WnnWord getCandidate(int index) { 108 WnnWord word; 138 addCandidate(new WnnWord(mInputString, mSearchKey)); 142 addCandidate(new WnnWord(mSearchKey.substring(0,1).toUpperCase() + mSearchKey.substring(1), 147 addCandidate(new WnnWord(mSearchKey.toUpperCase(), mSearchKey)); 162 private boolean addCandidate(WnnWord word) [all...] |
ClearUserDictionaryDialogPreferenceEN.java | 58 OpenWnnEvent ev = new OpenWnnEvent(OpenWnnEvent.INITIALIZE_USER_DICTIONARY, new WnnWord());
|
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/JAJP/ |
UserDictionaryToolsListJAJP.java | 62 @Override protected Comparator<WnnWord> getComparator() { 67 protected class ListComparatorJAJP implements Comparator<WnnWord>{ 68 public int compare(WnnWord word1, WnnWord word2) {
|
OpenWnnClauseConverterJAJP.java | 37 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>>(); 75 mAllIndepWordBag = new HashMap<String, ArrayList<WnnWord>>(); 260 ArrayList<WnnWord> stems = getIndependentWords(input, all); 262 Iterator<WnnWord> stemsi = stems.iterator(); 264 WnnWord stem = stemsi.next(); 276 ArrayList<WnnWord> fzks = getAncillaryPattern(str); 292 Iterator<WnnWord> stemsi = stems.iterator() [all...] |
OpenWnnEngineJAJP.java | 34 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>(); 153 mCandTable = new HashMap<String, WnnWord>(); 200 private WnnWord getCandidate(int index) { 201 WnnWord word; 237 addCandidate((WnnWord)convResult.next()); 246 List<WnnWord> addCandidateLis [all...] |
KanaConverter.java | 26 import jp.co.omronsoft.openwnn.WnnWord; 476 private List<WnnWord> mAddCandidateList; 491 mAddCandidateList = new ArrayList<WnnWord>(); 517 public List<WnnWord> createPseudoCandidateList(String inputHiragana, String inputRomaji, int keyBoardMode) { 518 List<WnnWord> list = mAddCandidateList; 527 list.add(new WnnWord(inputHiragana, inputHiragana)); 529 list.add(new WnnWord(mStringBuff.toString(), inputHiragana, mPosDefault)); 532 list.add(new WnnWord(mStringBuff.toString(), inputHiragana, mPosDefault)); 545 list.add(new WnnWord(convHanSuuji, inputHiragana, mPosNumber)); 547 list.add(new WnnWord(convNumComma, inputHiragana, mPosNumber)) [all...] |
ClearLearnDictionaryDialogPreferenceJAJP.java | 58 OpenWnnEvent ev = new OpenWnnEvent(OpenWnnEvent.INITIALIZE_LEARNING_DICTIONARY, new WnnWord());
|
ClearUserDictionaryDialogPreferenceJAJP.java | 58 OpenWnnEvent ev = new OpenWnnEvent(OpenWnnEvent.INITIALIZE_USER_DICTIONARY, new WnnWord());
|