<commit_before>var fs = require('fs');
var path = require('path');
var _ = require('lodash');
var potentialFilenames = ['LICENSE', 'LICENSE.md', 'README', 'README.md', 'README.markdown', 'license.txt'];
var wellKnownLincenses = ['MIT','BSD','Apache License','Mozilla','LGPL','Affero','GPL','Eclipse','Artistic','DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE'];

var licenseFromString = function(str){
    for (var license of wellKnownLincenses) {
        if (str.indexOf(license) >= 0) {
            return license;
        }
    }
    return 'Unknown License'
}

module.exports = {
    find: function(packagePath) {
        var lowwercaseNames = potentialFilenames.map(function(pfn) {
            return pfn.toLowerCase();
        });
<commit_msg>minor fix, add missing semicolon<commit_after>var fs = require('fs');
var path = require('path');
var _ = require('lodash');
var potentialFilenames = ['LICENSE', 'LICENSE.md', 'README', 'README.md', 'README.markdown', 'license.txt'];
var wellKnownLincenses = ['MIT','BSD','Apache License','Mozilla','LGPL','Affero','GPL','Eclipse','Artistic','DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE'];

var licenseFromString = function(str){
    for (var license of wellKnownLincenses) {
        if (str.indexOf(license) >= 0) {
            return license;
        }
    }
    return 'Unknown License';
}

module.exports = {
    find: function(packagePath) {
        var lowwercaseNames = potentialFilenames.map(function(pfn) {
            return pfn.toLowerCase();
        });

{'fraction_non_alphanumeric': 0.16005291005291006, 'fraction_numerical': 0.0013227513227513227, 'mean_word_length': 3.864951768488746, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '883536', 'n_tokens_mistral': 475, 'n_tokens_neox': 455, 'n_words': 108}