<commit_before>//
//  AshtonObjcMixedContentPreprocessor.h
//  Ashton
//
//  Created by <NAME> on 15.01.18.
//  Copyright © 2018 <NAME>. All rights reserved.
//

#import <Foundation/Foundation.h>


NS_ASSUME_NONNULL_BEGIN

@interface AshtonObjcMixedContentPreprocessor: NSObject

- (NSString *)preprocessHTMLString:(NSString *)htmlString;

@end

NS_ASSUME_NONNULL_END<commit_msg>Add comment regarding mixed content preprocessor<commit_after>//
//  AshtonObjcMixedContentPreprocessor.h
//  Ashton
//
//  Created by <NAME> on 15.01.18.
//  Copyright © 2018 <NAME>. All rights reserved.
//

#import <Foundation/Foundation.h>


NS_ASSUME_NONNULL_BEGIN

/// TBXML parser cannot handle html mixed content, therefore we have to preprocess it
/// mixedContent = "<html>test <strong>sample</strong></html>", will be processed to
/// "<html><wrapped>test </wrapped><strong><wrapped>sample</wrapped></strong></html>
@interface AshtonObjcMixedContentPreprocessor: NSObject

- (NSString *)preprocessHTMLString:(NSString *)htmlString;

@end

NS_ASSUME_NONNULL_END
{'fraction_non_alphanumeric': 0.12869399428026693, 'fraction_numerical': 0.019065776930409915, 'mean_word_length': 4.865921787709497, 'pattern_counts': {'":': 0, '<': 21, '<?xml version=': 0, '>': 21, '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': '1366899', 'n_tokens_mistral': 369, 'n_tokens_neox': 335, 'n_words': 79}