Changeset 33983 for other-projects


Ignore:
Timestamp:
2020-02-27T20:26:53+13:00 (4 years ago)
Author:
ak19
Message:

More sensible name for method which had too long kept its old name from when all it did was keep track of site and page level statistics

Location:
other-projects/maori-lang-detection/src/org/greenstone/atea
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • other-projects/maori-lang-detection/src/org/greenstone/atea/CCWETProcessor.java

    r33666 r33983  
    344344            // already wrote out domain to file at some point, write just the URL out to file
    345345            //possibleProductSitesWriter.write("\t" + url + "\n");
    346             //}         
     346            //}
    347347            }
    348348        }
  • other-projects/maori-lang-detection/src/org/greenstone/atea/NutchTextDumpToMongoDB.java

    r33909 r33983  
    216216    }
    217217    */
    218     prepareSiteStats(mongodbAccess);
    219     }
     218    webPageDataToMongoDB(mongodbAccess);
     219    }
     220   
    220221
    221222    /** for every site, we just need to work out if any of its pages contains /mi(/) or http(s)://mi. in its URL.
     
    234235   
    235236   
    236     private void prepareSiteStats(MongoDBAccess mongodbAccess) throws IOException {
     237    private void webPageDataToMongoDB(MongoDBAccess mongodbAccess) throws IOException {
    237238   
    238239    TextDumpPage page = null;
Note: See TracChangeset for help on using the changeset viewer.