@Test public void testStemHead() { assertEquals("name", new PatternStemmer("^strip_", false).stem("strip_name")); assertEquals("strip_name", new PatternStemmer("^strip_", false).stem("strip_strip_name")); }
@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);  }