@Test public void testStemTail() { assertEquals("name", new PatternStemmer("_strip$", false).stem("name_strip")); assertEquals("name_strip", new PatternStemmer("_strip$", false).stem("name_strip_strip")); }
@Override public String stem(String dbEntityName) { Matcher m = pattern.matcher(dbEntityName); return m.replaceAll(""); }
PatternStemmer implements DbEntityNameStemmer { @Override public String stem(String dbEntityName) { Matcher m = pattern.matcher(dbEntityName); return m.replaceAll(""); } }
PatternStemmer implements DbEntityNameStemmer { @Override public String stem(String dbEntityName) { Matcher m = pattern.matcher(dbEntityName); return m.replaceAll(""); } PatternStemmer(String stripPattern, boolean caseSensitive); }
PatternStemmer implements DbEntityNameStemmer { @Override public String stem(String dbEntityName) { Matcher m = pattern.matcher(dbEntityName); return m.replaceAll(""); } PatternStemmer(String stripPattern, boolean caseSensitive); @Override String stem(String dbEntityName); }
PatternStemmer implements DbEntityNameStemmer { @Override public String stem(String dbEntityName) { Matcher m = pattern.matcher(dbEntityName); return m.replaceAll(""); } PatternStemmer(String stripPattern, boolean caseSensitive); @Override String stem(String dbEntityName);  }