import org.xml.sax.Attributes;
import org.xml.sax.SAXException;
+import com.hughes.android.dictionary.parser.enwiktionary.EnWiktionaryLangs;
+
public class WiktionarySplitter extends org.xml.sax.helpers.DefaultHandler {
private static final String FILE_TO_SPLIT = "data/inputs/enwiktionary-20111224-pages-articles.xml";
}
if (selectors.isEmpty()) {
- for (final Map.Entry<String, String> entry : Language.isoCodeToWikiName.entrySet()) {
+ for (final Map.Entry<String, String> entry : EnWiktionaryLangs.isoCodeToWikiName.entrySet()) {
selectors.add(new Selector(String.format("data/inputs/enWikiSplit/%s.data", entry.getKey()), entry.getValue()));
}
}