Re: [Dbpedia-discussion] Category Node?

2011-08-01 Thread Max Jakob
Hi, On Tue, Jul 19, 2011 at 03:19, Tommy Chheng wrote: > I'm trying to use the WikiParser to determine the category list of a > wikipedia page. You can use org.dbpedia.extraction.mappings.ArticleCategoriesExtractor [1] for this task. It extracts triples with dc:subject as predicate. > The cate

[Dbpedia-discussion] Category Node?

2011-07-18 Thread Tommy Chheng
I'm trying to use the WikiParser to determine the category list of a wikipedia page. The category tags are represented as TextNode objects but when I print out the toWikiText, it get an empty string. Should categories be "TextNodes" and if so, what's the correct extract the category name from the w