diff --git a/FlashlightApp/EasySIMBL/Flashlight-Info.plist b/FlashlightApp/EasySIMBL/Flashlight-Info.plist index 82115f5a..d424a399 100755 --- a/FlashlightApp/EasySIMBL/Flashlight-Info.plist +++ b/FlashlightApp/EasySIMBL/Flashlight-Info.plist @@ -32,7 +32,7 @@ CFBundlePackageType APPL CFBundleShortVersionString - 0.96.4 + 0.96.4.1 CFBundleSignature ???? CFBundleURLTypes @@ -59,7 +59,7 @@ CFBundleVersion - 34 + 35 LSApplicationCategoryType public.app-category.utilities LSMinimumSystemVersion diff --git a/FlashlightApp/FlashlightKit/FlashlightKit/Parser/Parsnip.m b/FlashlightApp/FlashlightKit/FlashlightKit/Parser/Parsnip.m index 7e144f4a..6376fd6f 100644 --- a/FlashlightApp/FlashlightKit/FlashlightKit/Parser/Parsnip.m +++ b/FlashlightApp/FlashlightKit/FlashlightKit/Parser/Parsnip.m @@ -160,7 +160,7 @@ - (void)addNewCandidatesToDictionary:(NSMutableDictionary *)dict withCandidate:( - (double)logProbOfEmissionOfToken:(PSToken *)token fromTerminalNodeNamed:(NSString *)tagName { if ([PSTerminalNode isNameOfFreeTextNode:tagName]) { - return PSSmoothLogProb(PSLogProb(PSFreeTextProbability)); + return PSSmoothLogProb(PSLogProb(PSFreeTextProbability)) * token.features.count; } else { PSProbabilityCounter *counter = self.emissionProbs[tagName]; double logProb = 0;