@Test public void testFindAll() { assertTrue(!scanner.findAll("64淘交易宝").isEmpty()); assertTrue(!scanner.findAll("日淘交易宝").isEmpty()); assertTrue(scanner.findAll("出vs售taobao交易").size() == 2); assertTrue(scanner.findAll("交a易TaoBao交易ｔａｏｂａｏ").size() == 2); assertTrue(scanner.findAll("交易TaoooBao交易ｔａｏｂａｏ").size() == 2); assertTrue(scanner.findAll("taobao交易,出售元宝").size() == 2); }
public List<String> findAll(final String text) { return this.analysis(text, 0, false).getWords(); }
DfaScanner { public List<String> findAll(final String text) { return this.analysis(text, 0, false).getWords(); } }
DfaScanner { public List<String> findAll(final String text) { return this.analysis(text, 0, false).getWords(); } DfaScanner(List<String> sensitivewords);  DfaScanner(String symbols, List<String> sensitivewords); }
DfaScanner { public List<String> findAll(final String text) { return this.analysis(text, 0, false).getWords(); } DfaScanner(List<String> sensitivewords);  DfaScanner(String symbols, List<String> sensitivewords); boolean contains(final String text); String replace(final String text); Optional<String> find(final String text); List<String> findAll(final String text); }
DfaScanner { public List<String> findAll(final String text) { return this.analysis(text, 0, false).getWords(); } DfaScanner(List<String> sensitivewords);  DfaScanner(String symbols, List<String> sensitivewords); boolean contains(final String text); String replace(final String text); Optional<String> find(final String text); List<String> findAll(final String text);  }