[
https://issues.apache.org/jira/browse/MAHOUT-895?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13158454#comment-13158454
]
Hudson commented on MAHOUT-895:
-------------------------------
Integrated in Mahout-Quality #1206 (See
[https://builds.apache.org/job/Mahout-Quality/1206/])
MAHOUT-895 Match Wikipedia start/close tags as-is without preprocessing
srowen : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1207060
Files :
*
/mahout/trunk/examples/src/main/java/org/apache/mahout/classifier/bayes/WikipediaDatasetCreatorDriver.java
*
/mahout/trunk/examples/src/main/java/org/apache/mahout/classifier/bayes/WikipediaDatasetCreatorMapper.java
> Make Wikipedia example set maker easier to mod
> ----------------------------------------------
>
> Key: MAHOUT-895
> URL: https://issues.apache.org/jira/browse/MAHOUT-895
> Project: Mahout
> Issue Type: Bug
> Components: Classification, Examples
> Affects Versions: 0.6
> Reporter: tom pierce
> Assignee: Sean Owen
> Priority: Minor
> Fix For: 0.6
>
> Attachments: MAHOUT-895.patch
>
>
> The WikipediaDatasetCreator uses 2 mechanisms to scrape out the text of
> articles; first an XmlInputFormat is used with the "text" tags as start/end
> markers (which demarcate the article content), then the content inside the
> text tags is pattern matched out in the Mapper.
> This means a newcomer must discover both pruning steps before modifying this
> program to create a dataset including other fields from the article.
> I am attaching a patch which mods the Driver to split on entire articles and
> changes the mapper to accommodate the extra input without allowing spurious
> new category matches outside the text element.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira