cristinae / WikiTailor

Your à-la-carte in-domain corpora extraction tool from Wikipedia
1 stars 0 forks source link

Article extraction #1

Closed cristinae closed 8 years ago

cristinae commented 8 years ago

Arantxa can extract articles using the specific class cat.lump.aq.textextraction.wikipedia.categories.ArticleTextExtractor but not through the main.

I can do both ways in my laptop.

cristinae commented 8 years ago

Solució de l'Aranxa:

"You cannot remove an element from a map which you are currently iterating over. You could define an iterator" (http://stackoverflow.com/questions/12177889/java-util-concurrentmodificationexception-while-accessing-hashmap).

Así que cambié el "for" de la función extractSpecificArticles(), por un "while" con un Iterator, y la compilé.