<commit_before>
settings.primaryColor = "#E0F4F4";
settings.primaryLight = "#F2FFFF";
//settings.autocomplete = false;
settings.lemgramSelect = false;
settings.wordpicture = false;


$("#lemgram_list_item").remove();
$("#results-lemgram").remove();
$("#showLineDiagram").remove();

settings.corpora = {};
settings.corporafolders = {};
settings.corpora["digidaily"] = {
    morf : 'saldom|dalinm|swedbergm',
	id : "digidaily",
	title : "Digidaily",
	description : "",
	within : settings.defaultWithin,
	context : settings.spContext,
	attributes : {
		lemma : attrs.baseform,
		pos : attrs.pos,
		lex : attrs.lemgram,
		dephead : attrs.dephead,
		deprel : attrs.deprel,
		ref : attrs.ref,
		saldo : attrs.saldo,
		prefix : attrs.prefix,
		suffix : attrs.suffix
	},
	struct_attributes : {
		text_title : {
			label : "title",
			displayType : "select",
			localize : false,
			dataset : [
				"Dalpilen",
				"Gotlands tidning",
 				"Faluposten",
 				"Fahlu weckoblad",
 				"Folkets röst",
 				"Bollnäs tidning",
			        ],
            opts : settings.liteOptions

		},
	
		text_date : {label : "date"}
	//	text_edition : {label : "edition"}
	}
};



settings.corpusListing = new CorpusListing(settings.corpora);

function getAnnotationRank(anno) {
	return {
		"word" : 1,
		"gf" : 2,
		"lemgram" : 3,
		"sense" : 4
	}[anno] || 5;
}
<commit_msg>digidaily med nya delkorpusar<commit_after>
settings.primaryColor = "#E0F4F4";
settings.primaryLight = "#F2FFFF";
//settings.autocomplete = false;
settings.lemgramSelect = false;
settings.wordpicture = false;
settings.digidailyattributes = {
	lemma : attrs.baseform,
	pos : attrs.pos,
	lex : attrs.lemgram,
	dephead : attrs.dephead,
	deprel : attrs.deprel,
	ref : attrs.ref,
	saldo : attrs.saldo,
	prefix : attrs.prefix,
	suffix : attrs.suffix
};
settings.digidailystruct_attributes = {
	text_title : {
		label : "title",
		displayType : "select",
		localize : false,
 		opts : settings.liteOptions
	},
	text_date : {label : "date"}
};

digidailydescription = '<a href="http://digidaily.kb.se/">Digidaily</a> är ett utvecklingsprojekt där Riksarkivet, Kungliga biblioteket och Mittuniversitetet tillsammans ska utveckla rationella metoder och processer för digitalisering av dagstidningar.'
	
$("#lemgram_list_item").remove();
$("#results-lemgram").remove();
$("#showLineDiagram").remove();


settings.corpora = {};
settings.corporafolders = {};

settings.corpora["digidaily-dalpilen"] = {
    morf : 'saldom|dalinm|swedbergm',
	id : "digidaily-dalpilen",
	title : "Dalpilen",
	description : digidailydescription,
	within : settings.defaultWithin,
	context : settings.defaultContext,
	attributes : settings.digidailyattributes,
       
	struct_attributes : settings.digidailystruct_attributes,
};

settings.corpora["digidaily-goteborgsweckoblad"] = {
    morf : 'saldom|dalinm|swedbergm',
	id : "digidaily-goteborgsweckoblad",
	title : "Göteborgs weckoblad",
	description : digidailydescription,
	within : settings.defaultWithin,
	context : settings.defaultContext,
	attributes : settings.digidailyattributes,
       
	struct_attributes : settings.digidailystruct_attributes,
};
	
settings.corpora["digidaily-gotlandstidning"] = {
    morf : 'saldom|dalinm|swedbergm',
	id : "digidaily-gotlandstidning",
	title : "Gotlands tidning",
	description : digidailydescription,
	within : settings.defaultWithin,
	context : settings.defaultContext,
	attributes : settings.digidailyattributes,
       
	struct_attributes : settings.digidailystruct_attributes,
};


