<commit_before>var booktagServices = angular.module('booktagServices', ['ngResource', "nourConfig"]);

// Booktag object(s)
booktagServices.factory('Booktag',['$resource', 'config',
	function($resource, config){
		return $resource(config.HOST + "booktags",
            {}, {}
        );
	}]); <commit_msg>booktag Service<commit_after>var booktagServices = angular.module('booktagServices', ['ngResource', "nourConfig"]);

// Booktag object(s)
booktagServices.factory('Booktag',['$resource', 'config',
	function($resource, config){
		return $resource(config.HOST + "booktags",
            {}, {}
        );
	}]);

//Get book By tag
booktagServices.factory('GetBooksByTag',['$resource', 'config',
	function($resource, config){
		return $resource(config.HOST + "books/tags?page=:page&size=:size&sortBy=:sortBy&
													lesson=:lesson&grade=:grade&subject=:subject&chapter=:chapter&theme=:theme",
            {page:'@_page', size:'@_size',sortBy:'@_sortBy',lesson:'@_lesson',grade:'@_grade'
						,subject:'@_subject',chapter:'@_chapter',theme:'@_theme'}, {}
        );
	}]);)
{'fraction_non_alphanumeric': 0.20334261838440112, 'fraction_numerical': 0.0, 'mean_word_length': 5.304093567251462, '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': '2563502', 'n_tokens_mistral': 370, 'n_tokens_neox': 345, 'n_words': 44}