<commit_before>export default {
	scripture: {
		regex: /\/scriptures\/(.+)\/(.+)\/(.*)/,
		getResource: function(match) {
			return {
				type: "SCRIPTURE",
				l1: match[1],
				l2: match[2],
				l3: match[3]
			}
		}
	},

	manual: {
		regex: /\/manual\/(.+)\/(.+)/,
		getResource: function(match) {
			return {
				type: "MANUAL",
				l1: match[1],
				l2: match[2]
			}
		}
	},

	conference: {
		regex: /\/general-conference\/(\d+)\/(\d+)\/(.+)/,
		getResource: function(match) {
			var title = document.querySelector('h1');
			var author = document.querySelector('[name=author]');

			if (title && author) {
				return {
					type: "GC",
					l1: match[1],
					l2: match[2],
					l3: title.innerText,
					l4: author.innerText
				}
			}

			return null;
		}
	},

	ensign: {
		regex: /\/ensign\/(\d+)\/(\d+)\/(.*)/,
		getResource: function(match) {
			var title = document.querySelector('h1');
			var author = document.querySelector('[name=author]');

			if (title && author) {
				return {
					type: "ENSIGN",
					l1: match[1],
					l2: match[2],
					l3: title.innerText,
					l4: author.content
				}
			}

			return null;
		}
	}
};<commit_msg>Fix author parsing of general conference<commit_after>export default {
	scripture: {
		regex: /\/scriptures\/(.+)\/(.+)\/(.*)/,
		getResource: function(match) {
			return {
				type: "SCRIPTURE",
				l1: match[1],
				l2: match[2],
				l3: match[3]
			}
		}
	},

	manual: {
		regex: /\/manual\/(.+)\/(.+)/,
		getResource: function(match) {
			return {
				type: "MANUAL",
				l1: match[1],
				l2: match[2]
			}
		}
	},

	conference: {
		regex: /\/general-conference\/(\d+)\/(\d+)\/(.+)/,
		getResource: function(match) {
			var title = document.querySelector('h1');
			var author = document.querySelector('[name=author]');

			if (title && author) {
				return {
					type: "GC",
					l1: match[1].trim(),
					l2: match[2],
					l3: title.innerText,
					l4: author.content
				}
			}

			return null;
		}
	},

	ensign: {
		regex: /\/ensign\/(\d+)\/(\d+)\/(.*)/,
		getResource: function(match) {
			var title = document.querySelector('h1');
			var author = document.querySelector('[name=author]');

			if (title && author) {
				return {
					type: "ENSIGN",
					l1: match[1],
					l2: match[2],
					l3: title.innerText,
					l4: author.content
				}
			}

			return null;
		}
	}
};
{'fraction_non_alphanumeric': 0.21324786324786324, 'fraction_numerical': 0.020512820512820513, 'mean_word_length': 2.3111739745403113, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '962690', 'n_tokens_mistral': 1156, 'n_tokens_neox': 906, 'n_words': 169}