settings.corpora["digidaily-faluposten"] = {
    morf : 'saldom|dalinm|swedbergm',
	id : "digidaily-faluposten",
	title : "Faluposten",
	description : digidailydescription,
	within : settings.defaultWithin,
	context : settings.defaultContext,
	attributes : settings.digidailyattributes,
       
	struct_attributes : settings.digidailystruct_attributes,
};

settings.corpora["digidaily-fahluweckoblad"] = {
    morf : 'saldom|dalinm|swedbergm',
	id : "digidaily-fahluweckoblad",
	title : "Fahlu weckoblad",
	description : digidailydescription,
	within : settings.defaultWithin,
	context : settings.defaultContext,
	attributes : settings.digidailyattributes,
       
	struct_attributes : settings.digidailystruct_attributes,
};

settings.corpora["digidaily-jonkopingsbladet"] = {
    morf : 'saldom|dalinm|swedbergm',
	id : "digidaily-jonkopingsbladet",
	title : "Jönköpingsbladet",
	description : digidailydescription,
	within : settings.defaultWithin,
	context : settings.defaultContext,
	attributes : settings.digidailyattributes,
       
	struct_attributes : settings.digidailystruct_attributes,
};


/*
settings.corpora["digidaily-folketsrost"] = {
    morf : 'saldom|dalinm|swedbergm',
	id : "digidaily-folketsrost",
	title : "Folkets röst",
	description : digidailydescription,
	within : settings.defaultWithin,
	context : settings.defaultContext,
	attributes : settings.digidailyattributes,
       
	struct_attributes : settings.digidailystruct_attributes,
};

settings.corpora["digidaily-bollnastidning"] = {
    morf : 'saldom|dalinm|swedbergm',
	id : "digidaily-bollnastidning",
	title : "Bollnäs tidning",
	description : digidailydescription,
	within : settings.defaultWithin,
	context : settings.defaultContext,
	attributes : settings.digidailyattributes,
       
	struct_attributes : settings.digidailystruct_attributes,
};
		

settings.corpora["digidaily-norraskane"] = {
    morf : 'saldom|dalinm|swedbergm',
	id : "digidaily-norraskane",
	title : "<NAME>",
	description : digidailydescription,
	within : settings.defaultWithin,
	context : settings.defaultContext,
	attributes : settings.digidailyattributes,
       
	struct_attributes : settings.digidailystruct_attributes,
};

settings.corpora["digidaily-lindesbergsallehanda"] = {
    morf : 'saldom|dalinm|swedbergm',
	id : "digidaily-lindesbergsallehanda",
	title : "Lindesbergs allehanda",
	description : digidailydescription,
	within : settings.defaultWithin,
	context : settings.defaultContext,
	attributes : settings.digidailyattributes,
       
	struct_attributes : settings.digidailystruct_attributes,
};

settings.corpora["digidaily-blekingsposten"] = {
    morf : 'saldom|dalinm|swedbergm',
	id : "digidaily-blekingsposten",
	title : "Blekingsposten",
	description : digidailydescription,
	within : settings.defaultWithin,
	context : settings.defaultContext,
	attributes : settings.digidailyattributes,
       
	struct_attributes : settings.digidailystruct_attributes,
};
*/

settings.corpusListing = new CorpusListing(settings.corpora);

function getAnnotationRank(anno) {
	return {
		"word" : 1,
		"gf" : 2,
		"lemgram" : 3,
		"sense" : 4
	}[anno] || 5;
}

{'fraction_non_alphanumeric': 0.12511291779584463, 'fraction_numerical': 0.0027100271002710027, 'mean_word_length': 4.899644760213143, 'pattern_counts': {'":': 0, '<': 6, '<?xml version=': 0, '>': 6, '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': '2982868', 'n_tokens_mistral': 2419, 'n_tokens_neox': 2284, 'n_words': 373}