From 68b1483d4de09c4ea881b94a712f12171661d951 Mon Sep 17 00:00:00 2001 From: Jason Woofenden Date: Sat, 12 Oct 2013 17:02:25 -0400 Subject: [PATCH] avoid "alternative form of ..." definitions --- main.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.coffee b/main.coffee index 0467055..b444f1a 100644 --- a/main.coffee +++ b/main.coffee @@ -505,7 +505,7 @@ extract_wiktionary_definiton = (html) -> if part and el.tagName is 'OL' $(el).children().each (i, el) -> new_def = $(el).text() - if new_def.substr(0, 9) is '(obsolete' or new_def.substr(0, 8) is "(archaic" + if new_def.substr(0, 9) is '(obsolete' or new_def.substr(0, 8) is "(archaic" or new_def.substr(0, 20) is "Alternative form of " key = 'obsolete' else if part is 'verb' -- 1.7.10.4