Commit f06fdac6 authored by Yuanle Song's avatar Yuanle Song
Browse files

v0.101.1 use freq scale of [0, 65535]

pinyin_parser: updated so file install dir.
parent ea9665e2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -745,7 +745,7 @@ Database::phraseSql (const Phrase &p, String &sql)
	sql << ");\n";

	sql << "UPDATE userdb.py_phrase_" << p.len - 1
	    << " SET user_freq=user_freq+1";
	    << " SET user_freq=MIN(user_freq+1, 65535)";

	phraseWhereSql (p, sql);
	sql << ";\n";
+1 −1
Original line number Diff line number Diff line
@@ -52,7 +52,7 @@ lib_src = [
shared_library('pyzy-1.0',
  lib_src,
  soversion: '0',
  version: '0.101.0',
  version: '0.101.1',
  dependencies: shared_dep,
  install: true)

+1 −1
Original line number Diff line number Diff line
@@ -43,7 +43,7 @@ lib_src = [
shared_library('pinyin_parser',
  lib_src,
  dependencies: [shared_dep, dependency('python3')],
  install: true, install_dir: '/home/sylecn/c/gtk-im-module/sogou/')
  install: true, install_dir: '/home/sylecn/c/gtk-im-module/sogou/scelexport/')

main_src = [
  '../PinyinParser.cc',