This is a library to support generic input method implementation.
libime's Introduction
libime's People
Forkers
liuzhiping kleopatra999 0x1un szclsya karuboniru lilydjwg felixonmars chenshijie-uos rocka san-hei hougelangley easyteacher kingysu sleepboy eagleoflqj xingwozhonghua126 nextalone hankdeveloplibime's Issues
小鹤双拼下无法输入“昂”(ah)
NaN differs on different arch
According to https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1018010
NaN on hppa/mips uses different encoding.
Instead of using macro to define different consts, can we just use std::nanf
, just like the tests?
自然码双拼 模糊音问题
确定没有开启任何模糊音设置。
输入:zz
输出:贼。。。都是单字
输入:z'z
输出:种子,。。组织,制作
其中明显有 zh的词语
目前的截图方式无法截到输入框
clang+musl: joint_sort.hh:104:68: error: no template named 'binary_funct ion' in namespace 'std'
编译环境是 Gentoo clang + musl
完整日志: https://bpa.st/DTIA 或 https://gist.github.com/liangyongxiang/dbd008b3b7210d340b5d7f81b59069f8
现在使用的 workaround 是 :microcai/gentoo-zh#3051 (comment)
想请问一下,是否有更好的处理方式 ?
https://github.com/microcai/gentoo-zh/blob/master/app-i18n/libime/libime-1.1.3.ebuild#L41
《通用规范汉字表》中部分非 BMP 的汉字无法打出
《通用规范汉字表》包含 196 个非 BMP 的汉字,在确定启用拓展B区及以后的情况下,已确认无法打出𪟝(jì)和𬴂(fēi)。其他汉字尚未测试。
fcitx的词库是否可以迁移到fcitx5
~/.config/fcitx/pinyin/下的pyindex.dat
和pyphrase.mb
是否可以在fcitx5中使用。另外词的默认出现顺序是在哪里定义的?是pyindex.data
吗?哪里可以看它的格式?
「单」字作为姓氏时的读音shan不存在
如题,该字作为姓氏时读shan。
https://www.zdic.net/hans/%E5%8D%95
仓颉码表繁简体问题
现在的仓颉码表似乎使用了繁简转换,将繁体字的码套用到简体字上面。
查看文件 https://download.fcitx-im.org/data/table-20240108.tar.gz -> cj.txt
...
agdi 时 # 正确编码: agdi=時, adi=时
aggu 晓 # 正确编码: aggu=曉, ajpu=晓
ahbr 晌
...
yxln 剂 # 正确编码: yxln=劑, ylln=剂
yy 卞
yymr 这 # 正确编码: yymr=這, yyk=这
...
仓颉输入法中,繁体字和简体字的编码大部分是不相同的。
现在这份码表繁体字没有收录,简体字的编码是错的,几乎就是不能用了。
希望换上正确的码表,谢谢。
Duplicate of prediction
error: void value not ignored as it ought to be bool type(std::string_view s) { return type(s.data(), s.length()); }
On Ubuntu 20.04, I try to compile the git master version of libime but failed. See following for more detailed info:
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04 LTS
Release: 20.04
Codename: focal
$ git clone https://github.com/fcitx/libime.git libime.git
$ cd libime.git
$ mkdir build && cd $_
$ cmake ..
$ env all_proxy=http://127.0.0.1:8080 make -j 44
[ 28%] Built target kenlm
[ 28%] Building CXX object src/libime/core/CMakeFiles/IMECore.dir/inputbuffer.cpp.o
In file included from /home/werner/Public/repo/github.com/fcitx/libime.git/src/libime/core/inputbuffer.cpp:6:
/home/werner/Public/repo/github.com/fcitx/libime.git/src/libime/core/inputbuffer.h: In member function ‘bool libime::InputBuffer::type(std::string_view)’:
/home/werner/Public/repo/github.com/fcitx/libime.git/src/libime/core/inputbuffer.h:49:48: error: void value not ignored as it ought to be
49 | bool type(std::string_view s) { return type(s.data(), s.length()); }
| ~~~~^~~~~~~~~~~~~~~~~~~~~~
make[2]: *** [src/libime/core/CMakeFiles/IMECore.dir/build.make:102: src/libime/core/CMakeFiles/IMECore.dir/inputbuffer.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:816: src/libime/core/CMakeFiles/IMECore.dir/all] Error 2
make: *** [Makefile:141: all] Error 2
Any hints for solving this problem?
Regards,
HY
investigate remove boost regex from deps
actually c++ has regex support and fcitx5 is already using it. I probably forgot c++11 has regex support when write this code..
多音字的问题,以参宿四为例
猎户座alpha,中文名参宿四,这里的正确读音是 shen1 xiu4 si4
但是在fcitx5上必须用 can1 su4 si4 才能直接找到这个词
有趣的是,“星宿”用 xing1 xiu4 和 xing1 su4 都能打出来,且前者排序更高
自定义双拼的格式?
创建文件 ~/.local/share/fcitx5/pinyin/sp.dat
,文件内容如下(从测试里直接复制过来的),但是自定义的双拼无法使用。
[方案]
方案名称=自定义
[零声母标识]
=O*
[声母]
# 双拼编码就是它本身的声母不必列出
ch=I
sh=U
zh=V
[韵母]
# 双拼编码就是它本身的韵母不必列出
ai=L
an=J
ang=H
ao=K
ei=Z
en=F
eng=G
er=R
ia=W
ian=M
iang=D
iao=C
ie=X
in=N
ing=Y
iong=S
iu=Q
ng=G
ong=S
ou=B
ua=W
uai=Y
uan=R
uang=D
ue=T
ui=V
un=P
ve=T
uo=O
Hyprland 下使用fcitx5 拼音,选择任何候选项立即崩溃 | fcitx5 crashes immediately after selecting any candidate under fcitx5-pinyin
Describe the bug
如题,使用fcitx5-pinyin (即自带拼音方案)时,任意输入并选择任意候选项(使用空格键,鼠标或数字选择均会导致该问题)即可导致fcitx5直接segfault崩溃。除此以外使用rime方案时没有这个问题。(GTK和QT均出现该bug)
As stated in the title, fcitx5 will crash with a segfault whenever a candidate is selected (either using the spacebar, clicking on the candidate or selecting the corresponding number) when using the fcitx5-pinyin addon. The same bug is not observed when I was using rime instead. (Same bug observed under both GTK and QT apps)
=========================
Fcitx 5.1.0 -- Get Signal No.: 11
Date: try "date -d @1694366079" if you are using GNU date ***
ProcessID: 39302
fcitx5(+0x10b9c)[0x5571f89b9b9c]
/usr/lib/libc.so.6(+0x3e710)[0x7f1bb6e3e710]
/usr/lib/libIMECore.so.0(+0x36015)[0x7f1baff3d015]
/usr/lib/libIMECore.so.0(+0x3897d)[0x7f1baff3f97d]
/usr/lib/libIMECore.so.0(+0x31f6a)[0x7f1baff38f6a]
/usr/lib/libIMECore.so.0(_ZN6libime13HistoryBigram3addERKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS7_EE+0x41)[0x7f1baff40131]
/usr/lib/libIMEPinyin.so.0(_ZN6libime13PinyinContext5learnEv+0x16c)[0x7f1b6703e2cc]
/usr/lib/fcitx5/libpinyin.so(+0x1ffc9)[0x7f1b670a2fc9]
/usr/lib/fcitx5/libpinyin.so(+0x2382b)[0x7f1b670a682b]
/usr/lib/fcitx5/libpinyin.so(+0x2ab78)[0x7f1b670adb78]
/usr/lib/libFcitx5Core.so.7(_ZNK5fcitx8Instance9postEventERNS_5EventE+0x20e)[0x7f1bb76970ce]
/usr/lib/libFcitx5Core.so.7(_ZN5fcitx12InputContext8keyEventERNS_8KeyEventE+0xa6)[0x7f1bb76b6256]
/usr/lib/fcitx5/libdbusfrontend.so(+0x12494)[0x7f1bb5983494]
/usr/lib/fcitx5/libdbusfrontend.so(+0x18c58)[0x7f1bb5989c58]
/usr/lib/libFcitx5Utils.so.2(+0x3d939)[0x7f1bb75bf939]
/usr/lib/libFcitx5Utils.so.2(+0x4322a)[0x7f1bb75c522a]
/usr/lib/libsystemd.so.0(+0x3642d)[0x7f1bb714342d]
/usr/lib/libsystemd.so.0(+0x4fdec)[0x7f1bb715cdec]
/usr/lib/libsystemd.so.0(+0x50bf8)[0x7f1bb715dbf8]
/usr/lib/libsystemd.so.0(+0x83fba)[0x7f1bb7190fba]
/usr/lib/libsystemd.so.0(sd_event_dispatch+0x11e)[0x7f1bb71912de]
/usr/lib/libsystemd.so.0(sd_event_run+0x119)[0x7f1bb7192fe9]
/usr/lib/libsystemd.so.0(sd_event_loop+0x60)[0x7f1bb71931c0]
/usr/lib/libFcitx5Utils.so.2(_ZN5fcitx9EventLoop4execEv+0x16)[0x7f1bb75c1326]
/usr/lib/libFcitx5Core.so.7(_ZN5fcitx8Instance4execEv+0x57)[0x7f1bb76992f7]
fcitx5(+0xf03f)[0x5571f89b803f]
/usr/lib/libc.so.6(+0x27cd0)[0x7f1bb6e27cd0]
/usr/lib/libc.so.6(__libc_start_main+0x8a)[0x7f1bb6e27d8a]
fcitx5(+0x10425)[0x5571f89b9425]
To Reproduce
Steps to reproduce the behavior:
- Switch Input Method to default pinyin in fcitx5 | 将fcitx5输入法设置为默认拼音
- Try to type anything | 随便输入任何字符
- BOOM! | 直接爆炸
Expected behavior
可以正常使用
Desktop (please complete the following information):
- Arch Linux
- Kernel: 6.1.52-1-lts
- Display Manager: Hyprland
- Display server type: Wayland
- The output of fcitx5-diagnose if possible.
生僻字检索不到
"鋆"(音同均)可以在fcitx4中使用搜狗输入法检索到,但在fcitx5中无法通过Shuangpin或Pinyin方式检索到。
请问生僻字应该如何添加进检索库?
版本:
fcitx5-chinese-addons 5.0.3
fcitx5 5.0.4
include of endian.h does not work on FreeBSD
On linux, endian.h lives at /usr/include/endian.h. On FreeBSD, it lives at /usr/include/sys/endian.h.
BSD currently needs a patch like this to compile:
diff --git a/src/libime/core/utils_p.h b/src/libime/core/utils_p.h
index 4e46c32..d3cddb3 100644
--- a/src/libime/core/utils_p.h
+++ b/src/libime/core/utils_p.h
@@ -8,7 +8,7 @@
#define _LIBIME_LIBIME_CORE_UTILS_P_H_
#include <cstdint>
-#include <endian.h>
+#include <sys/endian.h>
#include <iostream>
#include <utility>
#include <vector>
diff --git a/tools/libime_migrate_fcitx4_table.cpp b/tools/libime_migrate_fcitx4_table.cpp
index fdd3371..fbb00d2 100644
--- a/tools/libime_migrate_fcitx4_table.cpp
+++ b/tools/libime_migrate_fcitx4_table.cpp
@@ -12,7 +12,7 @@
#include "libime/table/tablebaseddictionary.h"
#include <boost/iostreams/device/file_descriptor.hpp>
#include <boost/iostreams/stream.hpp>
-#include <endian.h>
+#include <sys/endian.h>
#include <fcitx-utils/charutils.h>
#include <fcitx-utils/standardpath.h>
#include <fcntl.h>
Needs a conditional statement, like these, to make it work universally.
macOS下编译提示:fatal error: 'sys/endian.h' file not found
在macOS下没有sys/endian.h,应该将:
#else
#include <sys/endian.h>
改为:
#elif defined(APPLE)
#include <libkern/OSByteOrder.h>
#define htobe16(x) OSSwapHostToBigInt16(x)
#define htole16(x) OSSwapHostToLittleInt16(x)
#define be16toh(x) OSSwapBigToHostInt16(x)
#define le16toh(x) OSSwapLittleToHostInt16(x)
#define htobe32(x) OSSwapHostToBigInt32(x)
#define htole32(x) OSSwapHostToLittleInt32(x)
#define be32toh(x) OSSwapBigToHostInt32(x)
#define le32toh(x) OSSwapLittleToHostInt32(x)
#define htobe64(x) OSSwapHostToBigInt64(x)
#define htole64(x) OSSwapHostToLittleInt64(x)
#define be64toh(x) OSSwapBigToHostInt64(x)
#define le64toh(x) OSSwapLittleToHostInt64(x)
#else
#include <sys/endian.h>
即可编译通过
Add option to disable fcitx5_download
To be able to build without Internet
kpu/kenlm need to update and add loongarch
老K,晚上好,目前 fcitx/libime 引用的 kpu/kenlm 的 util/double-conversion/utils.h 没有定义龙芯架构,刚刚我发了 issue 给 kpu/kenlm 提示他需要更新,因为目前 google 的 double-conversion 已经定义了。咱去催促下,这样上游更新了,Arch 后续 fcitx5 也能用上。
kpu/kenlm#386
https://github.com/google/double-conversion/blob/master/double-conversion/utils.h#L135
microcai/gentoo-zh#2143
make test failure on s390x (may related to libime or KenLM)
fcitx5-chinese-addons build fails on fedora koji due to a test error, the build log can be found here.
This seems to be happening also on Debian build.
+ /usr/bin/ctest --output-on-failure --force-new-ctest-process -j3 --verbose --extra-verbose
UpdateCTestConfiguration from :/builddir/build/BUILD/fcitx5-chinese-addons-ef9beb76e563cae1da7eb9cdea4ce0d916e2e700/s390x-redhat-linux-gnu/DartConfiguration.tcl
UpdateCTestConfiguration from :/builddir/build/BUILD/fcitx5-chinese-addons-ef9beb76e563cae1da7eb9cdea4ce0d916e2e700/s390x-redhat-linux-gnu/DartConfiguration.tcl
Test project /builddir/build/BUILD/fcitx5-chinese-addons-ef9beb76e563cae1da7eb9cdea4ce0d916e2e700/s390x-redhat-linux-gnu
Constructing a list of tests
Done constructing a list of tests
Updating test list for fixtures
Added 0 tests to meet fixture requirements
Checking test dependency graph...
Checking test dependency graph end
test 1
Start 1: testpunctuation
1: Test command: /builddir/build/BUILD/fcitx5-chinese-addons-ef9beb76e563cae1da7eb9cdea4ce0d916e2e700/s390x-redhat-linux-gnu/test/testpunctuation
1: Test timeout computed to be: 10000000
test 2
Start 2: testpinyinhelper
2: Test command: /builddir/build/BUILD/fcitx5-chinese-addons-ef9beb76e563cae1da7eb9cdea4ce0d916e2e700/s390x-redhat-linux-gnu/test/testpinyinhelper
2: Test timeout computed to be: 10000000
test 3
Start 3: testpinyin
3: Test command: /builddir/build/BUILD/fcitx5-chinese-addons-ef9beb76e563cae1da7eb9cdea4ce0d916e2e700/s390x-redhat-linux-gnu/test/testpinyin
3: Test timeout computed to be: 10000000
1: I2020-08-25 13:46:33.055770 addonmanager.cpp:177] Loaded addon punctuation
1: I2020-08-25 13:46:33.055804 addonmanager.cpp:271] Unloading addon punctuation
1/3 Test fcitx/fcitx5-chinese-addons#1: testpunctuation .................. Passed 0.00 sec
3: D2020-08-25 13:46:33.056702 i18n.cpp:32] Add gettext domain fcitx5 at /usr/share/locale
3: D2020-08-25 13:46:33.064639 instance.cpp:1479] Trigger Key: Control+space Zenkaku_Hankaku Hangul
3: I2020-08-25 13:46:33.064729 instance.cpp:1176] Override Enabled Addons: {}
3: I2020-08-25 13:46:33.064802 instance.cpp:1177] Override Disabled Addons: {}
3: D2020-08-25 13:46:33.065219 addonmanager.cpp:143] Call loadAddon() with testim checkDependencies() returns 0 Dep: [] OptDep: []
3: I2020-08-25 13:46:33.065480 addonmanager.cpp:177] Loaded addon testim
3: D2020-08-25 13:46:33.065558 addonmanager.cpp:143] Call loadAddon() with testfrontend checkDependencies() returns 0 Dep: [] OptDep: []
3: I2020-08-25 13:46:33.065799 addonmanager.cpp:177] Loaded addon testfrontend
3: D2020-08-25 13:46:33.065877 addonmanager.cpp:143] Call loadAddon() with testui checkDependencies() returns 0 Dep: [] OptDep: []
3: I2020-08-25 13:46:33.066102 addonmanager.cpp:177] Loaded addon testui
3: D2020-08-25 13:46:33.066216 addonmanager.cpp:143] Call loadAddon() with pinyinhelper checkDependencies() returns 0 Dep: [] OptDep: [quickphrase, clipboard]
3: I2020-08-25 13:46:33.308261 addonmanager.cpp:177] Loaded addon pinyinhelper
3: I2020-08-25 13:46:33.308572 inputmethodmanager.cpp:195] Found 3 input method(s) in addon testim
3: I2020-08-25 13:46:33.308659 inputmethodmanager.cpp:109] No valid input method group in configuration. Building a default one
3: I2020-08-25 13:46:33.308752 instance.cpp:563] Items in Default: [InputMethodGroupItem(keyboard-us,layout=)]
3: I2020-08-25 13:46:33.308843 instance.cpp:568] Generated groups: [Default]
3: D2020-08-25 13:46:33.309014 addonmanager.cpp:143] Call loadAddon() with pinyin checkDependencies() returns 2 Dep: [punctuation] OptDep: [fullwidth, quickphrase, cloudpinyin, notifications, spell, pinyinhelper, chttrans, imeapi]
3: D2020-08-25 13:46:33.309201 addonmanager.cpp:143] Call loadAddon() with punctuation checkDependencies() returns 0 Dep: [] OptDep: [notifications]
3: D2020-08-25 13:46:33.309586 i18n.cpp:32] Add gettext domain fcitx5-chinese-addons at /usr/share/locale
3: I2020-08-25 13:46:33.309724 addonmanager.cpp:177] Loaded addon punctuation
3: D2020-08-25 13:46:33.309789 addonmanager.cpp:143] Call loadAddon() with pinyin checkDependencies() returns 0 Dep: [punctuation] OptDep: [fullwidth, quickphrase, cloudpinyin, notifications, spell, pinyinhelper, chttrans, imeapi]
3: E2020-08-25 13:46:33.310716 addonloader.cpp:57] Failed to create addon: pinyin ../src/libime/core/kenlm/lm/binary_format.cc:112 in bool lm::ngram::IsBinaryFormat(int) threw FormatLoadException.
3: File looks like it should be loaded with mmap, but the test values don't match. Try rebuilding the binary format LM using the same code revision, compiler, and architecture
3: F2020-08-25 13:46:33.312008 testpinyin.cpp:23] pinyin failed
2: I2020-08-25 13:46:33.330771 addonmanager.cpp:177] Loaded addon pinyinhelper
2: I2020-08-25 13:46:33.330945 testpinyinhelper.cpp:26] nǐ
2: I2020-08-25 13:46:33.330977 testpinyinhelper.cpp:32] 冃 丨𠃍一一
2: I2020-08-25 13:46:33.330988 testpinyinhelper.cpp:32] 口 丨𠃍一
2: I2020-08-25 13:46:33.330998 testpinyinhelper.cpp:32] 𠮙 丨𠃍一𠃍
2: I2020-08-25 13:46:33.331024 addonmanager.cpp:271] Unloading addon pinyinhelper
2/3 Test fcitx/fcitx5-chinese-addons#2: testpinyinhelper ................. Passed 0.29 sec
3/3 Test fcitx/fcitx5-chinese-addons#3: testpinyin .......................Child aborted***Exception: 1.02 sec
D2020-08-25 13:46:33.056702 i18n.cpp:32] Add gettext domain fcitx5 at /usr/share/locale
D2020-08-25 13:46:33.064639 instance.cpp:1479] Trigger Key: Control+space Zenkaku_Hankaku Hangul
I2020-08-25 13:46:33.064729 instance.cpp:1176] Override Enabled Addons: {}
I2020-08-25 13:46:33.064802 instance.cpp:1177] Override Disabled Addons: {}
D2020-08-25 13:46:33.065219 addonmanager.cpp:143] Call loadAddon() with testim checkDependencies() returns 0 Dep: [] OptDep: []
I2020-08-25 13:46:33.065480 addonmanager.cpp:177] Loaded addon testim
D2020-08-25 13:46:33.065558 addonmanager.cpp:143] Call loadAddon() with testfrontend checkDependencies() returns 0 Dep: [] OptDep: []
I2020-08-25 13:46:33.065799 addonmanager.cpp:177] Loaded addon testfrontend
D2020-08-25 13:46:33.065877 addonmanager.cpp:143] Call loadAddon() with testui checkDependencies() returns 0 Dep: [] OptDep: []
I2020-08-25 13:46:33.066102 addonmanager.cpp:177] Loaded addon testui
D2020-08-25 13:46:33.066216 addonmanager.cpp:143] Call loadAddon() with pinyinhelper checkDependencies() returns 0 Dep: [] OptDep: [quickphrase, clipboard]
I2020-08-25 13:46:33.308261 addonmanager.cpp:177] Loaded addon pinyinhelper
I2020-08-25 13:46:33.308572 inputmethodmanager.cpp:195] Found 3 input method(s) in addon testim
I2020-08-25 13:46:33.308659 inputmethodmanager.cpp:109] No valid input method group in configuration. Building a default one
I2020-08-25 13:46:33.308752 instance.cpp:563] Items in Default: [InputMethodGroupItem(keyboard-us,layout=)]
I2020-08-25 13:46:33.308843 instance.cpp:568] Generated groups: [Default]
D2020-08-25 13:46:33.309014 addonmanager.cpp:143] Call loadAddon() with pinyin checkDependencies() returns 2 Dep: [punctuation] OptDep: [fullwidth, quickphrase, cloudpinyin, notifications, spell, pinyinhelper, chttrans, imeapi]
D2020-08-25 13:46:33.309201 addonmanager.cpp:143] Call loadAddon() with punctuation checkDependencies() returns 0 Dep: [] OptDep: [notifications]
D2020-08-25 13:46:33.309586 i18n.cpp:32] Add gettext domain fcitx5-chinese-addons at /usr/share/locale
I2020-08-25 13:46:33.309724 addonmanager.cpp:177] Loaded addon punctuation
D2020-08-25 13:46:33.309789 addonmanager.cpp:143] Call loadAddon() with pinyin checkDependencies() returns 0 Dep: [punctuation] OptDep: [fullwidth, quickphrase, cloudpinyin, notifications, spell, pinyinhelper, chttrans, imeapi]
E2020-08-25 13:46:33.310716 addonloader.cpp:57] Failed to create addon: pinyin ../src/libime/core/kenlm/lm/binary_format.cc:112 in bool lm::ngram::IsBinaryFormat(int) threw FormatLoadException.
File looks like it should be loaded with mmap, but the test values don't match. Try rebuilding the binary format LM using the same code revision, compiler, and architecture
F2020-08-25 13:46:33.312008 testpinyin.cpp:23] pinyin failed
67% tests passed, 1 tests failed out of 3
Total Test time (real) = 1.02 sec
The following tests FAILED:
3 - testpinyin (Child aborted)
Errors while running CTest
关闭自动选择候选词后不能连续输入
fcitx5 里的码表输入法有如下选项
打开自动选择候选词时的行为
-情况1:输入全码后有重码时等待下一个输入顶第一码上屏
-情况2:输入全码后无重码自动上屏。
关闭自动选择候选词时的行为
关闭自动选择候选词时推荐的行为
这种行为可以说和拼音一样,可以连续输入但是不自动提交。全码后继续输入时查找下一个词,之前找到的词停留到预编辑区,此时空格上全部中文,回车上全部编码。这样夹杂输入法长串英文时很方便。当所有字的是全码时可以一直输入下去,遇到非全码字则必需空格上屏。
cmake 3.23.2下编译失败
简体中文长句输入中出现了繁体字?
Please force c++17 standard in CMake buildsystem
File src/libime/core/naivevector.h
needs to be built with c++17 enabled. Please force the c++17 standard in src/libime/core/CMakeLists.txt
since otherwise the whole project may not be built successfully.
拼音加加元音引到键能不能加上a和e?
闲着也是闲着, 很多输入法都允许这两个键引到元音输入, 比如afps是安排。
现在只能用o引到, 非常不习惯。
韵母开头的双拼码被识别成全拼
我使用Ubuntu22.04的fticx5 5.1.0,使用双拼,智能ABC输入法
我发现,即便已经是双拼模式,输入诸如an[zhun]或者en[chun]之类的拼音,会同时被fcitx5识别成字面含义的“安”或者“嗯”
尤其是an,前四个都是“安”音的字,真正对应的“准”字要到排到了第五位,很影响输入。
这个同样影响组词,antb[zhun tou]输出的默认组词是“案头”而不是“准头”
之前fcitx4时期印象没有这种问题,我试图搜索是否是fcitx5的相关配置,也一无所获。
单纯强行输入全拼时又没有反应,不像是开了双拼时支持全拼(如果有)之类的功能。
是否是某个BUG?
libime failed to compile
this is my build log:
�[32;01m * �[39;49;00mPackage: app-i18n/libime-20190826
�[32;01m * �[39;49;00mRepository: gentoo-zh
�[32;01m * �[39;49;00mUSE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU
�[32;01m * �[39;49;00mFEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox
>>> Unpacking source...
�[32;01m*�[0m Repository id: fcitx_libime.git
�[32;01m*�[0m To override fetched repository properties, use:
�[32;01m*�[0m EGIT_OVERRIDE_REPO_FCITX_LIBIME
�[32;01m*�[0m EGIT_OVERRIDE_BRANCH_FCITX_LIBIME
�[32;01m*�[0m EGIT_OVERRIDE_COMMIT_FCITX_LIBIME
�[32;01m*�[0m EGIT_OVERRIDE_COMMIT_DATE_FCITX_LIBIME
�[32;01m*�[0m
�[32;01m*�[0m Fetching �[1mhttps://github.com/fcitx/libime.git�[22m ...
git fetch https://github.com/fcitx/libime.git +HEAD:refs/git-r3/HEAD
git update-ref --no-deref refs/git-r3/app-i18n/libime/5/__main__ 32541593515f45e76f75831e324a5f20b7ffba94
�[32;01m*�[0m Repository id: kpu_kenlm.git
�[32;01m*�[0m To override fetched repository properties, use:
�[32;01m*�[0m EGIT_OVERRIDE_REPO_KPU_KENLM
�[32;01m*�[0m EGIT_OVERRIDE_BRANCH_KPU_KENLM
�[32;01m*�[0m EGIT_OVERRIDE_COMMIT_KPU_KENLM
�[32;01m*�[0m EGIT_OVERRIDE_COMMIT_DATE_KPU_KENLM
�[32;01m*�[0m
�[32;01m*�[0m Fetching �[1mhttps://github.com/kpu/kenlm.git�[22m ...
git fetch https://github.com/kpu/kenlm.git --prune +refs/heads/*:refs/heads/* +refs/tags/*:refs/tags/* +refs/notes/*:refs/notes/* +HEAD:refs/git-r3/HEAD
git update-ref --no-deref refs/git-r3/app-i18n/libime/5/src_libime_kenlm/__main__ 25d7ab59620740ddeec7e0fdc6758b8b00a93bcb
�[32;01m*�[0m Checking out �[1mhttps://github.com/fcitx/libime.git�[22m to �[1m/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826�[22m ...
git checkout --quiet 32541593515f45e76f75831e324a5f20b7ffba94
GIT update -->
repository: https://github.com/fcitx/libime.git
at the commit: 32541593515f45e76f75831e324a5f20b7ffba94
�[32;01m*�[0m Checking out �[1mhttps://github.com/kpu/kenlm.git�[22m to �[1m/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm�[22m ...
git checkout --quiet 25d7ab59620740ddeec7e0fdc6758b8b00a93bcb
GIT update -->
repository: https://github.com/kpu/kenlm.git
at the commit: 25d7ab59620740ddeec7e0fdc6758b8b00a93bcb
>>> Source unpacked in /var/tmp/portage/app-i18n/libime-20190826/work
>>> Preparing source in /var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826 ...
�[32;01m*�[0m Hardcoded definition(s) removed in src/libime/core/kenlm/CMakeLists.txt:
�[32;01m*�[0m set(CMAKE_BUILD_TYPE Release)
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826 ...
>>> Working in BUILD_DIR: "/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826_build"
cmake -C /var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826_build/gentoo_common_config.cmake -G Unix Makefiles -DCMAKE_INSTALL_PREFIX=/usr -DLIB_INSTALL_DIR=/usr/lib64 -DSYSCONFDIR=/etc -DCMAKE_BUILD_TYPE=Gentoo -DCMAKE_TOOLCHAIN_FILE=/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826_build/gentoo_toolchain.cmake /var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826
loading initial cache file /var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826_build/gentoo_common_config.cmake
-- The C compiler identification is GNU 9.2.0
-- The CXX compiler identification is GNU 9.2.0
-- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc
-- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/x86_64-pc-linux-gnu-g++
-- Check for working CXX compiler: /usr/bin/x86_64-pc-linux-gnu-g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found Boost: /usr/include (found suitable version "1.71.0", minimum required is "1.61")
-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY
-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY - Success
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY - Success
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR - Success
-- Found PythonInterp: /usr/bin/python (found suitable version "3.6.9", minimum required is "3")
-- The following REQUIRED packages have been found:
* ECM (required version >= 1.0)
* Fcitx5Utils
* Boost (required version >= 1.61)
* PythonInterp (required version >= 3)
-- <<< Gentoo configuration >>>
Build type Gentoo
Install path /usr
Compiler flags:
C -Wall -Wextra -march=native -O2 -pipe
C++ -Wall -Wextra -march=native -O2 -pipe
Linker flags:
Executable -Wl,-O1 -Wl,--as-needed
Module -Wl,--no-undefined -Wl,--as-needed -Wl,-O1 -Wl,--as-needed
Shared -Wl,--no-undefined -Wl,--as-needed -Wl,-O1 -Wl,--as-needed
-- Configuring done
-- Generating done
CMake Warning:
Manually-specified variables were not used by the project:
LIB_INSTALL_DIR
SYSCONFDIR
-- Build files have been written to: /var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826_build
>>> Source configured.
>>> Compiling source in /var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826 ...
>>> Working in BUILD_DIR: "/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826_build"
make -j8 VERBOSE=1
/usr/bin/cmake -S/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826 -B/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826_build --check-build-system CMakeFiles/Makefile.cmake 0
/usr/bin/cmake -E cmake_progress_start /var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826_build/CMakeFiles /var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826_build/CMakeFiles/progress.marks
make -f CMakeFiles/Makefile2 all
make[1]: Entering directory '/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826_build'
make -f src/libime/core/CMakeFiles/kenlm.dir/build.make src/libime/core/CMakeFiles/kenlm.dir/depend
make -f data/CMakeFiles/opengram-dict-download.dir/build.make data/CMakeFiles/opengram-dict-download.dir/depend
make -f data/CMakeFiles/opengram-lm-download.dir/build.make data/CMakeFiles/opengram-lm-download.dir/depend
make[2]: Entering directory '/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826_build'
cd /var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826_build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826 /var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core /var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826_build /var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826_build/src/libime/core /var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826_build/src/libime/core/CMakeFiles/kenlm.dir/DependInfo.cmake --color=
make[2]: Entering directory '/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826_build'
cd /var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826_build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826 /var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/data /var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826_build /var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826_build/data /var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826_build/data/CMakeFiles/opengram-dict-download.dir/DependInfo.cmake --color=
make -f data/CMakeFiles/table-dict-download.dir/build.make data/CMakeFiles/table-dict-download.dir/depend
make[2]: Entering directory '/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826_build'
cd /var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826_build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826 /var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/data /var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826_build /var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826_build/data /var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826_build/data/CMakeFiles/opengram-lm-download.dir/DependInfo.cmake --color=
make[2]: Entering directory '/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826_build'
cd /var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826_build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826 /var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/data /var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826_build /var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826_build/data /var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826_build/data/CMakeFiles/table-dict-download.dir/DependInfo.cmake --color=
Dependee "/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826_build/data/CMakeFiles/opengram-dict-download.dir/DependInfo.cmake" is newer than depender "/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826_build/data/CMakeFiles/opengram-dict-download.dir/depend.internal".
Dependee "/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826_build/data/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826_build/data/CMakeFiles/opengram-dict-download.dir/depend.internal".
�[35m�[1mScanning dependencies of target opengram-dict-download�[0m
Dependee "/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826_build/src/libime/core/CMakeFiles/kenlm.dir/DependInfo.cmake" is newer than depender "/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826_build/src/libime/core/CMakeFiles/kenlm.dir/depend.internal".
Dependee "/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826_build/src/libime/core/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826_build/src/libime/core/CMakeFiles/kenlm.dir/depend.internal".
�[35m�[1mScanning dependencies of target kenlm�[0m
Dependee "/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826_build/data/CMakeFiles/opengram-lm-download.dir/DependInfo.cmake" is newer than depender "/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826_build/data/CMakeFiles/opengram-lm-download.dir/depend.internal".
Dependee "/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826_build/data/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826_build/data/CMakeFiles/opengram-lm-download.dir/depend.internal".
�[35m�[1mScanning dependencies of target opengram-lm-download�[0m
make[2]: Leaving directory '/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826_build'
make -f data/CMakeFiles/opengram-dict-download.dir/build.make data/CMakeFiles/opengram-dict-download.dir/build
make[2]: Leaving directory '/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826_build'
make -f data/CMakeFiles/opengram-lm-download.dir/build.make data/CMakeFiles/opengram-lm-download.dir/build
Dependee "/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826_build/data/CMakeFiles/table-dict-download.dir/DependInfo.cmake" is newer than depender "/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826_build/data/CMakeFiles/table-dict-download.dir/depend.internal".
Dependee "/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826_build/data/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826_build/data/CMakeFiles/table-dict-download.dir/depend.internal".
�[35m�[1mScanning dependencies of target table-dict-download�[0m
make[2]: Entering directory '/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826_build'
cd /var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826_build/data && /usr/bin/cmake -P /var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826_build/data/opengram-dict-download-download.cmake
make[2]: Leaving directory '/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826_build'
make -f data/CMakeFiles/table-dict-download.dir/build.make data/CMakeFiles/table-dict-download.dir/build
make[2]: Entering directory '/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826_build'
cd /var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826_build/data && /usr/bin/cmake -P /var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826_build/data/opengram-lm-download-download.cmake
make[2]: Entering directory '/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826_build'
cd /var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826_build/data && /usr/bin/cmake -P /var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826_build/data/table-dict-download-download.cmake
make[2]: Leaving directory '/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826_build'
[ 0%] Built target opengram-dict-download
make -f data/CMakeFiles/opengram-dict-extract.dir/build.make data/CMakeFiles/opengram-dict-extract.dir/depend
make[2]: Entering directory '/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826_build'
cd /var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826_build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826 /var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/data /var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826_build /var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826_build/data /var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826_build/data/CMakeFiles/opengram-dict-extract.dir/DependInfo.cmake --color=
make[2]: Leaving directory '/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826_build'
Dependee "/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826_build/data/CMakeFiles/opengram-dict-extract.dir/DependInfo.cmake" is newer than depender "/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826_build/data/CMakeFiles/opengram-dict-extract.dir/depend.internal".
Dependee "/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826_build/data/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826_build/data/CMakeFiles/opengram-dict-extract.dir/depend.internal".
�[35m�[1mScanning dependencies of target opengram-dict-extract�[0m
make[2]: Leaving directory '/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826_build'
make -f data/CMakeFiles/opengram-dict-extract.dir/build.make data/CMakeFiles/opengram-dict-extract.dir/build
make[2]: Entering directory '/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826_build'
[ 0%] Built target table-dict-download
make -f data/CMakeFiles/table-dict-extract.dir/build.make data/CMakeFiles/table-dict-extract.dir/depend
[ 1%] �[34m�[1mGenerating .opengram-dict-extract.stamp�[0m
cd /var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826_build/data && /usr/bin/cmake -E tar x /var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/data/dict.utf8-20170423.tar.xz
make[2]: Entering directory '/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826_build'
cd /var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826_build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826 /var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/data /var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826_build /var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826_build/data /var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826_build/data/CMakeFiles/table-dict-extract.dir/DependInfo.cmake --color=
Dependee "/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826_build/data/CMakeFiles/table-dict-extract.dir/DependInfo.cmake" is newer than depender "/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826_build/data/CMakeFiles/table-dict-extract.dir/depend.internal".
Dependee "/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826_build/data/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826_build/data/CMakeFiles/table-dict-extract.dir/depend.internal".
�[35m�[1mScanning dependencies of target table-dict-extract�[0m
make[2]: Leaving directory '/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826_build'
make -f data/CMakeFiles/table-dict-extract.dir/build.make data/CMakeFiles/table-dict-extract.dir/build
make[2]: Entering directory '/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826_build'
[ 2%] �[34m�[1mGenerating .table-dict-extract.stamp�[0m
cd /var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826_build/data && /usr/bin/cmake -E tar x /var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/data/table.tar.gz
make[2]: Leaving directory '/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826_build'
make -f src/libime/core/CMakeFiles/kenlm.dir/build.make src/libime/core/CMakeFiles/kenlm.dir/build
cd /var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826_build/data && /usr/bin/cmake -E touch /var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826_build/data/.opengram-dict-extract.stamp
make[2]: Entering directory '/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826_build'
cd /var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826_build/data && /usr/bin/cmake -E touch_nocreate dict.utf8
[ 3%] �[32mBuilding CXX object src/libime/core/CMakeFiles/kenlm.dir/kenlm/lm/bhiksha.cc.o�[0m
cd /var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826_build/src/libime/core && /usr/bin/x86_64-pc-linux-gnu-g++ -DKENLM_MAX_ORDER=3 -DNDEBUG -I/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826_build -I/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm -DNDEBUG -Wall -Wextra -march=native -O2 -pipe -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=c++17 -o CMakeFiles/kenlm.dir/kenlm/lm/bhiksha.cc.o -c /var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm/lm/bhiksha.cc
[ 4%] �[32mBuilding CXX object src/libime/core/CMakeFiles/kenlm.dir/kenlm/lm/binary_format.cc.o�[0m
cd /var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826_build/src/libime/core && /usr/bin/x86_64-pc-linux-gnu-g++ -DKENLM_MAX_ORDER=3 -DNDEBUG -I/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826_build -I/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm -DNDEBUG -Wall -Wextra -march=native -O2 -pipe -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=c++17 -o CMakeFiles/kenlm.dir/kenlm/lm/binary_format.cc.o -c /var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm/lm/binary_format.cc
[ 5%] �[32mBuilding CXX object src/libime/core/CMakeFiles/kenlm.dir/kenlm/lm/config.cc.o�[0m
cd /var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826_build/src/libime/core && /usr/bin/x86_64-pc-linux-gnu-g++ -DKENLM_MAX_ORDER=3 -DNDEBUG -I/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826_build -I/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm -DNDEBUG -Wall -Wextra -march=native -O2 -pipe -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=c++17 -o CMakeFiles/kenlm.dir/kenlm/lm/config.cc.o -c /var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm/lm/config.cc
[ 5%] �[32mBuilding CXX object src/libime/core/CMakeFiles/kenlm.dir/kenlm/lm/lm_exception.cc.o�[0m
cd /var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826_build/src/libime/core && /usr/bin/x86_64-pc-linux-gnu-g++ -DKENLM_MAX_ORDER=3 -DNDEBUG -I/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826_build -I/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm -DNDEBUG -Wall -Wextra -march=native -O2 -pipe -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=c++17 -o CMakeFiles/kenlm.dir/kenlm/lm/lm_exception.cc.o -c /var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm/lm/lm_exception.cc
[ 6%] �[32mBuilding CXX object src/libime/core/CMakeFiles/kenlm.dir/kenlm/lm/model.cc.o�[0m
make[2]: Leaving directory '/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826_build'
cd /var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826_build/src/libime/core && /usr/bin/x86_64-pc-linux-gnu-g++ -DKENLM_MAX_ORDER=3 -DNDEBUG -I/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826_build -I/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm -DNDEBUG -Wall -Wextra -march=native -O2 -pipe -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=c++17 -o CMakeFiles/kenlm.dir/kenlm/lm/model.cc.o -c /var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm/lm/model.cc
[ 6%] Built target opengram-dict-extract
[ 7%] �[32mBuilding CXX object src/libime/core/CMakeFiles/kenlm.dir/kenlm/lm/quantize.cc.o�[0m
cd /var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826_build/src/libime/core && /usr/bin/x86_64-pc-linux-gnu-g++ -DKENLM_MAX_ORDER=3 -DNDEBUG -I/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826_build -I/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm -DNDEBUG -Wall -Wextra -march=native -O2 -pipe -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=c++17 -o CMakeFiles/kenlm.dir/kenlm/lm/quantize.cc.o -c /var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm/lm/quantize.cc
cd /var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826_build/data && /usr/bin/cmake -E touch /var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826_build/data/.table-dict-extract.stamp
make[2]: Leaving directory '/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826_build'
cd /var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826_build/data && /usr/bin/cmake -E touch_nocreate db.txt erbi.txt qxm.txt wanfeng.txt wbpy.txt wbx.txt zrm.txt cj.txt
[ 7%] Built target opengram-lm-download
make -f data/CMakeFiles/opengram-lm-extract.dir/build.make data/CMakeFiles/opengram-lm-extract.dir/depend
make[2]: Entering directory '/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826_build'
cd /var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826_build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826 /var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/data /var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826_build /var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826_build/data /var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826_build/data/CMakeFiles/opengram-lm-extract.dir/DependInfo.cmake --color=
make[2]: Leaving directory '/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826_build'
[ 8%] Built target table-dict-extract
Dependee "/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826_build/data/CMakeFiles/opengram-lm-extract.dir/DependInfo.cmake" is newer than depender "/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826_build/data/CMakeFiles/opengram-lm-extract.dir/depend.internal".
Dependee "/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826_build/data/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826_build/data/CMakeFiles/opengram-lm-extract.dir/depend.internal".
�[35m�[1mScanning dependencies of target opengram-lm-extract�[0m
make[2]: Leaving directory '/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826_build'
make -f data/CMakeFiles/opengram-lm-extract.dir/build.make data/CMakeFiles/opengram-lm-extract.dir/build
make[2]: Entering directory '/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826_build'
[ 9%] �[32mBuilding CXX object src/libime/core/CMakeFiles/kenlm.dir/kenlm/lm/read_arpa.cc.o�[0m
cd /var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826_build/src/libime/core && /usr/bin/x86_64-pc-linux-gnu-g++ -DKENLM_MAX_ORDER=3 -DNDEBUG -I/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826_build -I/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm -DNDEBUG -Wall -Wextra -march=native -O2 -pipe -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=c++17 -o CMakeFiles/kenlm.dir/kenlm/lm/read_arpa.cc.o -c /var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm/lm/read_arpa.cc
[ 9%] �[34m�[1mGenerating .opengram-lm-extract.stamp�[0m
cd /var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826_build/data && /usr/bin/cmake -E tar x /var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/data/lm_sc.3gm.arpa-20140820.tar.bz2
[ 9%] �[32mBuilding CXX object src/libime/core/CMakeFiles/kenlm.dir/kenlm/lm/search_hashed.cc.o�[0m
cd /var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826_build/src/libime/core && /usr/bin/x86_64-pc-linux-gnu-g++ -DKENLM_MAX_ORDER=3 -DNDEBUG -I/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826_build -I/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm -DNDEBUG -Wall -Wextra -march=native -O2 -pipe -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=c++17 -o CMakeFiles/kenlm.dir/kenlm/lm/search_hashed.cc.o -c /var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm/lm/search_hashed.cc
�[01m�[K/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm/lm/binary_format.cc:�[m�[K In member function ‘�[01m�[Kvoid lm::ngram::BinaryFormat::FinishFile(const lm::ngram::Config&, lm::ngram::ModelType, unsigned int, const std::vector<long unsigned int>&)�[m�[K’:
�[01m�[K/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm/lm/binary_format.cc:261:40:�[m�[K �[01;35m�[Kwarning: �[m�[K‘�[01m�[Kvoid* memset(void*, int, size_t)�[m�[K’ clearing an object of type ‘�[01m�[Kstruct lm::ngram::Parameters�[m�[K’ with no trivial copy-assignment; use assignment or value-initialization instead [�[01;35m�[K-Wclass-memaccess�[m�[K]
261 | memset(¶ms, 0, sizeof(Parameters)�[01;35m�[K)�[m�[K;
| �[01;35m�[K^�[m�[K
In file included from �[01m�[K/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm/lm/binary_format.cc:1�[m�[K:
�[01m�[K/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm/lm/binary_format.hh:42:8:�[m�[K �[01;36m�[Knote: �[m�[K‘�[01m�[Kstruct lm::ngram::Parameters�[m�[K’ declared here
42 | struct �[01;36m�[KParameters�[m�[K {
| �[01;36m�[K^~~~~~~~~~�[m�[K
[ 10%] �[32mBuilding CXX object src/libime/core/CMakeFiles/kenlm.dir/kenlm/lm/search_trie.cc.o�[0m
cd /var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826_build/src/libime/core && /usr/bin/x86_64-pc-linux-gnu-g++ -DKENLM_MAX_ORDER=3 -DNDEBUG -I/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826_build -I/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm -DNDEBUG -Wall -Wextra -march=native -O2 -pipe -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=c++17 -o CMakeFiles/kenlm.dir/kenlm/lm/search_trie.cc.o -c /var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm/lm/search_trie.cc
[ 11%] �[32mBuilding CXX object src/libime/core/CMakeFiles/kenlm.dir/kenlm/lm/sizes.cc.o�[0m
In file included from �[01m�[K/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm/lm/model.hh:13�[m�[K,
from �[01m�[K/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm/lm/model.cc:1�[m�[K:
�[01m�[K/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm/lm/vocab.hh:210:43:�[m�[K �[01;31m�[Kerror: �[m�[KISO C++17 does not allow dynamic exception specifications
210 | void MissingUnknown(const Config &config) �[01;31m�[Kthrow�[m�[K(SpecialWordMissingException);
| �[01;31m�[K^~~~~�[m�[K
cd /var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826_build/src/libime/core && /usr/bin/x86_64-pc-linux-gnu-g++ -DKENLM_MAX_ORDER=3 -DNDEBUG -I/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826_build -I/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm -DNDEBUG -Wall -Wextra -march=native -O2 -pipe -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=c++17 -o CMakeFiles/kenlm.dir/kenlm/lm/sizes.cc.o -c /var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm/lm/sizes.cc
�[01m�[K/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm/lm/vocab.hh:211:67:�[m�[K �[01;31m�[Kerror: �[m�[KISO C++17 does not allow dynamic exception specifications
211 | MissingSentenceMarker(const Config &config, const char *str) �[01;31m�[Kthrow�[m�[K(SpecialWordMissingException);
| �[01;31m�[K^~~~~�[m�[K
�[01m�[K/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm/lm/vocab.hh:213:85:�[m�[K �[01;31m�[Kerror: �[m�[KISO C++17 does not allow dynamic exception specifications
213 | void CheckSpecials(const Config &config, const Vocab &vocab) �[01;31m�[Kthrow�[m�[K(SpecialWordMissingException) {
| �[01;31m�[K^~~~~�[m�[K
�[01m�[K/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm/lm/vocab.hh:�[m�[K In member function ‘�[01m�[Kvoid lm::ngram::NoOpUniqueWords::operator()(const StringPiece&)�[m�[K’:
�[01m�[K/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm/lm/vocab.hh:234:40:�[m�[K �[01;35m�[Kwarning: �[m�[Kunused parameter ‘�[01m�[Kword�[m�[K’ [�[01;35m�[K-Wunused-parameter�[m�[K]
234 | void operator()(�[01;35m�[Kconst StringPiece &word�[m�[K) {}
| �[01;35m�[K~~~~~~~~~~~~~~~~~~~^~~~�[m�[K
[ 12%] �[32mBuilding CXX object src/libime/core/CMakeFiles/kenlm.dir/kenlm/lm/trie.cc.o�[0m
cd /var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826_build/src/libime/core && /usr/bin/x86_64-pc-linux-gnu-g++ -DKENLM_MAX_ORDER=3 -DNDEBUG -I/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826_build -I/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm -DNDEBUG -Wall -Wextra -march=native -O2 -pipe -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=c++17 -o CMakeFiles/kenlm.dir/kenlm/lm/trie.cc.o -c /var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm/lm/trie.cc
make[2]: *** [src/libime/core/CMakeFiles/kenlm.dir/build.make:115: src/libime/core/CMakeFiles/kenlm.dir/kenlm/lm/model.cc.o] Error 1
make[2]: *** Waiting for unfinished jobs....
[ 12%] �[32mBuilding CXX object src/libime/core/CMakeFiles/kenlm.dir/kenlm/lm/trie_sort.cc.o�[0m
cd /var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826_build/src/libime/core && /usr/bin/x86_64-pc-linux-gnu-g++ -DKENLM_MAX_ORDER=3 -DNDEBUG -I/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826_build -I/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm -DNDEBUG -Wall -Wextra -march=native -O2 -pipe -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=c++17 -o CMakeFiles/kenlm.dir/kenlm/lm/trie_sort.cc.o -c /var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm/lm/trie_sort.cc
In file included from �[01m�[K/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm/lm/model.hh:13�[m�[K,
from �[01m�[K/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm/lm/search_hashed.cc:6�[m�[K:
�[01m�[K/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm/lm/vocab.hh:210:43:�[m�[K �[01;31m�[Kerror: �[m�[KISO C++17 does not allow dynamic exception specifications
210 | void MissingUnknown(const Config &config) �[01;31m�[Kthrow�[m�[K(SpecialWordMissingException);
| �[01;31m�[K^~~~~�[m�[K
�[01m�[K/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm/lm/vocab.hh:211:67:�[m�[K �[01;31m�[Kerror: �[m�[KISO C++17 does not allow dynamic exception specifications
211 | MissingSentenceMarker(const Config &config, const char *str) �[01;31m�[Kthrow�[m�[K(SpecialWordMissingException);
| �[01;31m�[K^~~~~�[m�[K
�[01m�[K/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm/lm/vocab.hh:213:85:�[m�[K �[01;31m�[Kerror: �[m�[KISO C++17 does not allow dynamic exception specifications
213 | void CheckSpecials(const Config &config, const Vocab &vocab) �[01;31m�[Kthrow�[m�[K(SpecialWordMissingException) {
| �[01;31m�[K^~~~~�[m�[K
�[01m�[K/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm/lm/vocab.hh:�[m�[K In member function ‘�[01m�[Kvoid lm::ngram::NoOpUniqueWords::operator()(const StringPiece&)�[m�[K’:
�[01m�[K/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm/lm/vocab.hh:234:40:�[m�[K �[01;35m�[Kwarning: �[m�[Kunused parameter ‘�[01m�[Kword�[m�[K’ [�[01;35m�[K-Wunused-parameter�[m�[K]
234 | void operator()(�[01;35m�[Kconst StringPiece &word�[m�[K) {}
| �[01;35m�[K~~~~~~~~~~~~~~~~~~~^~~~�[m�[K
�[01m�[K/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm/lm/search_hashed.cc:�[m�[K In member function ‘�[01m�[Kvoid lm::ngram::detail::HashedSearch<Value>::DispatchBuild(util::FilePiece&, const std::vector<long unsigned int>&, const lm::ngram::Config&, const lm::ngram::ProbingVocabulary&, lm::PositiveProbWarn&) [with Value = lm::ngram::BackoffValue]�[m�[K’:
�[01m�[K/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm/lm/search_hashed.cc:244:131:�[m�[K �[01;35m�[Kwarning: �[m�[Kunused parameter ‘�[01m�[Kconfig�[m�[K’ [�[01;35m�[K-Wunused-parameter�[m�[K]
244 | Piece &f, const std::vector<uint64_t> &counts, �[01;35m�[Kconst Config &config�[m�[K, const ProbingVocabulary &vocab, PositiveProbWarn &warn) {
| �[01;35m�[K~~~~~~~~~~~~~~^~~~~~�[m�[K
In file included from �[01m�[K/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm/lm/search_hashed.cc:1�[m�[K:
/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm/lm/search_hashed.hh: In instantiation of ‘�[01m�[Klm::ngram::detail::HashedSearch<Value>::Unigram::Unigram(void*, uint64_t) [with Value = lm::ngram::BackoffValue; uint64_t = long unsigned int]�[m�[K’:
�[01m�[K/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm/lm/search_hashed.cc:293:16:�[m�[K required from here
�[01m�[K/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm/lm/search_hashed.hh:149:39:�[m�[K �[01;35m�[Kwarning: �[m�[Kunused parameter ‘�[01m�[Kcount�[m�[K’ [�[01;35m�[K-Wunused-parameter�[m�[K]
149 | Unigram(void *start, �[01;35m�[Kuint64_t count�[m�[K) :
| �[01;35m�[K~~~~~~~~~^~~~~�[m�[K
/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm/lm/search_hashed.hh: In instantiation of ‘�[01m�[Klm::ngram::detail::HashedSearch<Value>::Unigram::Unigram(void*, uint64_t) [with Value = lm::ngram::RestValue; uint64_t = long unsigned int]�[m�[K’:
�[01m�[K/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm/lm/search_hashed.cc:294:16:�[m�[K required from here
�[01m�[K/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm/lm/search_hashed.hh:149:39:�[m�[K �[01;35m�[Kwarning: �[m�[Kunused parameter ‘�[01m�[Kcount�[m�[K’ [�[01;35m�[K-Wunused-parameter�[m�[K]
In file included from �[01m�[K/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm/lm/search_trie.cc:12�[m�[K:
�[01m�[K/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm/lm/vocab.hh:210:43:�[m�[K �[01;31m�[Kerror: �[m�[KISO C++17 does not allow dynamic exception specifications
210 | void MissingUnknown(const Config &config) �[01;31m�[Kthrow�[m�[K(SpecialWordMissingException);
| �[01;31m�[K^~~~~�[m�[K
�[01m�[K/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm/lm/vocab.hh:211:67:�[m�[K �[01;31m�[Kerror: �[m�[KISO C++17 does not allow dynamic exception specifications
211 | MissingSentenceMarker(const Config &config, const char *str) �[01;31m�[Kthrow�[m�[K(SpecialWordMissingException);
| �[01;31m�[K^~~~~�[m�[K
�[01m�[K/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm/lm/vocab.hh:213:85:�[m�[K �[01;31m�[Kerror: �[m�[KISO C++17 does not allow dynamic exception specifications
213 | void CheckSpecials(const Config &config, const Vocab &vocab) �[01;31m�[Kthrow�[m�[K(SpecialWordMissingException) {
| �[01;31m�[K^~~~~�[m�[K
�[01m�[K/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm/lm/vocab.hh:�[m�[K In member function ‘�[01m�[Kvoid lm::ngram::NoOpUniqueWords::operator()(const StringPiece&)�[m�[K’:
�[01m�[K/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm/lm/vocab.hh:234:40:�[m�[K �[01;35m�[Kwarning: �[m�[Kunused parameter ‘�[01m�[Kword�[m�[K’ [�[01;35m�[K-Wunused-parameter�[m�[K]
234 | void operator()(�[01;35m�[Kconst StringPiece &word�[m�[K) {}
| �[01;35m�[K~~~~~~~~~~~~~~~~~~~^~~~�[m�[K
make[2]: *** [src/libime/core/CMakeFiles/kenlm.dir/build.make:154: src/libime/core/CMakeFiles/kenlm.dir/kenlm/lm/search_hashed.cc.o] Error 1
In file included from �[01m�[K/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm/lm/model.hh:13�[m�[K,
from �[01m�[K/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm/lm/sizes.cc:2�[m�[K:
�[01m�[K/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm/lm/vocab.hh:210:43:�[m�[K �[01;31m�[Kerror: �[m�[KISO C++17 does not allow dynamic exception specifications
210 | void MissingUnknown(const Config &config) �[01;31m�[Kthrow�[m�[K(SpecialWordMissingException);
| �[01;31m�[K^~~~~�[m�[K
�[01m�[K/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm/lm/vocab.hh:211:67:�[m�[K �[01;31m�[Kerror: �[m�[KISO C++17 does not allow dynamic exception specifications
211 | MissingSentenceMarker(const Config &config, const char *str) �[01;31m�[Kthrow�[m�[K(SpecialWordMissingException);
| �[01;31m�[K^~~~~�[m�[K
�[01m�[K/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm/lm/vocab.hh:213:85:�[m�[K �[01;31m�[Kerror: �[m�[KISO C++17 does not allow dynamic exception specifications
213 | void CheckSpecials(const Config &config, const Vocab &vocab) �[01;31m�[Kthrow�[m�[K(SpecialWordMissingException) {
| �[01;31m�[K^~~~~�[m�[K
�[01m�[K/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm/lm/vocab.hh:�[m�[K In member function ‘�[01m�[Kvoid lm::ngram::NoOpUniqueWords::operator()(const StringPiece&)�[m�[K’:
�[01m�[K/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm/lm/vocab.hh:234:40:�[m�[K �[01;35m�[Kwarning: �[m�[Kunused parameter ‘�[01m�[Kword�[m�[K’ [�[01;35m�[K-Wunused-parameter�[m�[K]
234 | void operator()(�[01;35m�[Kconst StringPiece &word�[m�[K) {}
| �[01;35m�[K~~~~~~~~~~~~~~~~~~~^~~~�[m�[K
In file included from �[01m�[K/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm/lm/trie_sort.cc:6�[m�[K:
�[01m�[K/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm/lm/vocab.hh:210:43:�[m�[K �[01;31m�[Kerror: �[m�[KISO C++17 does not allow dynamic exception specifications
210 | void MissingUnknown(const Config &config) �[01;31m�[Kthrow�[m�[K(SpecialWordMissingException);
| �[01;31m�[K^~~~~�[m�[K
�[01m�[K/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm/lm/vocab.hh:211:67:�[m�[K �[01;31m�[Kerror: �[m�[KISO C++17 does not allow dynamic exception specifications
211 | MissingSentenceMarker(const Config &config, const char *str) �[01;31m�[Kthrow�[m�[K(SpecialWordMissingException);
| �[01;31m�[K^~~~~�[m�[K
�[01m�[K/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm/lm/vocab.hh:213:85:�[m�[K �[01;31m�[Kerror: �[m�[KISO C++17 does not allow dynamic exception specifications
213 | void CheckSpecials(const Config &config, const Vocab &vocab) �[01;31m�[Kthrow�[m�[K(SpecialWordMissingException) {
| �[01;31m�[K^~~~~�[m�[K
�[01m�[K/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm/lm/vocab.hh:�[m�[K In member function ‘�[01m�[Kvoid lm::ngram::NoOpUniqueWords::operator()(const StringPiece&)�[m�[K’:
�[01m�[K/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm/lm/vocab.hh:234:40:�[m�[K �[01;35m�[Kwarning: �[m�[Kunused parameter ‘�[01m�[Kword�[m�[K’ [�[01;35m�[K-Wunused-parameter�[m�[K]
234 | void operator()(�[01;35m�[Kconst StringPiece &word�[m�[K) {}
| �[01;35m�[K~~~~~~~~~~~~~~~~~~~^~~~�[m�[K
�[01m�[K/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm/lm/trie_sort.cc:�[m�[K In function ‘�[01m�[KFILE* lm::ngram::trie::{anonymous}::WriteContextFile(uint8_t*, uint8_t*, const string&, std::size_t, unsigned char)�[m�[K’:
�[01m�[K/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm/lm/trie_sort.cc:104:109:�[m�[K �[01;35m�[Kwarning: �[m�[Kimplicitly-declared ‘�[01m�[Kconstexpr util::ProxyIterator<lm::ngram::trie::{anonymous}::PartialViewProxy>::ProxyIterator(const util::ProxyIterator<lm::ngram::trie::{anonymous}::PartialViewProxy>&)�[m�[K’ is deprecated [�[01;35m�[K-Wdeprecated-copy�[m�[K]
104 | pare<EntryCompare, PartialViewProxy>(EntryCompare(order - 1))�[01;35m�[K)�[m�[K;
| �[01;35m�[K^�[m�[K
In file included from �[01m�[K/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm/lm/trie_sort.cc:12�[m�[K:
�[01m�[K/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm/util/proxy_iterator.hh:56:8:�[m�[K �[01;36m�[Knote: �[m�[Kbecause ‘�[01m�[Kutil::ProxyIterator<lm::ngram::trie::{anonymous}::PartialViewProxy>�[m�[K’ has user-provided ‘�[01m�[Kutil::ProxyIterator<Proxy>::S& util::ProxyIterator<Proxy>::operator=(const S&) [with Proxy = lm::ngram::trie::{anonymous}::PartialViewProxy; util::ProxyIterator<Proxy>::S = util::ProxyIterator<lm::ngram::trie::{anonymous}::PartialViewProxy>]�[m�[K’
56 | S &�[01;36m�[Koperator�[m�[K=(const S &other) {
| �[01;36m�[K^~~~~~~~�[m�[K
In file included from �[01m�[K/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/g++-v9/algorithm:62�[m�[K,
from �[01m�[K/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm/util/string_piece.hh:85�[m�[K,
from �[01m�[K/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm/util/fake_ostream.hh:6�[m�[K,
from �[01m�[K/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm/util/string_stream.hh:4�[m�[K,
from �[01m�[K/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm/util/exception.hh:4�[m�[K,
from �[01m�[K/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm/util/file.hh:4�[m�[K,
from �[01m�[K/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm/lm/trie_sort.hh:9�[m�[K,
from �[01m�[K/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm/lm/trie_sort.cc:1�[m�[K:
�[01m�[K/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/g++-v9/bits/stl_algo.h:4848:32:�[m�[K �[01;36m�[Knote: �[m�[K initializing argument 1 of ‘�[01m�[Kvoid std::sort(_RAIter, _RAIter, _Compare) [with _RAIter = util::ProxyIterator<lm::ngram::trie::{anonymous}::PartialViewProxy>; _Compare = util::SizedCompare<lm::ngram::trie::EntryCompare, lm::ngram::trie::{anonymous}::PartialViewProxy>]�[m�[K’
4848 | sort(�[01;36m�[K_RandomAccessIterator __first�[m�[K, _RandomAccessIterator __last,
| �[01;36m�[K~~~~~~~~~~~~~~~~~~~~~~^~~~~~~�[m�[K
�[01m�[K/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm/lm/trie_sort.cc:104:109:�[m�[K �[01;35m�[Kwarning: �[m�[Kimplicitly-declared ‘�[01m�[Kconstexpr util::ProxyIterator<lm::ngram::trie::{anonymous}::PartialViewProxy>::ProxyIterator(const util::ProxyIterator<lm::ngram::trie::{anonymous}::PartialViewProxy>&)�[m�[K’ is deprecated [�[01;35m�[K-Wdeprecated-copy�[m�[K]
104 | pare<EntryCompare, PartialViewProxy>(EntryCompare(order - 1))�[01;35m�[K)�[m�[K;
| �[01;35m�[K^�[m�[K
In file included from �[01m�[K/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm/lm/trie_sort.cc:12�[m�[K:
�[01m�[K/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm/util/proxy_iterator.hh:56:8:�[m�[K �[01;36m�[Knote: �[m�[Kbecause ‘�[01m�[Kutil::ProxyIterator<lm::ngram::trie::{anonymous}::PartialViewProxy>�[m�[K’ has user-provided ‘�[01m�[Kutil::ProxyIterator<Proxy>::S& util::ProxyIterator<Proxy>::operator=(const S&) [with Proxy = lm::ngram::trie::{anonymous}::PartialViewProxy; util::ProxyIterator<Proxy>::S = util::ProxyIterator<lm::ngram::trie::{anonymous}::PartialViewProxy>]�[m�[K’
56 | S &�[01;36m�[Koperator�[m�[K=(const S &other) {
| �[01;36m�[K^~~~~~~~�[m�[K
In file included from �[01m�[K/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/g++-v9/algorithm:62�[m�[K,
from �[01m�[K/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm/util/string_piece.hh:85�[m�[K,
from �[01m�[K/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm/util/fake_ostream.hh:6�[m�[K,
from �[01m�[K/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm/util/string_stream.hh:4�[m�[K,
from �[01m�[K/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm/util/exception.hh:4�[m�[K,
from �[01m�[K/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm/util/file.hh:4�[m�[K,
from �[01m�[K/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm/lm/trie_sort.hh:9�[m�[K,
from �[01m�[K/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm/lm/trie_sort.cc:1�[m�[K:
�[01m�[K/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/g++-v9/bits/stl_algo.h:4848:63:�[m�[K �[01;36m�[Knote: �[m�[K initializing argument 2 of ‘�[01m�[Kvoid std::sort(_RAIter, _RAIter, _Compare) [with _RAIter = util::ProxyIterator<lm::ngram::trie::{anonymous}::PartialViewProxy>; _Compare = util::SizedCompare<lm::ngram::trie::EntryCompare, lm::ngram::trie::{anonymous}::PartialViewProxy>]�[m�[K’
4848 | sort(_RandomAccessIterator __first, �[01;36m�[K_RandomAccessIterator __last�[m�[K,
| �[01;36m�[K~~~~~~~~~~~~~~~~~~~~~~^~~~~~�[m�[K
�[01m�[K/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm/lm/trie_sort.cc:110:30:�[m�[K �[01;35m�[Kwarning: �[m�[Kimplicitly-declared ‘�[01m�[Kconstexpr util::ProxyIterator<lm::ngram::trie::{anonymous}::PartialViewProxy>::ProxyIterator(const util::ProxyIterator<lm::ngram::trie::{anonymous}::PartialViewProxy>&)�[m�[K’ is deprecated [�[01;35m�[K-Wdeprecated-copy�[m�[K]
110 | PartialIter i(context_begin�[01;35m�[K)�[m�[K;
| �[01;35m�[K^�[m�[K
In file included from �[01m�[K/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm/lm/trie_sort.cc:12�[m�[K:
�[01m�[K/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm/util/proxy_iterator.hh:56:8:�[m�[K �[01;36m�[Knote: �[m�[Kbecause ‘�[01m�[Kutil::ProxyIterator<lm::ngram::trie::{anonymous}::PartialViewProxy>�[m�[K’ has user-provided ‘�[01m�[Kutil::ProxyIterator<Proxy>::S& util::ProxyIterator<Proxy>::operator=(const S&) [with Proxy = lm::ngram::trie::{anonymous}::PartialViewProxy; util::ProxyIterator<Proxy>::S = util::ProxyIterator<lm::ngram::trie::{anonymous}::PartialViewProxy>]�[m�[K’
56 | S &�[01;36m�[Koperator�[m�[K=(const S &other) {
| �[01;36m�[K^~~~~~~~�[m�[K
�[01m�[K/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm/lm/trie_sort.cc:�[m�[K In member function ‘�[01m�[Kvoid lm::ngram::trie::{anonymous}::ThrowCombine::operator()(std::size_t, unsigned char, const void*, const void*, FILE*) const�[m�[K’:
�[01m�[K/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm/lm/trie_sort.cc:124:31:�[m�[K �[01;35m�[Kwarning: �[m�[Kunused parameter ‘�[01m�[Kentry_size�[m�[K’ [�[01;35m�[K-Wunused-parameter�[m�[K]
124 | void operator()(�[01;35m�[Kstd::size_t entry_size�[m�[K, unsigned char order, const void *first, const void *second, FILE * /*out*/) const {
| �[01;35m�[K~~~~~~~~~~~~^~~~~~~~~~�[m�[K
�[01m�[K/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm/lm/trie_sort.cc:124:95:�[m�[K �[01;35m�[Kwarning: �[m�[Kunused parameter ‘�[01m�[Ksecond�[m�[K’ [�[01;35m�[K-Wunused-parameter�[m�[K]
124 | ry_size, unsigned char order, const void *first, �[01;35m�[Kconst void *second�[m�[K, FILE * /*out*/) const {
| �[01;35m�[K~~~~~~~~~~~~^~~~~~�[m�[K
In file included from �[01m�[K/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm/lm/trie_sort.cc:12�[m�[K:
/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm/util/proxy_iterator.hh: In instantiation of ‘�[01m�[KProxy util::ProxyIterator<Proxy>::operator*() [with Proxy = util::SizedProxy]�[m�[K’:
�[01m�[K/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm/util/sized_iterator.hh:212:15:�[m�[K required from here
�[01m�[K/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm/util/proxy_iterator.hh:80:32:�[m�[K �[01;35m�[Kwarning: �[m�[Kimplicitly-declared ‘�[01m�[Kconstexpr util::SizedProxy::SizedProxy(const util::SizedProxy&)�[m�[K’ is deprecated [�[01;35m�[K-Wdeprecated-copy�[m�[K]
80 | Proxy operator*() { return �[01;35m�[Kp_�[m�[K; }
| �[01;35m�[K^~�[m�[K
In file included from �[01m�[K/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm/lm/trie_sort.cc:13�[m�[K:
�[01m�[K/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm/util/sized_iterator.hh:90:17:�[m�[K �[01;36m�[Knote: �[m�[Kbecause ‘�[01m�[Kutil::SizedProxy�[m�[K’ has user-provided ‘�[01m�[Kutil::SizedProxy& util::SizedProxy::operator=(const util::SizedProxy&)�[m�[K’
90 | SizedProxy &�[01;36m�[Koperator�[m�[K=(const SizedProxy &from) {
| �[01;36m�[K^~~~~~~~�[m�[K
In file included from �[01m�[K/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm/lm/trie_sort.cc:12�[m�[K:
/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm/util/proxy_iterator.hh: In instantiation of ‘�[01m�[Kutil::ProxyIterator<Proxy>::ProxyIterator(const Proxy&) [with Proxy = lm::ngram::trie::{anonymous}::PartialViewProxy]�[m�[K’:
�[01m�[K/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm/lm/trie_sort.cc:96:90:�[m�[K required from here
�[01m�[K/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm/util/proxy_iterator.hh:48:50:�[m�[K �[01;35m�[Kwarning: �[m�[Kimplicitly-declared ‘�[01m�[Kconstexpr lm::ngram::trie::{anonymous}::PartialViewProxy::PartialViewProxy(const lm::ngram::trie::{anonymous}::PartialViewProxy&)�[m�[K’ is deprecated [�[01;35m�[K-Wdeprecated-copy�[m�[K]
48 | explicit ProxyIterator(const Proxy &p) : p_(p�[01;35m�[K)�[m�[K {}
| �[01;35m�[K^�[m�[K
�[01m�[K/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm/lm/trie_sort.cc:42:23:�[m�[K �[01;36m�[Knote: �[m�[Kbecause ‘�[01m�[Klm::ngram::trie::{anonymous}::PartialViewProxy�[m�[K’ has user-provided ‘�[01m�[Klm::ngram::trie::{anonymous}::PartialViewProxy& lm::ngram::trie::{anonymous}::PartialViewProxy::operator=(const lm::ngram::trie::{anonymous}::PartialViewProxy&)�[m�[K’
42 | PartialViewProxy &�[01;36m�[Koperator�[m�[K=(const PartialViewProxy &from) {
| �[01;36m�[K^~~~~~~~�[m�[K
In file included from �[01m�[K/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm/lm/trie_sort.cc:12�[m�[K:
/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm/util/proxy_iterator.hh: In instantiation of ‘�[01m�[Kutil::ProxyIterator<Proxy>::ProxyIterator(const Proxy&) [with Proxy = util::SizedProxy]�[m�[K’:
�[01m�[K/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm/util/sized_iterator.hh:202:12:�[m�[K required from ‘�[01m�[Kvoid util::SizedSort(void*, void*, std::size_t, const Compare&) [with Compare = lm::ngram::trie::EntryCompare; std::size_t = long unsigned int]�[m�[K’
�[01m�[K/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm/lm/trie_sort.cc:282:68:�[m�[K required from here
�[01m�[K/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm/util/proxy_iterator.hh:48:50:�[m�[K �[01;35m�[Kwarning: �[m�[Kimplicitly-declared ‘�[01m�[Kconstexpr util::SizedProxy::SizedProxy(const util::SizedProxy&)�[m�[K’ is deprecated [�[01;35m�[K-Wdeprecated-copy�[m�[K]
48 | explicit ProxyIterator(const Proxy &p) : p_(p�[01;35m�[K)�[m�[K {}
| �[01;35m�[K^�[m�[K
In file included from �[01m�[K/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm/lm/trie_sort.cc:13�[m�[K:
�[01m�[K/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm/util/sized_iterator.hh:90:17:�[m�[K �[01;36m�[Knote: �[m�[Kbecause ‘�[01m�[Kutil::SizedProxy�[m�[K’ has user-provided ‘�[01m�[Kutil::SizedProxy& util::SizedProxy::operator=(const util::SizedProxy&)�[m�[K’
90 | SizedProxy &�[01;36m�[Koperator�[m�[K=(const SizedProxy &from) {
| �[01;36m�[K^~~~~~~~�[m�[K
In file included from �[01m�[K/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm/lm/search_trie.cc:17�[m�[K:
/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm/util/proxy_iterator.hh: In instantiation of ‘�[01m�[KProxy util::ProxyIterator<Proxy>::operator*() [with Proxy = util::SizedProxy]�[m�[K’:
�[01m�[K/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm/util/sized_iterator.hh:212:15:�[m�[K required from here
�[01m�[K/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm/util/proxy_iterator.hh:80:32:�[m�[K �[01;35m�[Kwarning: �[m�[Kimplicitly-declared ‘�[01m�[Kconstexpr util::SizedProxy::SizedProxy(const util::SizedProxy&)�[m�[K’ is deprecated [�[01;35m�[K-Wdeprecated-copy�[m�[K]
80 | Proxy operator*() { return �[01;35m�[Kp_�[m�[K; }
| �[01;35m�[K^~�[m�[K
In file included from �[01m�[K/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm/lm/search_trie.cc:19�[m�[K:
�[01m�[K/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm/util/sized_iterator.hh:90:17:�[m�[K �[01;36m�[Knote: �[m�[Kbecause ‘�[01m�[Kutil::SizedProxy�[m�[K’ has user-provided ‘�[01m�[Kutil::SizedProxy& util::SizedProxy::operator=(const util::SizedProxy&)�[m�[K’
90 | SizedProxy &�[01;36m�[Koperator�[m�[K=(const SizedProxy &from) {
| �[01;36m�[K^~~~~~~~�[m�[K
In file included from �[01m�[K/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm/lm/trie_sort.cc:12�[m�[K:
/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm/util/proxy_iterator.hh: In instantiation of ‘�[01m�[Kutil::ProxyIterator<Proxy>::S util::ProxyIterator<Proxy>::operator+(std::ptrdiff_t) const [with Proxy = lm::ngram::trie::{anonymous}::PartialViewProxy; util::ProxyIterator<Proxy>::S = util::ProxyIterator<lm::ngram::trie::{anonymous}::PartialViewProxy>; std::ptrdiff_t = long int]�[m�[K’:
�[01m�[K/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/g++-v9/bits/stl_algo.h:1884:43:�[m�[K required from ‘�[01m�[Kvoid std::__final_insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = util::ProxyIterator<lm::ngram::trie::{anonymous}::PartialViewProxy>; _Compare = __gnu_cxx::__ops::_Iter_comp_iter<util::SizedCompare<lm::ngram::trie::EntryCompare, lm::ngram::trie::{anonymous}::PartialViewProxy> >]�[m�[K’
�[01m�[K/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/g++-v9/bits/stl_algo.h:1970:31:�[m�[K required from ‘�[01m�[Kvoid std::__sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = util::ProxyIterator<lm::ngram::trie::{anonymous}::PartialViewProxy>; _Compare = __gnu_cxx::__ops::_Iter_comp_iter<util::SizedCompare<lm::ngram::trie::EntryCompare, lm::ngram::trie::{anonymous}::PartialViewProxy> >]�[m�[K’
�[01m�[K/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/g++-v9/bits/stl_algo.h:4860:18:�[m�[K required from ‘�[01m�[Kvoid std::sort(_RAIter, _RAIter, _Compare) [with _RAIter = util::ProxyIterator<lm::ngram::trie::{anonymous}::PartialViewProxy>; _Compare = util::SizedCompare<lm::ngram::trie::EntryCompare, lm::ngram::trie::{anonymous}::PartialViewProxy>]�[m�[K’
�[01m�[K/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm/lm/trie_sort.cc:104:109:�[m�[K required from here
�[01m�[K/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm/util/proxy_iterator.hh:71:50:�[m�[K �[01;35m�[Kwarning: �[m�[Kimplicitly-declared ‘�[01m�[Kconstexpr util::ProxyIterator<lm::ngram::trie::{anonymous}::PartialViewProxy>::ProxyIterator(const util::ProxyIterator<lm::ngram::trie::{anonymous}::PartialViewProxy>&)�[m�[K’ is deprecated [�[01;35m�[K-Wdeprecated-copy�[m�[K]
71 | S operator+(std::ptrdiff_t amount) const { S �[01;35m�[Kret�[m�[K(*this); ret += amount; return ret; }
| �[01;35m�[K^~~�[m�[K
�[01m�[K/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm/util/proxy_iterator.hh:56:8:�[m�[K �[01;36m�[Knote: �[m�[Kbecause ‘�[01m�[Kutil::ProxyIterator<lm::ngram::trie::{anonymous}::PartialViewProxy>�[m�[K’ has user-provided ‘�[01m�[Kutil::ProxyIterator<Proxy>::S& util::ProxyIterator<Proxy>::operator=(const S&) [with Proxy = lm::ngram::trie::{anonymous}::PartialViewProxy; util::ProxyIterator<Proxy>::S = util::ProxyIterator<lm::ngram::trie::{anonymous}::PartialViewProxy>]�[m�[K’
56 | S &�[01;36m�[Koperator�[m�[K=(const S &other) {
| �[01;36m�[K^~~~~~~~�[m�[K
�[01m�[K/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm/util/proxy_iterator.hh:71:84:�[m�[K �[01;35m�[Kwarning: �[m�[Kimplicitly-declared ‘�[01m�[Kconstexpr util::ProxyIterator<lm::ngram::trie::{anonymous}::PartialViewProxy>::ProxyIterator(const util::ProxyIterator<lm::ngram::trie::{anonymous}::PartialViewProxy>&)�[m�[K’ is deprecated [�[01;35m�[K-Wdeprecated-copy�[m�[K]
71 | trdiff_t amount) const { S ret(*this); ret += amount; return �[01;35m�[Kret�[m�[K; }
| �[01;35m�[K^~~�[m�[K
�[01m�[K/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm/util/proxy_iterator.hh:56:8:�[m�[K �[01;36m�[Knote: �[m�[Kbecause ‘�[01m�[Kutil::ProxyIterator<lm::ngram::trie::{anonymous}::PartialViewProxy>�[m�[K’ has user-provided ‘�[01m�[Kutil::ProxyIterator<Proxy>::S& util::ProxyIterator<Proxy>::operator=(const S&) [with Proxy = lm::ngram::trie::{anonymous}::PartialViewProxy; util::ProxyIterator<Proxy>::S = util::ProxyIterator<lm::ngram::trie::{anonymous}::PartialViewProxy>]�[m�[K’
56 | S &�[01;36m�[Koperator�[m�[K=(const S &other) {
| �[01;36m�[K^~~~~~~~�[m�[K
/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm/util/proxy_iterator.hh: In instantiation of ‘�[01m�[Kutil::ProxyIterator<Proxy>::S util::ProxyIterator<Proxy>::operator-(std::ptrdiff_t) const [with Proxy = lm::ngram::trie::{anonymous}::PartialViewProxy; util::ProxyIterator<Proxy>::S = util::ProxyIterator<lm::ngram::trie::{anonymous}::PartialViewProxy>; std::ptrdiff_t = long int]�[m�[K’:
�[01m�[K/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/g++-v9/bits/stl_algo.h:1920:71:�[m�[K required from ‘�[01m�[K_RandomAccessIterator std::__unguarded_partition_pivot(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = util::ProxyIterator<lm::ngram::trie::{anonymous}::PartialViewProxy>; _Compare = __gnu_cxx::__ops::_Iter_comp_iter<util::SizedCompare<lm::ngram::trie::EntryCompare, lm::ngram::trie::{anonymous}::PartialViewProxy> >]�[m�[K’
�[01m�[K/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/g++-v9/bits/stl_algo.h:1952:38:�[m�[K required from ‘�[01m�[Kvoid std::__introsort_loop(_RandomAccessIterator, _RandomAccessIterator, _Size, _Compare) [with _RandomAccessIterator = util::ProxyIterator<lm::ngram::trie::{anonymous}::PartialViewProxy>; _Size = long int; _Compare = __gnu_cxx::__ops::_Iter_comp_iter<util::SizedCompare<lm::ngram::trie::EntryCompare, lm::ngram::trie::{anonymous}::PartialViewProxy> >]�[m�[K’
�[01m�[K/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/g++-v9/bits/stl_algo.h:1967:25:�[m�[K required from ‘�[01m�[Kvoid std::__sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = util::ProxyIterator<lm::ngram::trie::{anonymous}::PartialViewProxy>; _Compare = __gnu_cxx::__ops::_Iter_comp_iter<util::SizedCompare<lm::ngram::trie::EntryCompare, lm::ngram::trie::{anonymous}::PartialViewProxy> >]�[m�[K’
�[01m�[K/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/g++-v9/bits/stl_algo.h:4860:18:�[m�[K required from ‘�[01m�[Kvoid std::sort(_RAIter, _RAIter, _Compare) [with _RAIter = util::ProxyIterator<lm::ngram::trie::{anonymous}::PartialViewProxy>; _Compare = util::SizedCompare<lm::ngram::trie::EntryCompare, lm::ngram::trie::{anonymous}::PartialViewProxy>]�[m�[K’
�[01m�[K/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm/lm/trie_sort.cc:104:109:�[m�[K required from here
�[01m�[K/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm/util/proxy_iterator.hh:76:50:�[m�[K �[01;35m�[Kwarning: �[m�[Kimplicitly-declared ‘�[01m�[Kconstexpr util::ProxyIterator<lm::ngram::trie::{anonymous}::PartialViewProxy>::ProxyIterator(const util::ProxyIterator<lm::ngram::trie::{anonymous}::PartialViewProxy>&)�[m�[K’ is deprecated [�[01;35m�[K-Wdeprecated-copy�[m�[K]
76 | S operator-(std::ptrdiff_t amount) const { S �[01;35m�[Kret�[m�[K(*this); ret -= amount; return ret; }
| �[01;35m�[K^~~�[m�[K
�[01m�[K/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm/util/proxy_iterator.hh:56:8:�[m�[K �[01;36m�[Knote: �[m�[Kbecause ‘�[01m�[Kutil::ProxyIterator<lm::ngram::trie::{anonymous}::PartialViewProxy>�[m�[K’ has user-provided ‘�[01m�[Kutil::ProxyIterator<Proxy>::S& util::ProxyIterator<Proxy>::operator=(const S&) [with Proxy = lm::ngram::trie::{anonymous}::PartialViewProxy; util::ProxyIterator<Proxy>::S = util::ProxyIterator<lm::ngram::trie::{anonymous}::PartialViewProxy>]�[m�[K’
56 | S &�[01;36m�[Koperator�[m�[K=(const S &other) {
| �[01;36m�[K^~~~~~~~�[m�[K
�[01m�[K/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm/util/proxy_iterator.hh:76:84:�[m�[K �[01;35m�[Kwarning: �[m�[Kimplicitly-declared ‘�[01m�[Kconstexpr util::ProxyIterator<lm::ngram::trie::{anonymous}::PartialViewProxy>::ProxyIterator(const util::ProxyIterator<lm::ngram::trie::{anonymous}::PartialViewProxy>&)�[m�[K’ is deprecated [�[01;35m�[K-Wdeprecated-copy�[m�[K]
76 | trdiff_t amount) const { S ret(*this); ret -= amount; return �[01;35m�[Kret�[m�[K; }
| �[01;35m�[K^~~�[m�[K
�[01m�[K/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm/util/proxy_iterator.hh:56:8:�[m�[K �[01;36m�[Knote: �[m�[Kbecause ‘�[01m�[Kutil::ProxyIterator<lm::ngram::trie::{anonymous}::PartialViewProxy>�[m�[K’ has user-provided ‘�[01m�[Kutil::ProxyIterator<Proxy>::S& util::ProxyIterator<Proxy>::operator=(const S&) [with Proxy = lm::ngram::trie::{anonymous}::PartialViewProxy; util::ProxyIterator<Proxy>::S = util::ProxyIterator<lm::ngram::trie::{anonymous}::PartialViewProxy>]�[m�[K’
56 | S &�[01;36m�[Koperator�[m�[K=(const S &other) {
| �[01;36m�[K^~~~~~~~�[m�[K
/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm/util/proxy_iterator.hh: In instantiation of ‘�[01m�[KProxy util::ProxyIterator<Proxy>::operator*() [with Proxy = lm::ngram::trie::{anonymous}::PartialViewProxy]�[m�[K’:
�[01m�[K/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/g++-v9/bits/stl_algo.h:1849:11:�[m�[K required from ‘�[01m�[Kvoid std::__insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = util::ProxyIterator<lm::ngram::trie::{anonymous}::PartialViewProxy>; _Compare = __gnu_cxx::__ops::_Iter_comp_iter<util::SizedCompare<lm::ngram::trie::EntryCompare, lm::ngram::trie::{anonymous}::PartialViewProxy> >]�[m�[K’
�[01m�[K/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/g++-v9/bits/stl_algo.h:1884:25:�[m�[K required from ‘�[01m�[Kvoid std::__final_insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = util::ProxyIterator<lm::ngram::trie::{anonymous}::PartialViewProxy>; _Compare = __gnu_cxx::__ops::_Iter_comp_iter<util::SizedCompare<lm::ngram::trie::EntryCompare, lm::ngram::trie::{anonymous}::PartialViewProxy> >]�[m�[K’
�[01m�[K/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/g++-v9/bits/stl_algo.h:1970:31:�[m�[K required from ‘�[01m�[Kvoid std::__sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = util::ProxyIterator<lm::ngram::trie::{anonymous}::PartialViewProxy>; _Compare = __gnu_cxx::__ops::_Iter_comp_iter<util::SizedCompare<lm::ngram::trie::EntryCompare, lm::ngram::trie::{anonymous}::PartialViewProxy> >]�[m�[K’
�[01m�[K/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/g++-v9/bits/stl_algo.h:4860:18:�[m�[K required from ‘�[01m�[Kvoid std::sort(_RAIter, _RAIter, _Compare) [with _RAIter = util::ProxyIterator<lm::ngram::trie::{anonymous}::PartialViewProxy>; _Compare = util::SizedCompare<lm::ngram::trie::EntryCompare, lm::ngram::trie::{anonymous}::PartialViewProxy>]�[m�[K’
�[01m�[K/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm/lm/trie_sort.cc:104:109:�[m�[K required from here
�[01m�[K/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm/util/proxy_iterator.hh:80:32:�[m�[K �[01;35m�[Kwarning: �[m�[Kimplicitly-declared ‘�[01m�[Kconstexpr lm::ngram::trie::{anonymous}::PartialViewProxy::PartialViewProxy(const lm::ngram::trie::{anonymous}::PartialViewProxy&)�[m�[K’ is deprecated [�[01;35m�[K-Wdeprecated-copy�[m�[K]
80 | Proxy operator*() { return �[01;35m�[Kp_�[m�[K; }
| �[01;35m�[K^~�[m�[K
�[01m�[K/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm/lm/trie_sort.cc:42:23:�[m�[K �[01;36m�[Knote: �[m�[Kbecause ‘�[01m�[Klm::ngram::trie::{anonymous}::PartialViewProxy�[m�[K’ has user-provided ‘�[01m�[Klm::ngram::trie::{anonymous}::PartialViewProxy& lm::ngram::trie::{anonymous}::PartialViewProxy::operator=(const lm::ngram::trie::{anonymous}::PartialViewProxy&)�[m�[K’
42 | PartialViewProxy &�[01;36m�[Koperator�[m�[K=(const PartialViewProxy &from) {
| �[01;36m�[K^~~~~~~~�[m�[K
In file included from �[01m�[K/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm/lm/trie_sort.cc:12�[m�[K:
/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm/util/proxy_iterator.hh: In instantiation of ‘�[01m�[Kutil::ProxyIterator<Proxy>::S util::ProxyIterator<Proxy>::operator+(std::ptrdiff_t) const [with Proxy = util::SizedProxy; util::ProxyIterator<Proxy>::S = util::ProxyIterator<util::SizedProxy>; std::ptrdiff_t = long int]�[m�[K’:
�[01m�[K/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/g++-v9/bits/stl_algo.h:1884:43:�[m�[K required from ‘�[01m�[Kvoid std::__final_insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = util::ProxyIterator<util::SizedProxy>; _Compare = __gnu_cxx::__ops::_Iter_comp_iter<util::SizedCompare<lm::ngram::trie::EntryCompare, util::SizedProxy> >]�[m�[K’
�[01m�[K/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/g++-v9/bits/stl_algo.h:1970:31:�[m�[K required from ‘�[01m�[Kvoid std::__sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = util::ProxyIterator<util::SizedProxy>; _Compare = __gnu_cxx::__ops::_Iter_comp_iter<util::SizedCompare<lm::ngram::trie::EntryCompare, util::SizedProxy> >]�[m�[K’
�[01m�[K/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/g++-v9/bits/stl_algo.h:4860:18:�[m�[K required from ‘�[01m�[Kvoid std::sort(_RAIter, _RAIter, _Compare) [with _RAIter = util::ProxyIterator<util::SizedProxy>; _Compare = util::SizedCompare<lm::ngram::trie::EntryCompare, util::SizedProxy>]�[m�[K’
�[01m�[K/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm/util/sized_iterator.hh:202:11:�[m�[K required from ‘�[01m�[Kvoid util::SizedSort(void*, void*, std::size_t, const Compare&) [with Compare = lm::ngram::trie::EntryCompare; std::size_t = long unsigned int]�[m�[K’
�[01m�[K/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm/lm/trie_sort.cc:282:68:�[m�[K required from here
�[01m�[K/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm/util/proxy_iterator.hh:71:50:�[m�[K �[01;35m�[Kwarning: �[m�[Kimplicitly-declared ‘�[01m�[Kconstexpr util::ProxyIterator<util::SizedProxy>::ProxyIterator(const util::ProxyIterator<util::SizedProxy>&)�[m�[K’ is deprecated [�[01;35m�[K-Wdeprecated-copy�[m�[K]
71 | S operator+(std::ptrdiff_t amount) const { S �[01;35m�[Kret�[m�[K(*this); ret += amount; return ret; }
| �[01;35m�[K^~~�[m�[K
�[01m�[K/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm/util/proxy_iterator.hh:56:8:�[m�[K �[01;36m�[Knote: �[m�[Kbecause ‘�[01m�[Kutil::ProxyIterator<util::SizedProxy>�[m�[K’ has user-provided ‘�[01m�[Kutil::ProxyIterator<Proxy>::S& util::ProxyIterator<Proxy>::operator=(const S&) [with Proxy = util::SizedProxy; util::ProxyIterator<Proxy>::S = util::ProxyIterator<util::SizedProxy>]�[m�[K’
56 | S &�[01;36m�[Koperator�[m�[K=(const S &other) {
| �[01;36m�[K^~~~~~~~�[m�[K
�[01m�[K/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm/util/proxy_iterator.hh:71:84:�[m�[K �[01;35m�[Kwarning: �[m�[Kimplicitly-declared ‘�[01m�[Kconstexpr util::ProxyIterator<util::SizedProxy>::ProxyIterator(const util::ProxyIterator<util::SizedProxy>&)�[m�[K’ is deprecated [�[01;35m�[K-Wdeprecated-copy�[m�[K]
71 | trdiff_t amount) const { S ret(*this); ret += amount; return �[01;35m�[Kret�[m�[K; }
| �[01;35m�[K^~~�[m�[K
�[01m�[K/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm/util/proxy_iterator.hh:56:8:�[m�[K �[01;36m�[Knote: �[m�[Kbecause ‘�[01m�[Kutil::ProxyIterator<util::SizedProxy>�[m�[K’ has user-provided ‘�[01m�[Kutil::ProxyIterator<Proxy>::S& util::ProxyIterator<Proxy>::operator=(const S&) [with Proxy = util::SizedProxy; util::ProxyIterator<Proxy>::S = util::ProxyIterator<util::SizedProxy>]�[m�[K’
56 | S &�[01;36m�[Koperator�[m�[K=(const S &other) {
| �[01;36m�[K^~~~~~~~�[m�[K
/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm/util/proxy_iterator.hh: In instantiation of ‘�[01m�[Kutil::ProxyIterator<Proxy>::S util::ProxyIterator<Proxy>::operator-(std::ptrdiff_t) const [with Proxy = util::SizedProxy; util::ProxyIterator<Proxy>::S = util::ProxyIterator<util::SizedProxy>; std::ptrdiff_t = long int]�[m�[K’:
�[01m�[K/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/g++-v9/bits/stl_algo.h:1920:71:�[m�[K required from ‘�[01m�[K_RandomAccessIterator std::__unguarded_partition_pivot(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = util::ProxyIterator<util::SizedProxy>; _Compare = __gnu_cxx::__ops::_Iter_comp_iter<util::SizedCompare<lm::ngram::trie::EntryCompare, util::SizedProxy> >]�[m�[K’
�[01m�[K/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/g++-v9/bits/stl_algo.h:1952:38:�[m�[K required from ‘�[01m�[Kvoid std::__introsort_loop(_RandomAccessIterator, _RandomAccessIterator, _Size, _Compare) [with _RandomAccessIterator = util::ProxyIterator<util::SizedProxy>; _Size = long int; _Compare = __gnu_cxx::__ops::_Iter_comp_iter<util::SizedCompare<lm::ngram::trie::EntryCompare, util::SizedProxy> >]�[m�[K’
�[01m�[K/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/g++-v9/bits/stl_algo.h:1967:25:�[m�[K required from ‘�[01m�[Kvoid std::__sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = util::ProxyIterator<util::SizedProxy>; _Compare = __gnu_cxx::__ops::_Iter_comp_iter<util::SizedCompare<lm::ngram::trie::EntryCompare, util::SizedProxy> >]�[m�[K’
�[01m�[K/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/g++-v9/bits/stl_algo.h:4860:18:�[m�[K required from ‘�[01m�[Kvoid std::sort(_RAIter, _RAIter, _Compare) [with _RAIter = util::ProxyIterator<util::SizedProxy>; _Compare = util::SizedCompare<lm::ngram::trie::EntryCompare, util::SizedProxy>]�[m�[K’
�[01m�[K/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm/util/sized_iterator.hh:202:11:�[m�[K required from ‘�[01m�[Kvoid util::SizedSort(void*, void*, std::size_t, const Compare&) [with Compare = lm::ngram::trie::EntryCompare; std::size_t = long unsigned int]�[m�[K’
�[01m�[K/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm/lm/trie_sort.cc:282:68:�[m�[K required from here
�[01m�[K/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm/util/proxy_iterator.hh:76:50:�[m�[K �[01;35m�[Kwarning: �[m�[Kimplicitly-declared ‘�[01m�[Kconstexpr util::ProxyIterator<util::SizedProxy>::ProxyIterator(const util::ProxyIterator<util::SizedProxy>&)�[m�[K’ is deprecated [�[01;35m�[K-Wdeprecated-copy�[m�[K]
76 | S operator-(std::ptrdiff_t amount) const { S �[01;35m�[Kret�[m�[K(*this); ret -= amount; return ret; }
| �[01;35m�[K^~~�[m�[K
�[01m�[K/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm/util/proxy_iterator.hh:56:8:�[m�[K �[01;36m�[Knote: �[m�[Kbecause ‘�[01m�[Kutil::ProxyIterator<util::SizedProxy>�[m�[K’ has user-provided ‘�[01m�[Kutil::ProxyIterator<Proxy>::S& util::ProxyIterator<Proxy>::operator=(const S&) [with Proxy = util::SizedProxy; util::ProxyIterator<Proxy>::S = util::ProxyIterator<util::SizedProxy>]�[m�[K’
56 | S &�[01;36m�[Koperator�[m�[K=(const S &other) {
| �[01;36m�[K^~~~~~~~�[m�[K
�[01m�[K/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm/util/proxy_iterator.hh:76:84:�[m�[K �[01;35m�[Kwarning: �[m�[Kimplicitly-declared ‘�[01m�[Kconstexpr util::ProxyIterator<util::SizedProxy>::ProxyIterator(const util::ProxyIterator<util::SizedProxy>&)�[m�[K’ is deprecated [�[01;35m�[K-Wdeprecated-copy�[m�[K]
76 | trdiff_t amount) const { S ret(*this); ret -= amount; return �[01;35m�[Kret�[m�[K; }
| �[01;35m�[K^~~�[m�[K
�[01m�[K/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm/util/proxy_iterator.hh:56:8:�[m�[K �[01;36m�[Knote: �[m�[Kbecause ‘�[01m�[Kutil::ProxyIterator<util::SizedProxy>�[m�[K’ has user-provided ‘�[01m�[Kutil::ProxyIterator<Proxy>::S& util::ProxyIterator<Proxy>::operator=(const S&) [with Proxy = util::SizedProxy; util::ProxyIterator<Proxy>::S = util::ProxyIterator<util::SizedProxy>]�[m�[K’
56 | S &�[01;36m�[Koperator�[m�[K=(const S &other) {
| �[01;36m�[K^~~~~~~~�[m�[K
In file included from �[01m�[K/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm/lm/search_trie.cc:17�[m�[K:
/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm/util/proxy_iterator.hh: In instantiation of ‘�[01m�[Kutil::ProxyIterator<Proxy>::ProxyIterator(const Proxy&) [with Proxy = util::SizedProxy]�[m�[K’:
�[01m�[K/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm/util/sized_iterator.hh:202:12:�[m�[K required from ‘�[01m�[Kvoid util::SizedSort(void*, void*, std::size_t, const Compare&) [with Compare = lm::ngram::trie::EntryCompare; std::size_t = long unsigned int]�[m�[K’
�[01m�[K/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm/lm/search_trie.cc:157:131:�[m�[K required from here
�[01m�[K/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm/util/proxy_iterator.hh:48:50:�[m�[K �[01;35m�[Kwarning: �[m�[Kimplicitly-declared ‘�[01m�[Kconstexpr util::SizedProxy::SizedProxy(const util::SizedProxy&)�[m�[K’ is deprecated [�[01;35m�[K-Wdeprecated-copy�[m�[K]
48 | explicit ProxyIterator(const Proxy &p) : p_(p�[01;35m�[K)�[m�[K {}
| �[01;35m�[K^�[m�[K
In file included from �[01m�[K/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm/lm/search_trie.cc:19�[m�[K:
�[01m�[K/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm/util/sized_iterator.hh:90:17:�[m�[K �[01;36m�[Knote: �[m�[Kbecause ‘�[01m�[Kutil::SizedProxy�[m�[K’ has user-provided ‘�[01m�[Kutil::SizedProxy& util::SizedProxy::operator=(const util::SizedProxy&)�[m�[K’
90 | SizedProxy &�[01;36m�[Koperator�[m�[K=(const SizedProxy &from) {
| �[01;36m�[K^~~~~~~~�[m�[K
make[2]: *** [src/libime/core/CMakeFiles/kenlm.dir/build.make:180: src/libime/core/CMakeFiles/kenlm.dir/kenlm/lm/sizes.cc.o] Error 1
make[2]: *** [src/libime/core/CMakeFiles/kenlm.dir/build.make:206: src/libime/core/CMakeFiles/kenlm.dir/kenlm/lm/trie_sort.cc.o] Error 1
In file included from �[01m�[K/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm/lm/search_trie.cc:17�[m�[K:
/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm/util/proxy_iterator.hh: In instantiation of ‘�[01m�[Kutil::ProxyIterator<Proxy>::S util::ProxyIterator<Proxy>::operator+(std::ptrdiff_t) const [with Proxy = util::SizedProxy; util::ProxyIterator<Proxy>::S = util::ProxyIterator<util::SizedProxy>; std::ptrdiff_t = long int]�[m�[K’:
�[01m�[K/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/g++-v9/bits/stl_algo.h:1884:43:�[m�[K required from ‘�[01m�[Kvoid std::__final_insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = util::ProxyIterator<util::SizedProxy>; _Compare = __gnu_cxx::__ops::_Iter_comp_iter<util::SizedCompare<lm::ngram::trie::EntryCompare, util::SizedProxy> >]�[m�[K’
�[01m�[K/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/g++-v9/bits/stl_algo.h:1970:31:�[m�[K required from ‘�[01m�[Kvoid std::__sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = util::ProxyIterator<util::SizedProxy>; _Compare = __gnu_cxx::__ops::_Iter_comp_iter<util::SizedCompare<lm::ngram::trie::EntryCompare, util::SizedProxy> >]�[m�[K’
�[01m�[K/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/g++-v9/bits/stl_algo.h:4860:18:�[m�[K required from ‘�[01m�[Kvoid std::sort(_RAIter, _RAIter, _Compare) [with _RAIter = util::ProxyIterator<util::SizedProxy>; _Compare = util::SizedCompare<lm::ngram::trie::EntryCompare, util::SizedProxy>]�[m�[K’
�[01m�[K/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm/util/sized_iterator.hh:202:11:�[m�[K required from ‘�[01m�[Kvoid util::SizedSort(void*, void*, std::size_t, const Compare&) [with Compare = lm::ngram::trie::EntryCompare; std::size_t = long unsigned int]�[m�[K’
�[01m�[K/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm/lm/search_trie.cc:157:131:�[m�[K required from here
�[01m�[K/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm/util/proxy_iterator.hh:71:50:�[m�[K �[01;35m�[Kwarning: �[m�[Kimplicitly-declared ‘�[01m�[Kconstexpr util::ProxyIterator<util::SizedProxy>::ProxyIterator(const util::ProxyIterator<util::SizedProxy>&)�[m�[K’ is deprecated [�[01;35m�[K-Wdeprecated-copy�[m�[K]
71 | S operator+(std::ptrdiff_t amount) const { S �[01;35m�[Kret�[m�[K(*this); ret += amount; return ret; }
| �[01;35m�[K^~~�[m�[K
�[01m�[K/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm/util/proxy_iterator.hh:56:8:�[m�[K �[01;36m�[Knote: �[m�[Kbecause ‘�[01m�[Kutil::ProxyIterator<util::SizedProxy>�[m�[K’ has user-provided ‘�[01m�[Kutil::ProxyIterator<Proxy>::S& util::ProxyIterator<Proxy>::operator=(const S&) [with Proxy = util::SizedProxy; util::ProxyIterator<Proxy>::S = util::ProxyIterator<util::SizedProxy>]�[m�[K’
56 | S &�[01;36m�[Koperator�[m�[K=(const S &other) {
| �[01;36m�[K^~~~~~~~�[m�[K
�[01m�[K/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm/util/proxy_iterator.hh:71:84:�[m�[K �[01;35m�[Kwarning: �[m�[Kimplicitly-declared ‘�[01m�[Kconstexpr util::ProxyIterator<util::SizedProxy>::ProxyIterator(const util::ProxyIterator<util::SizedProxy>&)�[m�[K’ is deprecated [�[01;35m�[K-Wdeprecated-copy�[m�[K]
71 | trdiff_t amount) const { S ret(*this); ret += amount; return �[01;35m�[Kret�[m�[K; }
| �[01;35m�[K^~~�[m�[K
�[01m�[K/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm/util/proxy_iterator.hh:56:8:�[m�[K �[01;36m�[Knote: �[m�[Kbecause ‘�[01m�[Kutil::ProxyIterator<util::SizedProxy>�[m�[K’ has user-provided ‘�[01m�[Kutil::ProxyIterator<Proxy>::S& util::ProxyIterator<Proxy>::operator=(const S&) [with Proxy = util::SizedProxy; util::ProxyIterator<Proxy>::S = util::ProxyIterator<util::SizedProxy>]�[m�[K’
56 | S &�[01;36m�[Koperator�[m�[K=(const S &other) {
| �[01;36m�[K^~~~~~~~�[m�[K
/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm/util/proxy_iterator.hh: In instantiation of ‘�[01m�[Kutil::ProxyIterator<Proxy>::S util::ProxyIterator<Proxy>::operator-(std::ptrdiff_t) const [with Proxy = util::SizedProxy; util::ProxyIterator<Proxy>::S = util::ProxyIterator<util::SizedProxy>; std::ptrdiff_t = long int]�[m�[K’:
�[01m�[K/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/g++-v9/bits/stl_algo.h:1920:71:�[m�[K required from ‘�[01m�[K_RandomAccessIterator std::__unguarded_partition_pivot(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = util::ProxyIterator<util::SizedProxy>; _Compare = __gnu_cxx::__ops::_Iter_comp_iter<util::SizedCompare<lm::ngram::trie::EntryCompare, util::SizedProxy> >]�[m�[K’
�[01m�[K/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/g++-v9/bits/stl_algo.h:1952:38:�[m�[K required from ‘�[01m�[Kvoid std::__introsort_loop(_RandomAccessIterator, _RandomAccessIterator, _Size, _Compare) [with _RandomAccessIterator = util::ProxyIterator<util::SizedProxy>; _Size = long int; _Compare = __gnu_cxx::__ops::_Iter_comp_iter<util::SizedCompare<lm::ngram::trie::EntryCompare, util::SizedProxy> >]�[m�[K’
�[01m�[K/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/g++-v9/bits/stl_algo.h:1967:25:�[m�[K required from ‘�[01m�[Kvoid std::__sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = util::ProxyIterator<util::SizedProxy>; _Compare = __gnu_cxx::__ops::_Iter_comp_iter<util::SizedCompare<lm::ngram::trie::EntryCompare, util::SizedProxy> >]�[m�[K’
�[01m�[K/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/g++-v9/bits/stl_algo.h:4860:18:�[m�[K required from ‘�[01m�[Kvoid std::sort(_RAIter, _RAIter, _Compare) [with _RAIter = util::ProxyIterator<util::SizedProxy>; _Compare = util::SizedCompare<lm::ngram::trie::EntryCompare, util::SizedProxy>]�[m�[K’
�[01m�[K/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm/util/sized_iterator.hh:202:11:�[m�[K required from ‘�[01m�[Kvoid util::SizedSort(void*, void*, std::size_t, const Compare&) [with Compare = lm::ngram::trie::EntryCompare; std::size_t = long unsigned int]�[m�[K’
�[01m�[K/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm/lm/search_trie.cc:157:131:�[m�[K required from here
�[01m�[K/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm/util/proxy_iterator.hh:76:50:�[m�[K �[01;35m�[Kwarning: �[m�[Kimplicitly-declared ‘�[01m�[Kconstexpr util::ProxyIterator<util::SizedProxy>::ProxyIterator(const util::ProxyIterator<util::SizedProxy>&)�[m�[K’ is deprecated [�[01;35m�[K-Wdeprecated-copy�[m�[K]
76 | S operator-(std::ptrdiff_t amount) const { S �[01;35m�[Kret�[m�[K(*this); ret -= amount; return ret; }
| �[01;35m�[K^~~�[m�[K
�[01m�[K/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm/util/proxy_iterator.hh:56:8:�[m�[K �[01;36m�[Knote: �[m�[Kbecause ‘�[01m�[Kutil::ProxyIterator<util::SizedProxy>�[m�[K’ has user-provided ‘�[01m�[Kutil::ProxyIterator<Proxy>::S& util::ProxyIterator<Proxy>::operator=(const S&) [with Proxy = util::SizedProxy; util::ProxyIterator<Proxy>::S = util::ProxyIterator<util::SizedProxy>]�[m�[K’
56 | S &�[01;36m�[Koperator�[m�[K=(const S &other) {
| �[01;36m�[K^~~~~~~~�[m�[K
�[01m�[K/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm/util/proxy_iterator.hh:76:84:�[m�[K �[01;35m�[Kwarning: �[m�[Kimplicitly-declared ‘�[01m�[Kconstexpr util::ProxyIterator<util::SizedProxy>::ProxyIterator(const util::ProxyIterator<util::SizedProxy>&)�[m�[K’ is deprecated [�[01;35m�[K-Wdeprecated-copy�[m�[K]
76 | trdiff_t amount) const { S ret(*this); ret -= amount; return �[01;35m�[Kret�[m�[K; }
| �[01;35m�[K^~~�[m�[K
�[01m�[K/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826/src/libime/core/kenlm/util/proxy_iterator.hh:56:8:�[m�[K �[01;36m�[Knote: �[m�[Kbecause ‘�[01m�[Kutil::ProxyIterator<util::SizedProxy>�[m�[K’ has user-provided ‘�[01m�[Kutil::ProxyIterator<Proxy>::S& util::ProxyIterator<Proxy>::operator=(const S&) [with Proxy = util::SizedProxy; util::ProxyIterator<Proxy>::S = util::ProxyIterator<util::SizedProxy>]�[m�[K’
56 | S &�[01;36m�[Koperator�[m�[K=(const S &other) {
| �[01;36m�[K^~~~~~~~�[m�[K
make[2]: *** [src/libime/core/CMakeFiles/kenlm.dir/build.make:167: src/libime/core/CMakeFiles/kenlm.dir/kenlm/lm/search_trie.cc.o] Error 1
make[2]: Leaving directory '/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826_build'
make[1]: *** [CMakeFiles/Makefile2:782: src/libime/core/CMakeFiles/kenlm.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
cd /var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826_build/data && /usr/bin/cmake -E touch /var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826_build/data/.opengram-lm-extract.stamp
cd /var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826_build/data && /usr/bin/cmake -E touch_nocreate lm_sc.3gm.arpa
make[2]: Leaving directory '/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826_build'
[ 13%] Built target opengram-lm-extract
make[1]: Leaving directory '/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826_build'
make: *** [Makefile:141: all] Error 2
�[31;01m*�[0m ERROR: app-i18n/libime-20190826::gentoo-zh failed (compile phase):
�[31;01m*�[0m emake failed
�[31;01m*�[0m
�[31;01m*�[0m If you need support, post the output of `emerge --info '=app-i18n/libime-20190826::gentoo-zh'`,
�[31;01m*�[0m the complete build log and the output of `emerge -pqv '=app-i18n/libime-20190826::gentoo-zh'`.
�[31;01m*�[0m The complete build log is located at '/var/tmp/portage/app-i18n/libime-20190826/temp/build.log'.
�[31;01m*�[0m The ebuild environment file is located at '/var/tmp/portage/app-i18n/libime-20190826/temp/environment'.
�[31;01m*�[0m Working directory: '/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826_build'
�[31;01m*�[0m S: '/var/tmp/portage/app-i18n/libime-20190826/work/libime-20190826'
- Platform is Gentoo: 17.1
- boost:1.71.0
- python: 3.6.9
File CMakeLists.txt in data directory causes error: Target pattern contains no '%'
cmake version 3.24.1
It seems that all *::* like strings should be quoted, otherwise make throws error.
dev-libs/boost-1.77, testhistorybigram.cpp:15:36: error: ‘log10’ is not a member of ‘std’
Full log: https://dpaste.com/CH6XC2V45
No problem in dev-libs/boost-1.76
Add tool for migrating fcitx4 pinyin data.
模糊音设置中添加un和vn的转换
目前已有ue -> ve,望采纳
Idea: alternative candidate for Pinyin
Right now, emoji is a standalone dict. which is not so good in the sense of assigning probability.
By observing iOS's behavior, the emoji's order is associate with it's counterpart hanzi. For example:
🍑 is associated with 桃子, typing it would effectively increase the 桃子's score
对超级生僻字的支持
比如 𰻝𰻝面 biang biang mian 。这个输入法打不出来,而且词库也不允许导入
另一个问题是 libime_pingyindict 似乎不会对格式完全不正确的 txt 文件报错,而且还会生成词库文件?
比如全文没有换行符,或者是全文全部是换行符。这两种情况都可以生成dict文件,但是 dict 即使是显示已经加载了,实际上也没用
The enumeration value is too large
this part of the code need to be changed, I want to add a new item。
https://github.com/fcitx/libime/blob/master/src/libime/pinyin/pinyinencoder.h#L25
如何禁用「用户词典」与「自动造词」?
注意到 saveAutoPhraseAfter 与 setSaveAutoPhraseAfter 这两个参数会使码表自动造词,这对于码表固序的形码类用户非常麻烦,请问如何禁用它们?
[双拼] 韵母位优先识别为按键字母而非绑定的韵母
Pinyin parsing issue with "u".
After support correction "u" can be a valid start of pinyin. Right now the code has a short cut to skip "u" started pinyin. This affect input like "xianguao" ( xiang ' yao )
使用拼音输入法查词占用较多资源导致系统卡死
openSUSE Leap 15.2 boost error
Hi, libime 1.0.7 on openSUSE Leap 15.2 with boost 1.66 failed with this error
[ 42s] [ 33%] Building CXX object src/libime/core/CMakeFiles/IMECore.dir/decoder.cpp.o
[ 42s] cd /home/abuild/rpmbuild/BUILD/libime-1.0.7/build/src/libime/core && /usr/bin/c++ -DIMECore_EXPORTS -DKENLM_MAX_ORDER=3 -I/home/abuild/rpmbuild/BUILD/libime-1.0.7/build -I/home/abuild/rpmbuild/BUILD/libime-1.0.7/src/libime/core/../.. -I/home/abuild/rpmbuild/BUILD/libime-1.0.7/build/src/libime/core -I/home/abuild/rpmbuild/BUILD/libime-1.0.7/src/libime/core/kenlm -isystem /usr/include/Fcitx5/Utils -Wall -Wextra -fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -g -DNDEBUG -O2 -g -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++1z -o CMakeFiles/IMECore.dir/decoder.cpp.o -c /home/abuild/rpmbuild/BUILD/libime-1.0.7/src/libime/core/decoder.cpp
[ 42s] /home/abuild/rpmbuild/BUILD/libime-1.0.7/src/libime/core/decoder.cpp: In member function ‘bool libime::DecoderPrivate::buildLattice(const libime::Decoder*, libime::Lattice&, const std::unordered_set<const libime::SegmentGraphNode*>&, const State&, const libime::SegmentGraph&, size_t, void*) const’:
[ 42s] /home/abuild/rpmbuild/BUILD/libime-1.0.7/src/libime/core/decoder.cpp:130:50: error: no matching function for call to ‘boost::ptr_vectorlibime::LatticeNode::push_back(std::remove_reference<std::unique_ptrlibime::LatticeNode&>::type)’
[ 42s] latticeUnit.push_back(std::move(node));
[ 42s] ^
[ 42s] In file included from /usr/include/boost/ptr_container/ptr_list.hpp:19:0,
[ 42s] from /home/abuild/rpmbuild/BUILD/libime-1.0.7/src/libime/core/../../libime/core/segmentgraph.h:11,
[ 42s] from /home/abuild/rpmbuild/BUILD/libime-1.0.7/src/libime/core/../../libime/core/lattice.h:16,
[ 42s] from /home/abuild/rpmbuild/BUILD/libime-1.0.7/src/libime/core/../../libime/core/dictionary.h:9,
[ 42s] from /home/abuild/rpmbuild/BUILD/libime-1.0.7/src/libime/core/decoder.h:12,
[ 42s] from /home/abuild/rpmbuild/BUILD/libime-1.0.7/src/libime/core/decoder.cpp:7:
[ 42s] /usr/include/boost/ptr_container/ptr_sequence_adapter.hpp:244:14: note: candidate: void boost::ptr_sequence_adapter<T, VoidPtrSeq, CloneAllocator>::push_back(boost::ptr_sequence_adapter<T, VoidPtrSeq, CloneAllocator>::value_type) [with T = libime::LatticeNode; VoidPtrSeq = std::vector<void*, std::allocator<void*> >; CloneAllocator = boost::heap_clone_allocator; boost::ptr_sequence_adapter<T, VoidPtrSeq, CloneAllocator>::value_type = libime::LatticeNode*]
[ 42s] void push_back( value_type x ) // strong
[ 42s] ^~~~~~~~~
[ 42s] /usr/include/boost/ptr_container/ptr_sequence_adapter.hpp:244:14: note: no known conversion for argument 1 from ‘std::remove_reference<std::unique_ptrlibime::LatticeNode&>::type {aka std::unique_ptrlibime::LatticeNode}’ to ‘boost::ptr_sequence_adapter<libime::LatticeNode, std::vector<void*, std::allocator<void*> >, boost::heap_clone_allocator>::value_type {aka libime::LatticeNode*}’
[ 42s] /usr/include/boost/ptr_container/ptr_sequence_adapter.hpp:253:14: note: candidate: template void boost::ptr_sequence_adapter<T, VoidPtrSeq, CloneAllocator>::push_back(std::auto_ptr<_Up>) [with U = U; T = libime::LatticeNode; VoidPtrSeq = std::vector<void*, std::allocator<void*> >; CloneAllocator = boost::heap_clone_allocator]
[ 42s] void push_back( std::auto_ptr x )
[ 42s] ^~~~~~~~~
[ 42s] /usr/include/boost/ptr_container/ptr_sequence_adapter.hpp:253:14: note: template argument deduction/substitution failed:
[ 42s] /home/abuild/rpmbuild/BUILD/libime-1.0.7/src/libime/core/decoder.cpp:130:50: note: ‘std::unique_ptrlibime::LatticeNode’ is not derived from ‘std::auto_ptr<_Up>’
[ 42s] latticeUnit.push_back(std::move(node));
[ 42s] ^
[ 42s] make[2]: *** [src/libime/core/CMakeFiles/IMECore.dir/build.make:96: src/libime/core/CMakeFiles/IMECore.dir/decoder.cpp.o] Error 1
[ 42s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/libime-1.0.7/build'
码表里是否应该删去一些兼容区的字,以及日本简化字(还混进了乱码)
关于码表疑问
开始问之前:
-
平常使用的码表似乎仅在repo https://github.com/fcitx/fcitx-table-data 里,而这个repo已经archive了
-
根据之前这个PR的处理(https://gitlab.com/fcitx/fcitx-table-extra/-/merge_requests/9 )我当时想将
wubi-large.txt
里兼容区字符搜(FA8E)
换成统一区的搜(641C)
。当时的维护者添加了漏掉了的统一区字符,不删除兼容区的,同时保留两者。- 五笔字型
wbx.txt
in fcitx-table-data - 五笔大字集
wubi-large.txt
in fcitx5-table-extra - 五笔98 in fcitx5-table-extra
那么,我的理解:五笔码表3种,只有
wbx.txt
是给普通的五笔86用户日常所用的 - 五笔字型
现在,码表里发现,https://github.com/fcitx/fcitx-table-data/blob/master/wbx.txt 中有以下兼容区字符:
兼容字符 -> 所对应的统一字符
郎 63788 F92C -> U+90CE (yveb 郎,与统一区字yvcb码不同), U+90DE
凉 63865 F979 -> U+51C9 (以下几个,左右五笔码相同)
秊 63893 F995 -> U+79CA
裏 63975 F9E7 -> U+88CF
隣 63985 F9F1 -> U+96A3
兀 64012 FA0C -> U+5140
嗀 64013 FA0D -> U+55C0
礼 64024 FA18
蘒 64032 FA20
我认为是否应删除?
或许至少应该删除前7个有对应Unihan kCompatibilityVariant
的(即,Unicode认为这些汉字兼容字符不应使用,人们应该使用其所对应的统一汉字字符)
删除的理由还有:
- 那7个兼容字符对应的统一区字符已在wbx.txt中有了,无必要另有兼容区字符
- 凡是有这些兼容字符的,都仅是单字,并不成词语。而对应的统一区字符成词语
- 简单比较了一下前7个兼容字符与所对应的统一字符外观,可以说无区别
- 拼音码表 https://github.com/fcitx/fcitx/blob/289b2f674d95651d4e0d0c77a48e3a2f0da40efe/src/im/pinyin/data/gbkpy.org 里无这些兼容区字符
- 遍历搜索了
fcitx5-table-extra/
的文件(搜索词为郎|凉|秊|裏|隣|兀|嗀|礼|蘒|
),许多IM也没有这些字符
附:wbx.txt里那些兼容区字符所在:
3865:atnv 蘒
3913:attg 蘒
3920:attx 蘒
6248:boqh 隣
18261:finn 礼
19596:fpgc 嗀
25565:gqv 兀
77059:ttfj 秊
83137:uyiy 凉
96185:yjfe 裏
98898:yveb 郎
另外这还有一个乱码 � 65533 FFFD
88857:wqfn 低�
双拼输入法 a ai ao
自然码双拼: 当输入a
时, 候选词只有啊发音的词. 按道理应该可以匹配拼音 a
ai
ao
这些词才对.
啊: 双拼 aa
爱: 双拼 ai
熬: 双拼 ao
test SIGSEGV on i386
Only failed on i386.
9 - testdecoder (SEGFAULT)
10 - testpinyincontext (Child aborted)
11 - testpinyindictionary (SEGFAULT)
For testdecoder, the backtrace is
(gdb) r
Starting program: /build/libime-Mbrauo/libime/build/test/testdecoder
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
Program received signal SIGSEGV, Segmentation fault.
0xf7d3aff1 in libime::DATriePrivate<float, true, 1>::suffix(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, unsigned int, libime::DATriePrivate<float, true, 1>::npos_t) const () from /build/libime-Mbrauo/libime/build/src/libime/core/libIMECore.so.0
(gdb) bt
#0 0xf7d3aff1 in libime::DATriePrivate<float, true, 1>::suffix(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, unsigned int, libime::DATriePrivate<float, true, 1>::npos_t) const () from /build/libime-Mbrauo/libime/build/src/libime/core/libIMECore.so.0
#1 0xf7d370ff in libime::DATrie<float>::suffix(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, unsigned int, unsigned long long) const ()
from /build/libime-Mbrauo/libime/build/src/libime/core/libIMECore.so.0
#2 0xf7f2458a in libime::matchWordsOnTrie<libime::PinyinDictionaryPrivate::matchWordsForOnePath(libime::PinyinMatchContext const&, libime::MatchedPinyinPath const&) const::{lambda(std::basic_string_view<char, std::char_traits<char> >, std::basic_string_view<char, std::char_traits<char> >, float)#2}>(libime::MatchedPinyinPath const&, libime::PinyinDictionaryPrivate::matchWordsForOnePath(libime::PinyinMatchContext const&, libime::MatchedPinyinPath const&) const::{lambda(std::basic_string_view<char, std::char_traits<char> >, std::basic_string_view<char, std::char_traits<char> >, float)#2} const&)::{lambda(float, unsigned int, unsigned long long)#1}::operator()(float, unsigned int, unsigned long long) const ()
from /build/libime-Mbrauo/libime/build/src/libime/pinyin/libIMEPinyin.so.0
#3 0xf7f24f76 in std::_Function_handler<bool (float, unsigned int, unsigned long long), libime::matchWordsOnTrie<libime::PinyinDictionaryPrivate::matchWordsForOnePath(libime::PinyinMatchContext const&, libime::MatchedPinyinPath const&) const::{lambda(std::basic_string_view<char, std::char_traits<char> >, std::basic_string_view<char, std::char_traits<char> >, float)#2}>(libime::MatchedPinyinPath const&, libime::PinyinDictionaryPrivate::matchWordsForOnePath(libime::PinyinMatchContext const&, libime::MatchedPinyinPath const&) const::{lambda(std::basic_string_view<char, std::char_traits<char> >, std::basic_string_view<char, std::char_traits<char> >, float)#2} const&)::{lambda(float, unsigned int, unsigned long long)#1}>::_M_invoke(std::_Any_data const&, float&&, unsigned int&&, unsigned long long&&) () from /build/libime-Mbrauo/libime/build/src/libime/pinyin/libIMEPinyin.so.0
#4 0xf7d41ec2 in std::function<bool (float, unsigned int, unsigned long long)>::operator()(float, unsigned int, unsigned long long) const ()
from /build/libime-Mbrauo/libime/build/src/libime/core/libIMECore.so.0
#5 0xf7d3bac6 in libime::DATriePrivate<float, true, 1>::foreach(std::function<bool (float, unsigned int, unsigned long long)>, libime::DATriePrivate<float, true, 1>::npos_t) const ()
from /build/libime-Mbrauo/libime/build/src/libime/core/libIMECore.so.0
#6 0xf7d376a1 in libime::DATrie<float>::foreach(std::function<bool (float, unsigned int, unsigned long long)>, unsigned long long) const ()
from /build/libime-Mbrauo/libime/build/src/libime/core/libIMECore.so.0
#7 0xf7f247be in void libime::matchWordsOnTrie<libime::PinyinDictionaryPrivate::matchWordsForOnePath(libime::PinyinMatchContext const&, libime::MatchedPinyinPath const&) const::{lambda(std::basic_string_view<char, std::char_traits<char> >, std::basic_string_view<char, std::char_traits<char> >, float)#2}>(libime::MatchedPinyinPath const&, libime::PinyinDictionaryPrivate::matchWordsForOnePath(libime::PinyinMatchContext const&, libime::MatchedPinyinPath const&) const::{lambda(std::basic_string_view<char, std::char_traits<char> >, std::basic_string_view<char, std::char_traits<char> >, float)#2} const&) () from /build/libime-Mbrauo/libime/build/src/libime/pinyin/libIMEPinyin.so.0
#8 0xf7f21bd8 in libime::PinyinDictionaryPrivate::matchWordsForOnePath(libime::PinyinMatchContext const&, libime::MatchedPinyinPath const&) const ()
from /build/libime-Mbrauo/libime/build/src/libime/pinyin/libIMEPinyin.so.0
#9 0xf7f21cb2 in libime::PinyinDictionaryPrivate::matchWords(libime::PinyinMatchContext const&, std::vector<libime::MatchedPinyinPath, std::allocator<libime::MatchedPinyinPath> > const&) const () from /build/libime-Mbrauo/libime/build/src/libime/pinyin/libIMEPinyin.so.0
#10 0xf7f224a3 in libime::PinyinDictionaryPrivate::findMatchesBetween(libime::PinyinMatchContext const&, libime::SegmentGraphNode const&, libime::SegmentGraphNode const&, std::vector<libime::MatchedPinyinPath, std::allocator<libime::MatchedPinyinPath> >&) const () from /build/libime-Mbrauo/libime/build/src/libime/pinyin/libIMEPinyin.so.0
#11 0xf7f228d4 in libime::PinyinDictionaryPrivate::matchNode(libime::PinyinMatchContext const&, libime::SegmentGraphNode const&) const ()
from /build/libime-Mbrauo/libime/build/src/libime/pinyin/libIMEPinyin.so.0
#12 0xf7f22b58 in libime::PinyinDictionary::matchPrefixImpl(libime::SegmentGraph const&, std::function<void (std::vector<libime::SegmentGraphNode const*, std::allocator<libime::SegmentGraphNode const*> > const&, libime::WordNode&, float, std::unique_ptr<libime::LatticeNodeData, std::default_delete<libime::LatticeNodeData> >)> const&, std::unordered_set<libime::SegmentGraphNode const*, std::hash<libime::SegmentGraphNode const*>, std::equal_to<libime::SegmentGraphNode const*>, std::allocator<libime::SegmentGraphNode const*> > const&, void*) const ()
from /build/libime-Mbrauo/libime/build/src/libime/pinyin/libIMEPinyin.so.0
#13 0xf7d59c3f in libime::Dictionary::matchPrefix(libime::SegmentGraph const&, std::function<void (std::vector<libime::SegmentGraphNode const*, std::allocator<libime::SegmentGraphNode const*> > const&, libime::WordNode&, float, std::unique_ptr<libime::LatticeNodeData, std::default_delete<libime::LatticeNodeData> >)> const&, std::unordered_set<libime::SegmentGraphNode const*, std::hash<libime::SegmentGraphNode const*>, std::equal_to<libime::SegmentGraphNode const*>, std::allocator<libime::SegmentGraphNode const*> > const&, void*) const ()
from /build/libime-Mbrauo/libime/build/src/libime/core/libIMECore.so.0
#14 0xf7d55698 in libime::DecoderPrivate::buildLattice(libime::Decoder const*, libime::Lattice&, std::unordered_set<libime::SegmentGraphNode const*, std::hash<libime::SegmentGraphNode const*>, std::equal_to<libime::SegmentGraphNode const*>, std::allocator<libime::SegmentGraphNode const*> > const&, std::array<char, 24u> const&, libime::SegmentGraph const&, unsigned int, void*) const () from /build/libime-Mbrauo/libime/build/src/libime/core/libIMECore.so.0
#15 0xf7d56b73 in libime::Decoder::decode(libime::Lattice&, libime::SegmentGraph const&, unsigned int, std::array<char, 24u> const&, float, float, unsigned int, unsigned int, void*) const
() from /build/libime-Mbrauo/libime/build/src/libime/core/libIMECore.so.0
#16 0x5655e6bd in testTime(libime::PinyinDictionary&, libime::Decoder&, char const*, fcitx::Flags<libime::PinyinFuzzyFlag>, int) ()
#17 0x5655ea2c in main ()
(gdb)
导入用户词典允许跳过错误或者支持不完整拼音
之前有使用ibus的libpinyin,其导出的用户词典存在类似 包含 bao'h 5
、 命运石之门 ming'yun'shi'zhi'm 84
这样不完整拼音形式的行,导入fcitx会报错。手动删除这些行不太现实,工作量太大。能否增加支持导入不完整拼音的功能?如果不行的话希望可以增加跳过错误行的逻辑。
码表输入法 多音字组词错误
安装使用fcit-table-ziranma,添加词组的时候,例如:
输入"vslb",重楼(对应全拼zhonglou),码表会记录为"islb"(对应全拼chonglou)。
最终记录下来的也是islb,而不是vslb。
支持根据音节自定义双拼
尝试在 Fcitx5 中实现 C双拼 https://blog.csdn.net/dsscicin/article/details/80691080 ,发现似乎做不了。
C双拼中同一个音节可能会有多个不同的打法,其中文章里最后的“十一、附录一:双拼映射表”是推荐的打法,目的是尽可能的提高双手左右互击。
根据这个表格用 rime 可以实现 https://github.com/azuwis/.config_fcitx_rime/blob/master/double_pinyin_c.schema.yaml
请问 Fcitx5 是否可以做到类似的实现?
作为参考,下面是 C双拼在手心输入法中的配置,除了声母和韵母的影射外,还有一部分配置是根据音节来做影射的:
[Info]
name=C
version=2
[ShengMu]
q=q
w=w
r=r
t=t
y=y
ch=u|;
sh=i
p=p
s=s
d=d
f=f
g=g
h=h
j=j
k=k
l=l
z=z
x=x
c=c
zh=o|v
b=b
n=n
m=m
[YunMu]
iu=q
ian=w
e=e
uan=r
in=t
ua=a|m
ie=y
u=u
i=i
o=o
ou=o
uo=p|b
a=a
ia=l
ong=l
ei=s
eng=d
ing=f
ang=g
iang=g
ai=h
ao=j
iao=j
en=k
iong=l
ue=;
uang=z
uai=x
un=c
ui=;
v=v
an=n
[YinJie]
e=ee|e;
er=er
ei=ei
eng=eg
en=en
ou=ou
o=oh|o;
ai=ai
ao=ao
a=ah|a;
ang=ag
an=an
shi=is|ih
shen=ak|it
zhen=ot
chen=ut
hen=hd
ken=kd
zhong=os
chong=us
kong=ks
jiong=js
de=dk
ce=cy
se=sy
re=ry
ze=zy
te=ty
ge=gi
li=ld
ji=jd
yi=ei
ni=nz
mi=mz
pi=pe
zhi=oh
biao=bb
niao=nb
nao=nb
miao=mb
mao=mb
diao=db
ting=tp
bing=bp
ying=ep
qing=qp
xing=xp
yin=ek
xin=xk
bin=bk
yu=eu
yao=ej
chao=ub
yong=el
chu=uf
shu=if
zhu=of
ku=kf
hu=hf
guang=gf
wei=wi
fei=fi
xiang=xh
qiang=qh
bang=bm
yang=eg
fang=fh
tang=tm
rang=rh
tian=tk
bian=bl
qian=qn
xian=xn
fa=fj|f;
wa=wj|w;
za=zm
zuan=zm
xuan=xm
suan=sm
duan=dm
guan=gm
quan=qm
yuan=em
tuan=tm
zhuan=vm
mo=mq|mc
po=pb|pc|pq
chou=uq
zhou=oq
shou=iq
lou=lq
kou=kq
mou=mq
hou=hq
you=eo|yq
hua=ha|ht
kua=ka|kt
shua=it
zhua=ot
gua=ga
guai=gh
han=hw
kan=kw
yan=yw
chan=uw
shan=iw
zhan=ow
jia=ja
pia=pa
dia=dx|dl
jie=je
mie=me
nie=ne
lie=lz
pie=pz
mu=mv
lu=lv
nu=nv
dui=d;
tui=t;
rui=r;|rv
sui=s;|sv
cui=c;|cv
gui=g;
zui=z;|zv
hui=hv
chui=uv
shui=iv
zhui=ov
kui=kv
qiu=qo
xiu=xo
lue=lb
yue=yb|e;
jue=jb
men=md
er=eh
nai=nx
mai=mx
chai=ux
shai=ix
zhai=ox
pai=px
lai=lx
bei=b;
tun=t;
run=r;
qun=q;
zun=z;
xun=x;
cun=c;
gun=g;
sun=s;
dun=d;
zeng=zk
ceng=ck
deng=dv
leng=lk
geng=gk
yan=en
testpinyindictionary segfault with boost 1.81.0
The segfault caused by nullptr-dereference in line 381
libime/src/libime/pinyin/pinyindictionary.cpp
Lines 376 to 381 in e199ce4
libime finds the path by Compatible{Key,Hash,Predicate}
:
libime/src/libime/core/lrucache.h
Lines 75 to 80 in e199ce4
but the
insert
check by key_type
:libime/src/libime/core/lrucache.h
Lines 43 to 44 in e199ce4
Idea: Search multiple pre-edits for Pinyin
Search multiple pre-edits at the same time, and arrange all candidate words in order of scoring.
TscanCode
使用双拼并开启“在预编辑中显示完整拼音”后“lo”没有变成“luo”
同题
发“lo”的只有“咯”一个字
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.