]> gitweb.fperrin.net Git - DictionaryPC.git/blobdiff - src/com/hughes/android/dictionary/parser/wiktionary/EnParser.java
Split ZH into yue and cmn, fixed German heading.
[DictionaryPC.git] / src / com / hughes / android / dictionary / parser / wiktionary / EnParser.java
index 13227adea7adae45e0f2e5a30b5c80ea9975f9b3..0e1a203ff278e02573f5fb2e20d7da5f8adb334c 100644 (file)
@@ -30,7 +30,7 @@ public abstract class EnParser extends AbstractWiktionaryParser {
 
   // TODO: process {{ttbc}} lines
   
-  static final Pattern partOfSpeechHeader = Pattern.compile(
+  public static final Pattern partOfSpeechHeader = Pattern.compile(
       "Noun|Verb|Adjective|Adverb|Pronoun|Conjunction|Interjection|" +
       "Preposition|Proper noun|Article|Prepositional phrase|Acronym|" +
       "Abbreviation|Initialism|Contraction|Prefix|Suffix|Symbol|Letter|" +
@@ -44,7 +44,6 @@ public abstract class EnParser extends AbstractWiktionaryParser {
       "Particle|Interjection|Pronominal adverb" +
       "Han character|Hanzi|Hanja|Kanji|Katakana character|Syllable");
   
-  // Might only want to remove "lang" if it's equal to "zh", for example.
   static final Set<String> USELESS_WIKI_ARGS = new LinkedHashSet<String>(
       Arrays.asList(
           "lang",