From 6592da324c0027c8235869b36f9bc40ef82fa4a9 Mon Sep 17 00:00:00 2001 From: Chris Li Date: Mon, 3 Oct 2016 17:06:54 -0400 Subject: [PATCH] commit --- BoostFactorTune.R | 18 ------------------ .../Localizable.stringsdict | 0 Kiwix.xcodeproj/project.pbxproj | 2 ++ 3 files changed, 2 insertions(+), 18 deletions(-) delete mode 100644 BoostFactorTune.R rename Kiwix-iOS/{en.lproj => Supporting}/Localizable.stringsdict (100%) diff --git a/BoostFactorTune.R b/BoostFactorTune.R deleted file mode 100644 index 10953df8..00000000 --- a/BoostFactorTune.R +++ /dev/null @@ -1,18 +0,0 @@ -boost_factor <- function(base,m,n, x) { - return(log(m*(1-x)+n, base=base)) -} - -base=exp(1) - -# y1 is the weight when xapian prob is 100% -y1=0.8 - -# X2 is the xapian prob we want the boost factor to be 1 -x2=0.75 - -n=base^y1 -m=(base^1-n)/(1-x2) -boost_factor(base, m, n, 0) - -sprintf('%.10f',m) -sprintf('%.10f',n) diff --git a/Kiwix-iOS/en.lproj/Localizable.stringsdict b/Kiwix-iOS/Supporting/Localizable.stringsdict similarity index 100% rename from Kiwix-iOS/en.lproj/Localizable.stringsdict rename to Kiwix-iOS/Supporting/Localizable.stringsdict diff --git a/Kiwix.xcodeproj/project.pbxproj b/Kiwix.xcodeproj/project.pbxproj index 4f8a29c5..358e9d01 100644 --- a/Kiwix.xcodeproj/project.pbxproj +++ b/Kiwix.xcodeproj/project.pbxproj @@ -1430,6 +1430,7 @@ isa = XCBuildConfiguration; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; CLANG_CXX_LIBRARY = "libc++"; CLANG_ENABLE_MODULES = YES; @@ -1477,6 +1478,7 @@ isa = XCBuildConfiguration; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; CLANG_CXX_LIBRARY = "libc++"; CLANG_ENABLE_MODULES = YES;