<commit_before>// CommunityAlias service
NGApp.factory( 'CommunityAliasService', function( PositionsService ){

	var service = {};

	service.position = PositionsService;

	service.communityStyle = function( permalink ){
		if( service.style ){
			angular.element( 'body' ).removeClass( service.style );	
		}
		service.style = 'community-' + permalink;
		angular.element( 'body' ).addClass( service.style );
	}

	service.route = function( id, success, error ){
		
		var parts = id.toLowerCase().split( '/' );
		var alias = false;
		var restaurant = false;<commit_msg>partial - custom community color scheme<commit_after>// CommunityAlias service
NGApp.factory( 'CommunityAliasService', function( PositionsService ){

	var service = {};

	service.position = PositionsService;

	service.communityStyle = function( permalink ){
		if( service.style ){
			angular.element( 'html' ).removeClass( service.style );	
		}
		service.style = 'community-' + permalink;
		angular.element( 'html' ).addClass( service.style );
	}

	service.route = function( id, success, error ){
		
		var parts = id.toLowerCase().split( '/' );
		var alias = false;
		var restaurant = false;
{'fraction_non_alphanumeric': 0.13927335640138408, 'fraction_numerical': 0.0, 'mean_word_length': 4.188340807174888, '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': '5268800', 'n_tokens_mistral': 368, 'n_tokens_neox': 332, 'n_words': 85}