// // MPT_EmotionController.m // // Created by Andrew Salamon on 9/25/06. // Copyright 2006 __MyCompanyName__. All rights reserved. // #import "MPT_EmotionController.h" @implementation MPT_EmotionController - (NSString *)pluginID { NSString *ident = [super pluginID]; if( [ident length] > 0 ) return ident; return @"edu.ucsd.mplab.plugins.EmotionDetector"; } - (NSString *)localizedName { return NSLocalizedStringFromTableInBundle(@"Emotion Detector", nil, [NSBundle bundleForClass:[self class]], @""); } - (NSString *)internalName { return @"EmotionWeights"; } - (NSString *)step { return MPT_PluginStep_SVM; } - (NSString *)weightsDirectory { return [[[NSBundle bundleForClass:[self class]] resourcePath] stringByAppendingPathComponent:@"Weights"]; } @end