PageRenderTime 48ms CodeModel.GetById 14ms RepoModel.GetById 1ms app.codeStats 0ms

/src/main/java/com/searchcode/app/util/ISpellingCorrector.java

https://github.com/boyter/searchcode-server
Java | 28 lines | 10 code | 9 blank | 9 comment | 0 complexity | 2093ef5663321257817d05d88983a1d5 MD5 | raw file
  1. /*
  2. * Copyright (c) 2016 Boyter Online Services
  3. *
  4. * Use of this software is governed by the Fair Source License included
  5. * in the LICENSE.TXT file, but will be eventually open under GNU General Public License Version 3
  6. * see the README.md for when this clause will take effect
  7. *
  8. * Version 1.3.15
  9. */
  10. package com.searchcode.app.util;
  11. import java.util.List;
  12. public interface ISpellingCorrector {
  13. int getWordCount();
  14. void putWord(String word);
  15. String correct(String word);
  16. boolean containsWord(String word);
  17. boolean reset();
  18. List<String> getSampleWords(int count);
  19. }