<commit_before>import {Pipe, PipeTransform} from 'angular2/core';
/*
 * Raise the value exponentially
 * Takes an exponent argument that defaults to 1.
 * Usage:
 *   value | exponentialStrength:exponent
 * Example:
 *   {{ 2 |  exponentialStrength:10}}
 *   formats to: 1024
*/
@Pipe({name: 'beautifyTweet'})
export class TweetBeautifier implements PipeTransform {
  transform(value:string) : any {
    return value.replace(/(^|\s)([#|@][a-z\d-]+)/ig, '$1<span class="sp-tweet-hash-tag">$2</span>');
  }
}<commit_msg>Removes comment<commit_after>import {Pipe, PipeTransform} from 'angular2/core';

@Pipe({name: 'beautifyTweet'})
export class TweetBeautifier implements PipeTransform {
  transform(value:string) : any {
    return value.replace(/(^|\s)([#|@][a-z\d-]+)/ig, '$1<span class="sp-tweet-hash-tag">$2</span>');
  }
}
{'fraction_non_alphanumeric': 0.18765133171912832, 'fraction_numerical': 0.01694915254237288, 'mean_word_length': 5.036496350364963, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '5093203', 'n_tokens_mistral': 311, 'n_tokens_neox': 298, 'n_words': 58}