Skip to content

Commit 94a5dcd

Browse files
committed
Add Esperanto & Chinese namespaces
1 parent 9383277 commit 94a5dcd

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

core/src/main/scala/org/dbpedia/extraction/wikiparser/Namespace.scala

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,9 @@ private class NamespaceBuilder {
7070

7171
val map = Map(
7272
"en"->204,"de"->208,"fr"->210,"it"->212,"es"->214,"nl"->216,"pt"->218,"pl"->220,"ru"->222,
73-
"cs"->224,"ca"->226,"bn"->228,"hi"->230,"ja"->232,"hu"->238,"ko"->242,"tr"->246,"ar"->250,
74-
"id"->254,"bg"->264,"sl"->268,"eu"->272,"et"->282,"hr"->284,"el"->304,"ur"->378,"ga"->396
73+
"cs"->224,"ca"->226,"bn"->228,"hi"->230,"ja"->232,"zh"->236,"hu"->238,"ko"->242,"tr"->246,
74+
"ar"->250,"id"->254,"bg"->264,"sl"->268,"eu"->272,"eo"->274,"et"->282,"hr"->284,"el"->304,
75+
"ur"->378,"ga"->396
7576
)
7677

7778
for ((lang,code) <- map) mappings(Language(lang)) = ns(code, "Mapping "+lang, true)

0 commit comments

Comments
 (0)