扫描版的 PDF 都是图片,在里面查找内容是不可能的。所以「在扫描版 PDF 文档中查找内容」这个问题可以拆解为两部分:一是识别 PDF 中的文字,二是搜索里面的内容。 安装软件 开始教程之前,先安装好需要的软件: 1 2 3 4 5 6 7
在 RStudio 中使用 Fcitx5(Kubuntu 20.10)
2022 年 7 月 16 日更新:Electron 版的 RStudio 可以正常使用 Fcitx5 了,位置也正常。 在 Kubuntu 20.10 使用 RStudio 的时候,发现它不支持 Fcitx。参考 RStudio 官方的方法,成功在 RStudio 里面用上了 Fcitx 5。里面部分内容已经过时,应该用下面这个命令才对
在 Ubuntu 编译 GoldenDict
本文测试于 Ubuntu 21.04。 安装依赖 1 2 3 4 5 6 7 8 sudo apt-get update sudo apt-get install git pkg-config build-essential qt5-qmake \ libvorbis-dev zlib1g-dev libhunspell-dev x11proto-record-dev \ qtdeclarative5-dev libxtst-dev liblzo2-dev libbz2-dev \ libao-dev libavutil-dev libavformat-dev libtiff5-dev libeb16-dev \ libqt5webkit5-dev libqt5svg5-dev libqt5x11extras5-dev qttools5-dev \ qttools5-dev-tools qtmultimedia5-dev libqt5multimedia5-plugins \ libopencc-dev liblzma-dev libzstd-dev 编译 1 2 3 4 5 6 7 8 9 10 11 12 # 卸载源里面的 GoldenDict sudo apt remove goldendict # 克隆源代码 git clone https://github.com/goldendict/goldendict.git # 编