<commit_before>//
//  TKTripClassifier.h
//  TripKit
//
//  Created by <NAME> on 11/06/2015.
//  Copyright (c) 2015 SkedGo Pty Ltd. All rights reserved.
//

#import <Foundation/Foundation.h>

@class TripGroup;

/**
 A trip classifier is used to classify TripGroup instances within the same TripRequest.
 */
@protocol TKTripClassifier <NSObject>

/**
 Called before starting a classifiction of multiple trip groups.
 @param tripGroups The set of trip groups that will be classified.
 */
- (void)prepareForClassifictionOfTripGroups:(nonnull NSSet *)tripGroups;

/**
 @return The classifiction of that particular trip group.
 */
- (nullable id<NSCoding, NSObject>)classificationOfTripGroup:(nonnull TripGroup *)tripGroup;

@end
<commit_msg>Annotations<commit_after>//
//  TKTripClassifier.h
//  TripKit
//
//  Created by <NAME> on 11/06/2015.
//  Copyright (c) 2015 SkedGo Pty Ltd. All rights reserved.
//

#import <Foundation/Foundation.h>

@class TripGroup;

/**
 A trip classifier is used to classify TripGroup instances within the same TripRequest.
 */
@protocol TKTripClassifier <NSObject>

/**
 Called before starting a classifiction of multiple trip groups.
 @param tripGroups The set of trip groups that will be classified.
 */
- (void)prepareForClassifictionOfTripGroups:(nonnull NSSet<TripGroup *> *)tripGroups;

/**
 @return The classifiction of that particular trip group.
 */
- (nullable id<NSCoding, NSObject>)classificationOfTripGroup:(nonnull TripGroup *)tripGroup;

@end

{'fraction_non_alphanumeric': 0.10707070707070707, 'fraction_numerical': 0.01616161616161616, 'mean_word_length': 4.307142857142857, 'pattern_counts': {'":': 0, '<': 12, '<?xml version=': 0, '>': 12, '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': '2366124', 'n_tokens_mistral': 500, 'n_tokens_neox': 453, 'n_words': 148}