summaryrefslogtreecommitdiffstats
path: root/migratetags/matchers/matcher.h
diff options
context:
space:
mode:
Diffstat (limited to 'migratetags/matchers/matcher.h')
-rw-r--r--migratetags/matchers/matcher.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/migratetags/matchers/matcher.h b/migratetags/matchers/matcher.h
index 1448c2e..ec41e3c 100644
--- a/migratetags/matchers/matcher.h
+++ b/migratetags/matchers/matcher.h
@@ -20,6 +20,8 @@ virtual int compare(const SWBuf &s1, const SWBuf &s2) = 0;
//
virtual void matchWords(vector<int> &targetWordTags, const vector<SWBuf> &targetWords, const vector<SWBuf> &fromWords, vector<int> fromWordTags) = 0;
+// sanitize word for comparing (e.g., toUpper, strip accents, etc)
+virtual SWBuf sanitizeWord(const SWBuf &word) = 0;
};
#endif