nutch-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chrismattmann <...@git.apache.org>
Subject [GitHub] nutch pull request: NUTCH-2038
Date Fri, 19 Jun 2015 21:06:22 GMT
Github user chrismattmann commented on a diff in the pull request:

    https://github.com/apache/nutch/pull/34#discussion_r32869372
  
    --- Diff: conf/nutch-default.xml ---
    @@ -1259,6 +1259,34 @@
     <!-- urlfilter plugin properties -->
     
     <property>
    +  <name>urlfilter.model.trainfile</name>
    +  <value></value>
    +  <description>Set the name of the file to be used for Naive Bayes training. The
format will be: 
    +Each line contains two tab seperted parts
    +There are two columns/parts:
    +1. "1" or "0", "1" for relevent and "0" for irrelevent document.
    +3. Text (text that will be used for training)
    +
    +Each row will be considered a new "document" for the classifier.
    +
    +  </description>
    +</property>
    +
    +<property>
    +  <name>urlfilter.model.wordlist</name>
    +  <value></value>
    +  <description>Put the name of the file you want to be used as a list of "hot words"
to be matched in the url for the model filter. The format should be one word per line.
    +  </description>
    +</property>
    +
    +<property>
    +  <name>urlfilter.model.filter</name>
    +  <value>false</value>
    +  <description>A boolean. Set it to true if using the model filter.
    --- End diff --
    
    What does it mean to use the model filter (or not). What implications are there for (or
for not) using it?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message