mahout-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sean Owen (JIRA)" <j...@apache.org>
Subject [jira] Commented: (MAHOUT-271) Make WikipediaDatasetCreatorMapper fuzzy category match respect word boundaries
Date Thu, 30 Sep 2010 14:31:34 GMT

    [ https://issues.apache.org/jira/browse/MAHOUT-271?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12916489#action_12916489
] 

Sean Owen commented on MAHOUT-271:
----------------------------------

Joe do you think this is ready to go or want to test some more (and bump this to 0.5)?

> Make WikipediaDatasetCreatorMapper fuzzy category match respect word boundaries
> -------------------------------------------------------------------------------
>
>                 Key: MAHOUT-271
>                 URL: https://issues.apache.org/jira/browse/MAHOUT-271
>             Project: Mahout
>          Issue Type: Improvement
>          Components: Classification
>    Affects Versions: 0.2
>            Reporter: Olivier Grisel
>            Assignee: Olivier Grisel
>            Priority: Trivial
>             Fix For: 0.4
>
>         Attachments: MAHOUT-271.patch
>
>
> WikipediaDatasetCreatorDriver is useful to create categorisation corpora out of wikipedia,
however the category match just do a String#contains check which can catch a lot of unrelated
categories.
> Checking the word boundaries with a regexp such as String.format("\\b%s\\b", theCategoryNameIAmLookingFor);
should fix the  issue.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message