Ignore:
Timestamp:
2019-12-18T16:51:34+13:00 (4 years ago)
Author:
ak19
Message:

Returning to using a single variable, urlContainsLangCodeInPath, to record both whether any page on a site contains /mi(/) OR http(s):mi.* in its URL path.

File:
1 edited

Legend:

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

    r33808 r33811  
    2121   
    2222    public final String geoLocationCountryCode;
    23     public final boolean urlContainsLangCodeInPathSuffix;
    24     public final boolean urlContainsLangCodeInPathPrefix;
     23    public final boolean urlContainsLangCodeInPath;
    2524   
    2625    public WebsiteInfo(/*int siteCount,*/ String siteFolderName, String domainOfSite,
     
    2827               int numPagesInMRI, int numPagesContainingMRI,
    2928               long siteCrawledTimestamp, boolean siteCrawlUnfinished, boolean redoCrawl,
    30                String geoLocationCountryCode, boolean urlContainsLangCodeInPathSuffix, boolean urlContainsLangCodeInPathPrefix)
     29               String geoLocationCountryCode, boolean urlContainsLangCodeInPath)
    3130    {
    3231    //this.id = siteCount;
     
    4544   
    4645    this.geoLocationCountryCode = geoLocationCountryCode;
    47     this.urlContainsLangCodeInPathSuffix = urlContainsLangCodeInPathSuffix;
    48     this.urlContainsLangCodeInPathPrefix = urlContainsLangCodeInPathPrefix;
     46    this.urlContainsLangCodeInPath = urlContainsLangCodeInPath;
    4947    }
    5048}
Note: See TracChangeset for help on using the changeset viewer.