不是网络问题wwW等别的it wouldn t be righttbe还都是正常it wouldn t be righttbecom的

&p&后后后记:&/p&&p&我很反感抄袭的行为,谢绝任何形式的转载。&/p&&p&后后记:&br&&/p&&p&更新了部分丑陋的代码。&/p&&p&后记:&/p&&p&本文纯属娱乐,贴代码是方便大家自己去玩一下。&/p&&p&当初我也是某个周日无事,花了半天把这东西搞出来,让内行见笑那是自然的,不懂的看个热闹就好,也不用觉得神奇,这里用的大部分是一些经典的机器学习算法,前沿什么的基本上不沾边。&/p&&p&是的,的确没啥价值,大家娱乐一下就好嘛,那么较真就不好玩了。&/p&&p&本丹师忙着炼丹,就不一一回复了。谢谢观看,祝好!&/p&&p&&br&&/p&&p&&br&&/p&&p&金庸老爷子一共写了15部武侠小说,它们分别是:&br&&/p&&ul&&li&《飞狐外传》(1960年)&/li&&li&《雪山飞狐》(1959年)&/li&&li&《连城诀》(1963年)&/li&&li&《天龙八部》(1963年)&/li&&li&《射雕英雄传》(1957年)&/li&&li&《白马啸西风》(1961年)&/li&&li&《鹿鼎记》(1969年)&/li&&li&《笑傲江湖》(1967年)&/li&&li&《书剑恩仇录》(1955年)&/li&&li&《神雕侠侣》(1959年)&/li&&li&《侠客行》(1965年)&/li&&li&《倚天屠龙记》(1961年)&/li&&li&《碧血剑》(1956年)&/li&&li&《鸳鸯刀》(1961年)&/li&&li&《越女剑》(1970年)&/li&&/ul&&p&我们现在就用 Python 来探索一下金庸小说中的武侠世界吧。&/p&&p&在处理小说之前,我们需要先做一些准备工作。&/p&&p&因为涉及中文字符,所以我们使用 __future__ 中 Python 3 的特性,将所有的字符串转为 unicode。&/p&&div class=&highlight&&&pre&&code class=&language-text&&&span&&/span&from __future__ import unicode_literals
&/code&&/pre&&/div&&p&再来我们解决图像里中文字符显示的问题,Matplotlib虽然支持 unicode 编码,但是直接输出中文字体会出现问题。&/p&&p&&br&&/p&&div class=&highlight&&&pre&&code class=&language-text&&&span&&/span&import numpy as np
import scipy as sp
import matplotlib.pyplot as plt
%matplotlib inline
x = range(10)
plt.plot(x)
plt.title(&中文&)
plt.show()
&/code&&/pre&&/div&&p&&br&&/p&&figure&&img src=&https://pic2.zhimg.com/a6c4b6772c2bcc7a3cf5b204a8234a31_b.jpg& data-caption=&& data-size=&normal& data-rawwidth=&362& data-rawheight=&266& class=&content_image& width=&362&&&/figure&&p&&br&&/p&&p&&br&&/p&&p&出现上图的原因是它找不到合适的中文字体去显示中文,为此,我们可以去寻找一些支持中文的字体来进行设置。&/p&&p&Windows 7 及以上的系统中,字体位置为 C:/Windows/Fonts,例如:&/p&&ul&&li&宋体:C:/Windows/Fonts/simsun.ttc&/li&&/ul&&p&Linux 系统可以通过 fc-list 命令查看已有的字体和相应的位置,例如:&/p&&ul&&li&/usr/share/fonts/truetype/osx-font-family/Songti.ttc: Songti TC,宋體\-繁,宋体\-繁:style=Bold,粗體,粗体&/li&&li&/usr/share/fonts/truetype/osx-font-family/Devanagari Sangam MN.ttc: Devanagari Sangam MN,???????? ???? ??????:style=Bold,粗體,Fed,Fett,Puolilihava,Gras,Grassetto,ボールド,???,Vet,Fet,Negrito,Жирный,?????,粗体,Negrita&/li&&li&/usr/share/fonts/truetype/osx-font-family/Iowan Old Style.ttc: Iowan Old Style,Iowan Old Style Black:style=Black Italic,Italic&/li&&/ul&&p&也可以从网上直接下载字体&/p&&ul&&li&比如 Yahei Consolas 的字体 YaHei.Consolas.1.11b.ttf。&/li&&/ul&&p&找到了字体的位置,我们可以使用 matplotlib.font_manager 中的 FontProperties 导入字体:&/p&&div class=&highlight&&&pre&&code class=&language-text&&&span&&/span&font_xxx = FontProperties(fname=&/usr/share/fonts/truetype/osx-font-family/Songti.ttc&)
font_xxx = FontProperties(fname=&C://Windows//Fonts//simsun.ttc&)
&/code&&/pre&&/div&&p&为了方便,我们不使用字体的绝对路径导入,而是将需要的字体放在程序对应的文件夹下:&/p&&ul&&li&YaHei.Consolas.1.11b.ttf&/li&&/ul&&p&&br&&/p&&div class=&highlight&&&pre&&code class=&language-text&&&span&&/span&from matplotlib.font_manager import FontProperties
font_yahei_consolas = FontProperties(fname=&YaHei.Consolas.1.11b.ttf&)
&/code&&/pre&&/div&&p&&br&&/p&&p&在绘图的时候进行设置:&/p&&p&&br&&/p&&div class=&highlight&&&pre&&code class=&language-text&&&span&&/span&x = range(10)
plt.plot(x)
plt.title(&中文&,
fontproperties=font_yahei_consolas,
fontsize=14)
plt.show()
&/code&&/pre&&/div&&p&&br&&/p&&figure&&img src=&https://pic1.zhimg.com/a9f61cf1e3ea9bfced82fa_b.jpg& data-caption=&& data-size=&normal& data-rawwidth=&362& data-rawheight=&267& class=&content_image& width=&362&&&/figure&&p&&br&&/p&&p&我们从网上找到金庸小说的 txt 全文,放在 novels 文件夹中:&/p&&p&&br&&/p&&div class=&highlight&&&pre&&code class=&language-text&&&span&&/span&!ls novels
书剑恩仇录.txt 天龙八部.txt 碧血剑.txt
越女剑.txt
飞狐外传.txt
侠客行.txt 射雕英雄传.txt 神雕侠侣.txt
连城诀.txt
鸳鸯刀.txt
倚天屠龙记.txt 白马啸西风.txt 笑傲江湖.txt
雪山飞狐.txt
鹿鼎记.txt
&/code&&/pre&&/div&&p&接着,我们先找到金庸小说中所有出场的人物,放到 names.txt 文件中,其格式为:&/p&&div class=&highlight&&&pre&&code class=&language-text&&&span&&/span&小说1
人物1 人物2 ……
人物1 人物2 ……
人物1 人物2 ……
&/code&&/pre&&/div&&p&除此之外,另外有两个文本记录出场的门派(bangs.txt)和武功(kongfu.txt),用回车隔开。&br&&/p&&p&&br&&/p&&p&&br&&/p&&div class=&highlight&&&pre&&code class=&language-text&&&span&&/span&import codecs
with codecs.open('names.txt', encoding=&utf8&) as f:
# 去掉结尾的换行符
data = [line.strip() for line in f]
novels = data[::2]
names = data[1::2]
novel_names = {k: v.split() for k, v in zip(novels, names)}
for name in novel_names['天龙八部'][:20]:
print name
&/code&&/pre&&/div&&p&我们来看看人物在小说中的出场次数统计。&/p&&p&显然出场次数越多,自然主角光环越强,我们定义一个函数寻找小说中主角光环最强的几个人:&/p&&p&&br&&/p&&div class=&highlight&&&pre&&code class=&language-text&&&span&&/span&def find_main_charecters(novel, num=10):
with codecs.open('novels/{}.txt'.format(novel), encoding=&utf8&) as f:
data = f.read()
chars = novel_names[novel]
count = map(lambda x: data.count(x), chars)
idx = count.argsort()
plt.barh(range(num), count[idx[-num:]], color='red', align='center')
plt.title(novel,
fontsize=14,
fontproperties=font_yahei_consolas)
plt.yticks(range(num), chars[idx[-num:]],
fontsize=14,
fontproperties=font_yahei_consolas)
&/code&&/pre&&/div&&p&&br&&/p&&p&天龙八部:&/p&&p&&br&&/p&&div class=&highlight&&&pre&&code class=&language-text&&&span&&/span&find_main_charecters(&天龙八部&)
&/code&&/pre&&/div&&figure&&img src=&https://pic4.zhimg.com/170d5f78b8ff44377e73fda3_b.jpg& data-caption=&& data-size=&normal& data-rawwidth=&407& data-rawheight=&268& class=&content_image& width=&407&&&/figure&&p&&br&&/p&&p&显然,就《天龙八部》来说,萧(乔)峰,段誉,虚竹这三兄弟的主角光环最强。&/p&&p&再看射雕三部曲:&/p&&div class=&highlight&&&pre&&code class=&language-text&&&span&&/span&find_main_charecters(&射雕英雄传&)
find_main_charecters(&神雕侠侣&)
find_main_charecters(&倚天屠龙记&)
&/code&&/pre&&/div&&figure&&img src=&https://pic2.zhimg.com/fe0dc19a1132afe8de9b1_b.jpg& data-caption=&& data-size=&normal& data-rawwidth=&407& data-rawheight=&268& class=&content_image& width=&407&&&/figure&&figure&&img src=&https://pic4.zhimg.com/dce530e540451ecde356d5b_b.jpg& data-caption=&& data-size=&normal& data-rawwidth=&407& data-rawheight=&267& class=&content_image& width=&407&&&/figure&&figure&&img src=&https://pic3.zhimg.com/b979f442a19cee719db0386_b.jpg& data-caption=&& data-size=&normal& data-rawwidth=&421& data-rawheight=&268& class=&origin_image zh-lightbox-thumb& width=&421& data-original=&https://pic3.zhimg.com/b979f442a19cee719db0386_r.jpg&&&/figure&&p&&br&&/p&&p&&br&&/p&&p&接下来,我们将使用一些机器学习的观点来处理这些小说。&/p&&p&Word2Vec 是一款将词表征为实数值向量的高效工具,原理就不过多介绍了,感兴趣的可以自行搜索。&/p&&p&一个叫 gensim 的开源包提供了一个 Python 版的实现。&/p&&ul&&li&源代码地址:&a href=&http://link.zhihu.com/?target=https%3A//github.com/RaRe-Technologies/gensim& class=& wrap external& target=&_blank& rel=&nofollow noreferrer&&RaRe-Technologies/gensim: Topic Modelling for Humans&/a&&/li&&li&官方文档地址:&a href=&http://link.zhihu.com/?target=http%3A//radimrehurek.com/gensim/& class=& wrap external& target=&_blank& rel=&nofollow noreferrer&&gensim: topic modelling for humans&/a&&/li&&/ul&&p&首先安装 gensim:&/p&&div class=&highlight&&&pre&&code class=&language-text&&&span&&/span&pip install gensim
&/code&&/pre&&/div&&p&安装完成之后,导入这个包:&/p&&p&&br&&/p&&div class=&highlight&&&pre&&code class=&language-text&&&span&&/span&import gensim
&/code&&/pre&&/div&&p&&br&&/p&&p&虽然我们安装了 gensim,但我们还不可以直接使用它来进行 Word2Vec 的操作,因为 Word2Vec 中的词默认是用空格分隔的,而中文小说显然不符合这个要求,为此,我们需要对中文进行分词。&/p&&p&一个比较好用的 Python 中文分词包叫做 jieba (结巴)。&/p&&ul&&li&源代码地址:&a href=&http://link.zhihu.com/?target=https%3A//github.com/fxsjy/jieba& class=& wrap external& target=&_blank& rel=&nofollow noreferrer&&GitHub - fxsjy/jieba: 结巴中文分词&/a&&/li&&/ul&&p&安装 jieba:&/p&&div class=&highlight&&&pre&&code class=&language-text&&&span&&/span&pip install jieba
&/code&&/pre&&/div&&p&导入:&/p&&div class=&highlight&&&pre&&code class=&language-text&&&span&&/span&import jieba
&/code&&/pre&&/div&&p&&br&&/p&&p&jieba 包具有一定的识别新词的能力,不过为了得到更准确的分词结果,我们可以将人名导入 jieba 库的字典,除此之外,我们还加入门派和武功的专有名词:&/p&&p&&br&&/p&&div class=&highlight&&&pre&&code class=&language-text&&&span&&/span&for _, names in novel_names.iteritems():
for name in names:
jieba.add_word(name)
with codecs.open(&kungfu.txt&, encoding=&utf8&) as f:
kungfu_names = [line.strip() for line in f]
with codecs.open(&bangs.txt&, encoding=&utf8&) as f:
bang_names = [line.strip() for line in f]
for name in kungfu_names:
jieba.add_word(name)
for name in bang_names:
jieba.add_word(name)
&/code&&/pre&&/div&&p&&br&&/p&&p&我们的小说文本每行是一个自然段,我们按照行来对文本进行分词处理:&/p&&p&&br&&/p&&div class=&highlight&&&pre&&code class=&language-text&&&span&&/span&novels = [&书剑恩仇录&,
&天龙八部&,
&飞狐外传&,
&射雕英雄传&,
&神雕侠侣&,
&倚天屠龙记&,
&白马啸西风&,
&笑傲江湖&,
&雪山飞狐&,
sentences = []
for novel in novels:
print &处理:{}&.format(novel)
with codecs.open('novels/{}.txt'.format(novel), encoding=&utf8&) as f:
sentences += [list(jieba.cut(line.strip())) for line in f]
处理:书剑恩仇录
处理:天龙八部
处理:碧血剑
处理:越女剑
处理:飞狐外传
处理:侠客行
处理:射雕英雄传
处理:神雕侠侣
处理:连城诀
处理:鸳鸯刀
处理:倚天屠龙记
处理:白马啸西风
处理:笑傲江湖
处理:雪山飞狐
处理:鹿鼎记
&/code&&/pre&&/div&&p&使用 gensim 中的 Word2Vec 模型,并用默认参数进行训练:&/p&&p&&br&&/p&&div class=&highlight&&&pre&&code class=&language-text&&&span&&/span&model = gensim.models.Word2Vec(sentences,
min_count=5,
workers=4)
&/code&&/pre&&/div&&p&&br&&/p&&p&这里 size 表示生成的词向量的维度是 100,window 表示每 5 个词作为一个滑动窗口,min_count 表示只考虑出现次数超过 5 次的词。&/p&&p&训练完成之后,我们得到一个以词向量表示词的模型。&/p&&p&有了这个模型,我们可以进行一些简单而有趣的测试。&br&&/p&&p&&br&&/p&&p&首先看与乔峰相似的人:&/p&&p&&br&&/p&&div class=&highlight&&&pre&&code class=&language-text&&&span&&/span&for k, s in model.most_similar(positive=[&乔峰&, &萧峰&]):
print k, s
&/code&&/pre&&/div&&p&乱入了一只童姥,其他都是男性角色。&/p&&p&再看看与阿朱相似的人:&/p&&p&&br&&/p&&div class=&highlight&&&pre&&code class=&language-text&&&span&&/span&for k, s in model.most_similar(positive=[&阿朱&]):
print k, s
香香公主 0.
&/code&&/pre&&/div&&p&这回乱入了一只段誉。&/p&&p&&br&&/p&&p&除了人物,我们可以看看门派:&/p&&p&&br&&/p&&div class=&highlight&&&pre&&code class=&language-text&&&span&&/span&for k, s in model.most_similar(positive=[&丐帮&]):
print k, s
for k, s in model.most_similar(positive=[&降龙十八掌&]):
print k, s
打狗棒法 0.
乾坤大挪移 0.
&/code&&/pre&&/div&&p&在 Word2Vec 的模型里,有过“中国-北京=法国-巴黎”的例子,这里我们也可以找到这样的例子:&/p&&p&&br&&/p&&div class=&highlight&&&pre&&code class=&language-text&&&span&&/span&def find_relationship(a, b, c):
a与b的关系,跟c与d的关系一样
d, _ = model.most_similar(positive=[c, b], negative=[a])[0]
print &给定“{}”与“{}”,“{}”和“{}”有类似的关系&.format(a, b, c, d)
find_relationship(&段誉&, &段公子&, &乔峰&)
给定“段誉”与“段公子”,“乔峰”和“乔帮主”有类似的关系
&/code&&/pre&&/div&&p&类似的:&/p&&p&&br&&/p&&div class=&highlight&&&pre&&code class=&language-text&&&span&&/span&# 情侣对
find_relationship(&郭靖&, &黄蓉&, &杨过&)
# 岳父女婿
find_relationship(&令狐冲&, &任我行&, &郭靖&)
find_relationship(&郭靖&, &华筝&, &杨过&)
给定“郭靖”与“黄蓉”,“杨过”和“小龙女”有类似的关系
给定“令狐冲”与“任我行”,“郭靖”和“黄药师”有类似的关系
给定“郭靖”与“华筝”,“杨过”和“绿萼”有类似的关系
&/code&&/pre&&/div&&p&以及,小宝你是有多爱康熙:&/p&&p&&br&&/p&&div class=&highlight&&&pre&&code class=&language-text&&&span&&/span&# 韦小宝
find_relationship(&杨过&, &小龙女&, &韦小宝&)
find_relationship(&令狐冲&, &盈盈&, &韦小宝&)
find_relationship(&张无忌&, &赵敏&, &韦小宝&)
给定“杨过”与“小龙女”,“韦小宝”和“康熙”有类似的关系
给定“令狐冲”与“盈盈”,“韦小宝”和“康熙”有类似的关系
给定“张无忌”与“赵敏”,“韦小宝”和“康熙”有类似的关系
除了人物之间的关系,还可以看看人物与门派武功之间的关系:
&/code&&/pre&&/div&&p&&br&&/p&&div class=&highlight&&&pre&&code class=&language-text&&&span&&/span&find_relationship(&郭靖&, &降龙十八掌&, &黄蓉&)
find_relationship(&武当&, &张三丰&, &少林&)
find_relationship(&任我行&, &魔教&, &令狐冲&)
给定“郭靖”与“降龙十八掌”,“黄蓉”和“打狗棒法”有类似的关系
给定“武当”与“张三丰”,“少林”和“灭绝师太”有类似的关系
给定“任我行”与“魔教”,“令狐冲”和“恒山派”有类似的关系
&/code&&/pre&&/div&&p&之前我们对文本进行 Word2Vec 的结果,是将一个中文词组,映射到了一个向量空间,因此,我们可以利用这个向量表示的空间,对这些词进行聚类分析。&/p&&p&因为全部小说中的人物太多,我们考虑从单本小说进行入手,先把天龙八部中的人物的词向量拿出来:&/p&&div class=&highlight&&&pre&&code class=&language-text&&&span&&/span&all_names = np.array(filter(lambda c: c in model, novel_names[&天龙八部&]))
word_vectors = np.array(map(lambda c: model[c], all_names))
&/code&&/pre&&/div&&p&&br&&/p&&p&聚类我们可以使用很多方法,这里我们先考虑 Kmeans:&/p&&div class=&highlight&&&pre&&code class=&language-text&&&span&&/span&from sklearn.cluster import KMeans
&/code&&/pre&&/div&&p&&br&&/p&&p&如果只分成3类,那么很明显地可以将众人分成主角,配角,跑龙套的三类:&/p&&p&&br&&/p&&div class=&highlight&&&pre&&code class=&language-text&&&span&&/span&N = 3
label = KMeans(N).fit(word_vectors).labels_
for c in range(N):
print &\n类别{}:&.format(c+1)
for idx, name in enumerate(all_names[label==c]):
print name,
if idx % 10 == 9:
刀白凤 丁春秋 马夫人 巴天石 邓百川 风波恶 公冶乾 包不同 乌老大 云中鹤
白世镜 本因 过彦之 司马林 玄慈 玄寂 玄难 叶二娘 左子穆 李秋水
全冠清 阮星竹 朱丹臣 阿碧 波罗星 鸠摩智 耶律洪基 苏星河 段延庆 范骅
赵钱孙 哲罗星 钟万仇 秦红棉 徐长老 崔百泉 萧远山 褚万里 慕容博 谭婆
马五德 小翠 不平道人 甘宝宝 天狼子 太皇太后 无崖子 止清 天山童姥 本参
本观 本相 出尘子 冯阿三 古笃诚 兰剑 平婆婆 石嫂 司空玄 玄苦
玄生 玄痛 耶律莫哥 李春来 李傀儡 刘竹庄 朴者和尚 许卓诚 竹剑 阿洪
阿胜 陈孤雁 来福儿 努儿海 宋长老 苏辙 吴长风 辛双清 严妈妈 余婆婆
岳老三 张全祥 单伯山 单季山 单小山 单正 段正明 宗赞王子 苟读 华赫艮
郁光标 卓不凡 范百龄 哈大霸 吴光胜 梦姑 神山上人 神音 室里 姚伯当
幽草 龚光杰 贾老者 康广陵 容子矩 桑土公 唐光雄 奚长老 诸保昆 崔绿华
符敏仪 菊剑 梅剑 游骥 游驹 傅思归 葛光佩 缘根 鲍千灵 智光大师
瑞婆婆 端木元 黎夫人 谭公 赫连铁树 谭青 摘星子 慧方 慧观 慧净
慧真 穆贵妃 吴领军 易大彪
木婉清 王语嫣 乔峰 萧峰 阿朱 阿紫 段誉 段正淳 钟灵 虚竹
游坦之 慕容复
&/code&&/pre&&/div&&p&我们把众龙套去掉,再聚一次:&/p&&p&&br&&/p&&div class=&highlight&&&pre&&code class=&language-text&&&span&&/span&N = 4
c = sp.stats.mode(label).mode
remain_names = all_names[label!=c]
remain_vectors = word_vectors[label!=c]
remain_label = KMeans(N).fit(remain_vectors).labels_
for c in range(N):
print &\n类别{}:&.format(c+1)
for idx, name in enumerate(remain_names[remain_label==c]):
print name,
if idx % 10 == 9:
刀白凤 马夫人 风波恶 包不同 乌老大 白世镜 司马林 叶二娘 左子穆 李秋水
阮星竹 阿碧 苏星河 赵钱孙 钟万仇 秦红棉 崔百泉 萧远山 慕容博 谭婆
木婉清 王语嫣 阿朱 阿紫 段誉 钟灵 虚竹
丁春秋 云中鹤 乔峰 萧峰 鸠摩智 段延庆 段正淳 游坦之 慕容复
巴天石 邓百川 公冶乾 本因 过彦之 玄慈 玄寂 玄难 全冠清 朱丹臣
波罗星 耶律洪基 范骅 哲罗星 徐长老 褚万里
&/code&&/pre&&/div&&p&可以看到,在类别2中,段家的儿女被聚在了一起,而萧峰则乱入了一群反派人士中。&/p&&p&&br&&/p&&p&换一本小说:&/p&&p&&br&&/p&&div class=&highlight&&&pre&&code class=&language-text&&&span&&/span&all_names = np.array(filter(lambda c: c in model, novel_names[&&]))
word_vectors = np.array(map(lambda c: model[c], all_names))
&/code&&/pre&&/div&&p&&br&&/p&&p&这次采用层级聚类的方式,调用的是 Scipy 中层级聚类的包:&/p&&p&&br&&/p&&div class=&highlight&&&pre&&code class=&language-text&&&span&&/span&import scipy.cluster.hierarchy as sch
&/code&&/pre&&/div&&p&&br&&/p&&div class=&highlight&&&pre&&code class=&language-text&&&span&&/span&Y = sch.linkage(word_vectors, method=&ward&)
_, ax = plt.subplots(figsize=(10, 40))
Z = sch.dendrogram(Y, orientation='right')
idx = Z['leaves']
ax.set_xticks([])
ax.set_yticklabels(all_names[idx],
fontproperties=font_yahei_consolas)
ax.set_frame_on(False)
plt.show()
&/code&&/pre&&/div&&p&&br&&/p&&figure&&img src=&https://pic1.zhimg.com/8ee46cef6d44d711c2ba8_b.jpg& data-caption=&& data-size=&normal& data-rawwidth=&626& data-rawheight=&2246& class=&origin_image zh-lightbox-thumb& width=&626& data-original=&https://pic1.zhimg.com/8ee46cef6d44d711c2ba8_r.jpg&&&/figure&&p&&br&&/p&&p&红色聚类区的上半部分是与张教主直接相关的人物:两个女人赵敏和周芷若;父母和义父。&/p&&p&而红色聚类区的下半部分主要是明教与武当中与张无忌相关的部分。反派角色和一众龙套都被放在了下半区。&/p&&p&除了人物,我们还可以考虑对武功进行聚类分析:&/p&&p&&br&&/p&&p&&br&&/p&&div class=&highlight&&&pre&&code class=&language-text&&&span&&/span&all_names = np.array(filter(lambda c: c in model, kungfu_names))
word_vectors = np.array(map(lambda c: model[c], all_names))
Y = sch.linkage(word_vectors, method=&ward&)
_, ax = plt.subplots(figsize=(10, 35))
Z = sch.dendrogram(Y, orientation='right')
idx = Z['leaves']
ax.set_xticks([])
ax.set_yticklabels(all_names[idx],
fontproperties=font_yahei_consolas)
ax.set_frame_on(False)
plt.show()
&/code&&/pre&&/div&&p&&br&&/p&&figure&&img src=&https://pic3.zhimg.com/4addca3a19d543e1c4ea_b.jpg& data-caption=&& data-size=&normal& data-rawwidth=&666& data-rawheight=&1967& class=&origin_image zh-lightbox-thumb& width=&666& data-original=&https://pic3.zhimg.com/4addca3a19d543e1c4ea_r.jpg&&&/figure&&p&&br&&/p&&p&反正我只知道下面绿色部分的武功,红色部分的好多都是第一次听说。&/p&&p&最后是门派的聚类:&/p&&p&&br&&/p&&p&&br&&/p&&div class=&highlight&&&pre&&code class=&language-text&&&span&&/span&all_names = np.array(filter(lambda c: c in model, bang_names))
word_vectors = np.array(map(lambda c: model[c], all_names))
all_names = np.array(all_names)
Y = sch.linkage(word_vectors, method=&ward&)
_, ax = plt.subplots(figsize=(10, 25))
Z = sch.dendrogram(Y, orientation='right')
idx = Z['leaves']
ax.set_xticks([])
ax.set_yticklabels(all_names[idx],
fontproperties=font_yahei_consolas)
ax.set_frame_on(False)
plt.show()
&/code&&/pre&&/div&&p&&br&&/p&&figure&&img src=&https://pic2.zhimg.com/8b2b79f97e287cc80b3c80f4cd58987d_b.jpg& data-caption=&& data-size=&normal& data-rawwidth=&626& data-rawheight=&1409& class=&origin_image zh-lightbox-thumb& width=&626& data-original=&https://pic2.zhimg.com/8b2b79f97e287cc80b3c80f4cd58987d_r.jpg&&&/figure&&p&&br&&/p&&p&大概跟武功是一样的分布,上面一堆龙套门派,主角出场的门派都在绿色区域,这大概就是所谓的绿叶配鲜花吧。&/p&&p&&br&&/p&&p&以上纯属娱乐。&/p&&p&原载于微信公众号:lijin_echo。&/p&&a href=&http://link.zhihu.com/?target=http%3A//mp.weixin.qq.com/s%3F__biz%3DMzIwNDI1Mzk3OA%3D%3D%26mid%3Didx%3D1%26sn%3D8c38ae54cfb768c53c2c2%23rd& data-draft-node=&block& data-draft-type=&link-card& data-image=&https://pic3.zhimg.com/v2-2d9ceed78978badf52f685b50ced44c6_ipico.jpg& data-image-width=&358& data-image-height=&358& class=& wrap external& target=&_blank& rel=&nofollow noreferrer&&用Python看金庸武侠&/a&&a href=&http://link.zhihu.com/?target=http%3A//nbviewer.jupyter.org/github/lijin-THU/notes-python/blob/master/10-something-interesting/10.04-louis-cha%2527s-kungfu-world.ipynb& data-draft-node=&block& data-draft-type=&link-card& class=& wrap external& target=&_blank& rel=&nofollow noreferrer&&Notebook 链接&/a&&a href=&http://link.zhihu.com/?target=https%3A//github.com/lijin-THU/notes-python/tree/master/10-something-interesting& data-draft-node=&block& data-draft-type=&link-card& data-image=&https://pic1.zhimg.com/v2-318dd57fb8f0cb5ed689ca_ipico.jpg& data-image-width=&400& data-image-height=&400& class=& wrap external& target=&_blank& rel=&nofollow noreferrer&&lijin-THU/notes-python&/a&&blockquote&飞雪连天射白鹿,笑书神侠倚碧鸳。&/blockquote&&p&&br&&/p&&p&未经允许,谢绝转载。&/p&
后后后记:我很反感抄袭的行为,谢绝任何形式的转载。后后记: 更新了部分丑陋的代码。后记:本文纯属娱乐,贴代码是方便大家自己去玩一下。当初我也是某个周日无事,花了半天把这东西搞出来,让内行见笑那是自然的,不懂的看个热闹就好,也不用觉得神奇,…
&p&我文件夹收藏的几百个了都,常用的也就20%,如下:&/p&&p&&b&1. 投资数据库:&/b&企名片、IT桔子、CrunchBase、创业邦数据库、创业谱、Fellowplus、早期36氪也有这类等;&/p&&p&&b&2. 融资对接/股权众筹:&/b&创投圈、天使汇、36氪融资、猎云网、一见、逐鹿X、微链、天天投等,国内所谓的股权众筹目前阶段还只是投资人发现项目的一个渠道而已;&/p&&p&&b&3. 挖掘新产品:&/b&ProductHunt、IT桔子Today、Demo8、新版36氪Productnote等;&/p&&p&&b&4. 媒体类:&/b&36氪、猎云网、亿欧网、钛媒体、铅笔道等&/p&&p&&b&5. 创业企业招聘:&/b&拉勾、histarter、缘创派&/p&&p&&b&6. app统计分析:&/b&友盟、talking data等&/p&&p&&b&7. 搜索分析:&/b&百度指数、淘宝指数、360指数等&/p&&p&&b&8. 查专利、商标:权大师&/b&、中国商标网、soopat、国家知识产权局&/p&&p&&b&9. 寻找活动: &/b&活动行等&/p&&p&&b&10.查工商:&/b&全国企业信用公示系统、企查查app、企信宝等&/p&&p&&b&11. App排名和下载量:&/b&app annie、应用雷达、蝉大师、酷传、ASO100、CQASO等,各个渠道本身的官网,百度手机助手、360商店、华为应用商店、豌豆荚、应用宝、小米商店等&/p&&p&&b&12. 招股书:&/b&美国证券交易委员会SEC(&a href=&//link.zhihu.com/?target=http%3A//www.sec.gov/edgar/searchedgar/companysearch.html& class=& wrap external& target=&_blank& rel=&nofollow noreferrer&&SEC.gov | Company Search Page&/a&
),这个比较难找,就给你个链接。&/p&&p&&b&13. 其他:&/b&微信搜索的PC版挺好用的&a href=&//link.zhihu.com/?target=http%3A//weixin.sogou.com/& class=& wrap external& target=&_blank& rel=&nofollow noreferrer&&搜狗微信搜索_订阅号及文章内容独家收录,一搜即达&/a&&/p&
我文件夹收藏的几百个了都,常用的也就20%,如下:1. 投资数据库:企名片、IT桔子、CrunchBase、创业邦数据库、创业谱、Fellowplus、早期36氪也有这类等;2. 融资对接/股权众筹:创投圈、天使汇、36氪融资、猎云网、一见、逐鹿X、微链、天天投等,国内所谓…
&figure&&img src=&https://pic2.zhimg.com/v2-678fe1ce18bdfd_b.jpg& data-rawwidth=&1482& data-rawheight=&1080& class=&origin_image zh-lightbox-thumb& width=&1482& data-original=&https://pic2.zhimg.com/v2-678fe1ce18bdfd_r.jpg&&&/figure&此文的灵感来自360云盘关闭。&p&&figure&&img src=&https://pic2.zhimg.com/v2-ec1e44faf51_b.jpg& data-rawwidth=&800& data-rawheight=&450& class=&origin_image zh-lightbox-thumb& width=&800& data-original=&https://pic2.zhimg.com/v2-ec1e44faf51_r.jpg&&&/figure&NAS(网络附加存储),其实就是存储服务器。&br&在这个网盘纷纷关闭的萧瑟的深秋,我觉得有必要聊聊这个话题。&br&这个东西,对我来说是一个偶然,但是用了之后,成了必然。&br&最初,我的MacBook air是128G的,我还喜欢拍照用RAW格式,你说怎么就这么命苦?&br&移动硬盘倒是可以,但是我有三台笔记本、两个平板、三个手机,这个可怎么办?&br&于是,遇到NAS这个名词,脑海中有个声音说,来一台吧,然后来了一台。&br&&figure&&img src=&https://pic4.zhimg.com/v2-c66f1c2cd748a977adc25bd3_b.jpg& data-rawwidth=&2011& data-rawheight=&1718& class=&origin_image zh-lightbox-thumb& width=&2011& data-original=&https://pic4.zhimg.com/v2-c66f1c2cd748a977adc25bd3_r.jpg&&&/figure&最初使用它的作用主要是扩展MBA的存储,那时候我都是用iPhoto修图,有了NAS之后,再也不担心MBA的存储了,同时,NAS可以作为苹果TimeMachine的备份盘,让苹果时光机发挥作用;而且可以多个设备共用,就像网盘客户端。&br& 不乱说了,系统一点讲吧。本篇是入门篇,主要讲一些简单的应用,高级应用将在下一篇里讲解。&br&哦,对了,还有一句要说的就是:这玩意不贵,门槛很低。&br&&br&&br&&b&1 NAS能做什么&/b&&br&NAS作为一台存储服务器,其实就是一台配置不高但是存储空间巨大,功耗很低可以长时间运行的电脑。它的主要功能就是存储,形成家庭或者办公室的数据中心,所以最主要的功能就是存储空间的共享,然后就是在此基础上附加的一些功能:数据同步(个人云)、照片共享、音乐库、影音库、下载、数据备份等功能,一项一项说说吧。&/p&&p&&figure&&img src=&https://pic3.zhimg.com/v2-bf23cdf0a37ea139a84a6_b.jpg& data-rawwidth=&1024& data-rawheight=&966& class=&origin_image zh-lightbox-thumb& width=&1024& data-original=&https://pic3.zhimg.com/v2-bf23cdf0a37ea139a84a6_r.jpg&&&/figure&&br&&b&共享存储:&/b&你所有的设备,只要可以和NAS连接,就可以访问NAS中存储的数据,所以你可以在手机、笔记本、平板、智能电视等等各种设备上直接访问NAS,就像使用本地数据一样使用NAS中存储的数据,所以这是一件相当方便的事。&br&比如你把拍摄的照片存在NAS里,然后你用你的MBA修图,修好后的图片可以直接在平板和智能电视观看,是不是很方便?而且,假如你的NAS总共有4T空间,则相当于你的所有设备都有了这4T的空间。&br&&b&多媒体共享&/b&:这一部分包括照片、音乐和视频,存在NAS中的多媒体文件可以直接以你想要的方式呈现到你希望呈现的设备。比如你在看NAS上的电影、你女朋友可以查看NAS上存储的照片,你出差在外,可以直接网页登录到家中的NAS上,欣赏你存储在NAS里的音乐。&br&&b&挂机下载:&/b&这个很简单,因为NAS就是一台电脑,不过就是功耗低,一直开着而已,所以你想下载的东西可以直接丢给它,让它给你下载就是了,反正它有的是时间。&br&&b&数据备份:&/b&NAS都具备强大的数据备份功能,确保数据安全,当然,人家NAS就是干这个的。你可以对你的数据进行RAID的保护,也可以设置备份任务直接备份到网盘,也可以将重要数据自动备份到移动硬盘中,反正就是可以保证你的数据非常安全,这一部分内容很多,到下一篇里面会详细讲解,你所要知道的就是,这玩意存储可靠性非常高,有三四层楼那么高。&br&除了这些功能,很多NAS还有一些特色功能,比如说直接解码高清电影,相当于备具了硬盘播放机的功能;还有可以直接外接HIFI声卡作为音源;因为一直开着,所以可以作为自己的网站服务器,把自己的个人主页挂在上面;还可以作为监控摄像头的存储盘,直接存储摄像头录制的视频;有的还带有Android系统,兼容各种安卓APP,还可以打植物大战僵尸~~哎,太多了,一时半会说不完。&br&这么多功能,是不是用起来很麻烦?我当初也是这么想,后来了解了一下就不这么想了,下面就说说NAS的用法。&br&&br&&b&2 NAS怎么用&/b&&br&话不多说,直接上图,这就是一台NAS的管理界面。&br&这个界面怎么来的?网页登录上去就是了,既可以在家中登录,也可以在任何一个网络能够联通的地方登录。&br&&br&这是QNAP(著名NAS厂家)的NAS管理页面,系统名称叫QTS,一看就明白了,用起来非常简单。&br&&figure&&img src=&https://pic3.zhimg.com/v2-5ad6c3eef7b75aeaeaebbba_b.png& data-rawwidth=&1440& data-rawheight=&900& class=&origin_image zh-lightbox-thumb& width=&1440& data-original=&https://pic3.zhimg.com/v2-5ad6c3eef7b75aeaeaebbba_r.jpg&&&/figure&&br&说说其中重要的几个。&br&控制台:用于调整NAS的各种设置。&br&&br&&figure&&img src=&https://pic1.zhimg.com/v2-cd818087bff8_b.png& data-rawwidth=&1440& data-rawheight=&900& class=&origin_image zh-lightbox-thumb& width=&1440& data-original=&https://pic1.zhimg.com/v2-cd818087bff8_r.jpg&&&/figure&Music Station数字音乐库:可以播放NAS中存储的音乐,既可以推送到本地,也可以直接让NAS通过外接声卡输出。&br&&br&&figure&&img src=&https://pic4.zhimg.com/v2-98f002a02d79de6a1db03_b.png& data-rawwidth=&1440& data-rawheight=&900& class=&origin_image zh-lightbox-thumb& width=&1440& data-original=&https://pic4.zhimg.com/v2-98f002a02d79de6a1db03_r.jpg&&&/figure&Photo Station照片时光机:可以显示在NAS中存储的照片和视频,只要有网,随时随地查看。&br&&br&&figure&&img src=&https://pic4.zhimg.com/v2-2bf6e1f2e3aa221e4b290ac74d5c17d7_b.png& data-rawwidth=&1440& data-rawheight=&900& class=&origin_image zh-lightbox-thumb& width=&1440& data-original=&https://pic4.zhimg.com/v2-2bf6e1f2e3aa221e4b290ac74d5c17d7_r.jpg&&&/figure&File Station文件总管:直接管理NAS中存储的文件,可以上传下载,移动复制删除,也可以随时打开或者播放。&br&&br&&figure&&img src=&https://pic2.zhimg.com/v2-d92feba39ac69de01a39aca0c89ab111_b.png& data-rawwidth=&1440& data-rawheight=&900& class=&origin_image zh-lightbox-thumb& width=&1440& data-original=&https://pic2.zhimg.com/v2-d92feba39ac69de01a39aca0c89ab111_r.jpg&&&/figure&备份管理中心:可以选择使用各种方式对你的数据进行备份。&br&&br&&figure&&img src=&https://pic1.zhimg.com/v2-fd2a94dccc0_b.png& data-rawwidth=&1440& data-rawheight=&900& class=&origin_image zh-lightbox-thumb& width=&1440& data-original=&https://pic1.zhimg.com/v2-fd2a94dccc0_r.jpg&&&/figure&Qsync Central Station:这是我最喜欢也是最常用的功能,就是强大的同步。类似金山快盘或者坚果云这种网盘的同步,你可以在Windows系统、Mac系统、安卓系统、iOS系统等各种设备上安装客户端实现和网盘同步一样的功能,而且所有数据都在自己的服务器上,再也不怕网盘动不动就删你的文件。实在是网盘关闭后的必备良药啊。这一部分在第二篇中还要更详细的讲解。&br&&br&&figure&&img src=&https://pic1.zhimg.com/v2-75b47cf7939c_b.png& data-rawwidth=&1440& data-rawheight=&900& class=&origin_image zh-lightbox-thumb& width=&1440& data-original=&https://pic1.zhimg.com/v2-75b47cf7939c_r.jpg&&&/figure&APP Center:现在的NAS也是类似iOS和安卓系统一样有APP商店,直接点击安装,非常方便。各种功能的APP一应具全:同步备份、下载、娱乐、监控、系统工具、教育、家庭自动化等等~&br&&br&&figure&&img src=&https://pic4.zhimg.com/v2-4db6d21b0c64d7deb647_b.png& data-rawwidth=&1440& data-rawheight=&900& class=&origin_image zh-lightbox-thumb& width=&1440& data-original=&https://pic4.zhimg.com/v2-4db6d21b0c64d7deb647_r.jpg&&&/figure&Download Station:挂机下载,直接把需要下载资源的URL或者种子文件添加进来,NAS就会一刻不停的替你下载,除了常见的HTTP和FTP下载,还可以支持QQ下载、迅雷、磁力链接、快车下载等各种类型的下载URL。&br&&figure&&img src=&https://pic2.zhimg.com/v2-46636b2cab8bfd7bf2e7b6f4c6346c99_b.png& data-rawwidth=&1440& data-rawheight=&900& class=&origin_image zh-lightbox-thumb& width=&1440& data-original=&https://pic2.zhimg.com/v2-46636b2cab8bfd7bf2e7b6f4c6346c99_r.jpg&&&/figure&当然,以上说的还只是常用功能,还有好多功能大家可以慢慢研究。&br&&br&&br&&b&3 谁需要NAS&/b&&br&前面说过,NAS很便宜。&br&最便宜的一盘位(仅能插一块硬盘)NAS价格都在一千以内了,当然,笔者并不推荐一盘位的,因为一盘位很多功能受限制。家用的话,两盘位或者四盘位是比较理想的选择,当然对容量要求不高,那么两盘位是比较理想的。国内做NAS比较著名的厂商就是群晖和QNAP(威联通),笔者使用的两台NAS都是QNAP产品(因为同一厂家的产品可以方便的互换硬盘或者同步数据),这两个品牌的家用两盘位NAS产品的价格都在2000左右,性价比还是很高的。&br&什么?你觉得NAS会很丑?&br&话不多说,直接上图,这是笔者用过了两款NAS,分别是TS-212P和TAS-268,颜值自己看吧。&br&&figure&&img src=&https://pic1.zhimg.com/v2-0cd1c1ffad7f03dda4132d4_b.jpg& data-rawwidth=&2383& data-rawheight=&2415& class=&origin_image zh-lightbox-thumb& width=&2383& data-original=&https://pic1.zhimg.com/v2-0cd1c1ffad7f03dda4132d4_r.jpg&&&/figure&&figure&&img src=&https://pic3.zhimg.com/v2-cb6acf4aec20ce9c772e06_b.jpg& data-rawwidth=&2048& data-rawheight=&3025& class=&origin_image zh-lightbox-thumb& width=&2048& data-original=&https://pic3.zhimg.com/v2-cb6acf4aec20ce9c772e06_r.jpg&&&/figure&&br&公平起见,也上台群晖的产品图片。&br&&br&&figure&&img src=&https://pic2.zhimg.com/v2-224af295f9a6cc2ad569f4fcc67c0811_b.jpg& data-rawwidth=&1024& data-rawheight=&1024& class=&origin_image zh-lightbox-thumb& width=&1024& data-original=&https://pic2.zhimg.com/v2-224af295f9a6cc2ad569f4fcc67c0811_r.jpg&&&/figure&&figure&&img src=&https://pic2.zhimg.com/v2-0b1fcf44ec32b1aadf79ed357aa240dd_b.jpg& data-rawwidth=&1024& data-rawheight=&1024& class=&origin_image zh-lightbox-thumb& width=&1024& data-original=&https://pic2.zhimg.com/v2-0b1fcf44ec32b1aadf79ed357aa240dd_r.jpg&&&/figure&&br&下面说说谁特别需要NAS。&br&(1)网盘用户,存储了大量数据,网盘关闭了,数据转存到NAS才是出路。&br&(2)使用多台手机、笔记本、平板、台式机的用户,使用NAS可以方便的实现数据共享,相当于所有的设备都有了一块巨大的硬盘。&br&(3)对同步有要求的用户。大家都知道,网盘的同步是非常好用的,但是网盘本身不安全,随时可能关闭,且数据安全也不容易保证,但是存放在自己的NAS里,多台设备通过NAS同步则完全没有问题。&br&(4)家中人数较多,需要共享存储而不想抱着移动硬盘插来插去的。这个就不多说了。&br&(5)存储私密数据,网盘你懂的,8秒教育片你也懂得,老司机必备。&br&根据功能继续想把,我目前想到了这些~&/p&&br&&b&4 回答一些评论问题&/b&&br&文章发表以后,评论区讨论的也挺热,所以在此一并回答一下评论区的焦点问题。&br&(1)最简单的问题:NAS和云盘什么区别?本质区别就是NAS是你的数据在你的服务器你的硬盘上你说了算,而云盘是你的数据在别人服务器上别人硬盘上别人说了算,参考百度云删除用户数据和8秒教育片。&br&(2)关于网络问题,使用NAS的话肯定要架设家用千兆内网,千兆内网这个名词一听上去好像特复杂,其实很简单啦,买个支持千兆有线和802.11AC无线的宽带路由器就搞定了,这种类型的路由器价格一般在400元左右或以上,当然现在的家庭,手机笔记本平板电视特别多,没有个高性能路由器有不行。&br&(3)关于NAS的DIY,这个的确是可以,我当时也想过,GEN8也是一个很不错的平台,但是对于多数用户而言,门槛要高一些,除了自己搭建硬件平台控制功耗以外,还要自己安装服务器端的操作系统和各种应用软件,不如直接入一台NAS,软件硬件都有了,而且界面良好,说明书详细,上手非常容易。&br&(4)有朋友提小米的带硬盘的路由器,还有可以插硬盘的那种路由器,怎么说呢,如果你对数据可靠性没什么要求,仅仅存点电影电视剧,也是可以的,它相当于一个简易的1盘位NAS,不过功能和性能上比专业NAS差不少,当然数据可靠性差的就更多了,这个在下一篇文章中会继续讨论。&br&(5)对于宽带的上传限速,这个就得在选择宽带的时候注意一下,尽量选择上传速度快的,当然,这主要影响到你在家庭以外的网络访问NAS的速度,其实多数情况下,NAS和普通网盘或云盘在外网用起来体验是差不多的。&br&如有疑问,欢迎在评论区或者私信提问,我会及时回答并更新此文。&br&&br&&p&如果你还是觉得NAS太复杂,对你来说没必要,那么可以看看我以前写的这篇文章:&/p&&p&&a href=&https://zhuanlan.zhihu.com/p/& class=&internal&&U盘变私人云——Magic Disc魔碟网盘 - 家+智能 - 知乎专栏&/a&&br&&br&&/p&&p&入门篇就到这里了,下一篇为进阶篇:&/p&&p&&a href=&https://zhuanlan.zhihu.com/p/& class=&internal&&网盘纷纷关闭的时候,让我们来说说NAS——进阶篇 - 家+智能 - 知乎专栏&/a&&/p&&p&为方便阅读,文章会在微信公众号发表,欢迎关注“家+智能”公众号:homeandsmart&/p&&p&新浪微博:Henix_Sun&/p&
此文的灵感来自360云盘关闭。NAS(网络附加存储),其实就是存储服务器。 在这个网盘纷纷关闭的萧瑟的深秋,我觉得有必要聊聊这个话题。 这个东西,对我来说是一个偶然,但是用了之后,成了必然。 最初,我的MacBook air是128G的,我还喜欢拍照用RAW格式,…
我曾给所里的律师助理多次培训如何利用Google进行法律检索、核查事实和证据挖掘,可以分享一点心得。&br&&br&(1)首先要掌握工具,包括熟悉常见的Google语法(如&&、site、filetype)和工具(如图片搜索、Google Alert、Google Trends)。关于基本语法,请见附图。&br&&br&(2)其次要积累关键字。每个专业领域内都有一些专业术语,而这些术语出现在媒体或口语中都是俗称,要想查到高质量的结果,就要有把术语和俗称进行转换的能力。另外,经过长期检验,有一些专家和记者非常靠谱,在搜索问题时同时加入他们的名字,得到的结果质量会高很多。&br&&br&(3)掌握了工具和关键字后,要知道二者如何配合使用。比如需要查找一份政府文件,如果知道准确的文件名,就可以加半角引号进行精确检索;但如果不知道准确名称,就可以用site语法只在政府网站内用相关关键字查询,而不是在全网大海捞针。什么时候需要扩大搜索范围,什么时候需要缩小搜索范围,是使用具体语法,还是减少或增加关键字,都需要经验的积累。如果每次搜索时都有意识的、层层推进的而不是盲目的,分析问题的能力也会有提高。&br&&br&虽然有质量很高的收费法律数据库可以用,我还是很喜欢用Google进行搜索,因为随着搜索次数的增加,搜索效率是能够不断提升的。关键就是要不断总结,查到了以后要“复盘”,看看有没有更快更准确的方法,查不到要思考为什么查不到,隔一段时间换别的语法或关键字再试试。&br&&br&附:转自&a href=&//link.zhihu.com/?target=http%3A//kaijuan.org/%25E6%E4%25BB%25B6%3A%25E4%25BF%25A1%25E6%2581%25AF%25E5%259B%25BE-%25E4%25BB%258E%25E8%25B0%25B7%25E6%25AD%258C%25E6%E8%258E%25B7%25E6%259B%25B4%25E5%25A4%259A.png& class=& external& target=&_blank& rel=&nofollow noreferrer&&&span class=&invisible&&http://&/span&&span class=&visible&&kaijuan.org/%E6%96%87%E&/span&&span class=&invisible&&4%BB%B6:%E4%BF%A1%E6%81%AF%E5%9B%BE-%E4%BB%8E%E8%B0%B7%E6%AD%8C%E6%90%9C%E8%8E%B7%E6%9B%B4%E5%A4%9A.png&/span&&span class=&ellipsis&&&/span&&/a&&figure&&img src=&https://pic1.zhimg.com/91d36cd9e5bef1782358_b.jpg& data-rawwidth=&800& data-rawheight=&8848& class=&origin_image zh-lightbox-thumb& width=&800& data-original=&https://pic1.zhimg.com/91d36cd9e5bef1782358_r.jpg&&&/figure&
我曾给所里的律师助理多次培训如何利用Google进行法律检索、核查事实和证据挖掘,可以分享一点心得。 (1)首先要掌握工具,包括熟悉常见的Google语法(如""、site、filetype)和工具(如图片搜索、Google Alert、Google Trends)。关于基本语法,请见附图…
&figure&&img src=&https://pic1.zhimg.com/v2-ad71c3434afbfee8c6b7f9a_b.jpg& data-caption=&& data-size=&normal& data-rawwidth=&800& data-rawheight=&378& class=&origin_image zh-lightbox-thumb& width=&800& data-original=&https://pic1.zhimg.com/v2-ad71c3434afbfee8c6b7f9a_r.jpg&&&/figure&&p&
我选择的操作系统是 &b&Windows 7 SP1&/b&,如果电脑的内存是2G以上,那么就应该安装64位的版本,否则还是用32位的更好。&/p&&p&
使用 Windows 7 时,首先,我建议你把任务栏调至顶部,这样一来你的鼠标只需要在顶部即可完成大部分的操作了。如果它是在默认的底部呢?那么,你总是需要把鼠标移动到上方去对窗口执行最大化、最小化、关闭的操作,使用任务栏时又需要移动到底部,这样就很不方便了!&/p&&p&
其次,你还需要掌握三键鼠标的使用方法,正确的做法是食指放在左键上,中指放在滚轮上,无名指放在右键上,这样做的好处是:你可以充分的利用鼠标滚轮执行许多实用的操作,比如在 Chrome 中关闭标签页只需要单击滚轮而不需要点那个小交叉!&/p&&p&
最后,回收站也是一个值得注意的地方,如果你也像我一样不喜欢看着桌面那个堆满垃圾的图标,总是想要去清空它,并且你确信自己是一个做事认真仔细的人(重要的文件夹推荐用同步软件备份),那么你可以在回收站的属性中选择“不将文件移动到回收站中。移除文件后立即将其删除。”的选项,注意,你需要将每个分区都分别设置此项才可以!这样设置之后被删除的文件就不会出现在回收站中了,你现在可以在“个性化-更改桌面图标”中将回收站和其他的桌面图标都去掉了。&/p&&p&
我选择的浏览器是 &a href=&//link.zhihu.com/?target=https%3A//www.google.com/intl/zh-CN/chrome/browser/desktop/index.html%3Fhl%3Dzh-CN%26standalone%3D1%23eula& class=& wrap external& target=&_blank& rel=&nofollow noreferrer&&Chrome&/a&,它的界面十分简洁,这样做的目的是为了让你忘了自己正在使用着一个浏览器,除了内容区域你能看到的只有标签和地址栏,然而这个地址栏也被充分地用作了搜索框,使用它你不再需要去到各种搜索引擎主页,取而代之的是几个缩写的字母,例如我要使用 &a href=&//link.zhihu.com/?target=http%3A//btdb.to/& class=& wrap external& target=&_blank& rel=&nofollow noreferrer&&BTDB&/a& 来搜索电影,我只需要在地址栏输入“bt”然后按空格键再输入电影名字即可。当然,这是需要你在 &a href=&//link.zhihu.com/?target=chrome%3A//settings/searchEngines& class=& external& target=&_blank& rel=&nofollow noreferrer&&&span class=&invisible&&chrome://&/span&&span class=&visible&&settings/searchEngines&/span&&span class=&invisible&&&/span&&/a&设置好才行的。更重要的是Chrome有着丰富的扩展程序,我安装的有:&/p&&ul&&li&&b&uBlock Origin&/b&:过滤广告,让你的网页更清爽。&a href=&//link.zhihu.com/?target=https%3A//chrome.google.com/webstore/detail/ublock-origin/cjpalhdlnbpafiamejdnhcphjbkeiagm& class=& wrap external& target=&_blank& rel=&nofollow noreferrer&&下载&/a&&/li&&li&&b&Vimium&/b&:鼠标用累了可以换用键盘。(关于更改它的快捷键的问题请看:&a href=&http://www.zhihu.com/question//answer/& class=&internal&&如何更改 vimium 的快捷键?&/a&)&a href=&//link.zhihu.com/?target=https%3A//chrome.google.com/webstore/detail/vimium/dbepggeogbaibhgnhhndojpepiihcmeb& class=& wrap external& target=&_blank& rel=&nofollow noreferrer&&下载&/a&&/li&&li&&b&Chromium Wheel Smooth Scroller&/b&:平滑滚动,我的滚轮设置是:120,14,20,160。&a href=&//link.zhihu.com/?target=https%3A//chrome.google.com/webstore/detail/khpcanbeojalbkpgpmjpdkjnkfcgfkhb& class=& wrap external& target=&_blank& rel=&nofollow noreferrer&&下载&/a&&/li&&li&&b&Tampermonkey&/b&:userscriptfor Chrome。&a href=&//link.zhihu.com/?target=https%3A//chrome.google.com/webstore/detail/tampermonkey/dhdgffkkebhmkfjojejmpbldmpobfkfo& class=& wrap external& target=&_blank& rel=&nofollow noreferrer&&下载&/a&&/li&&/ul&&p&&br&&/p&&ul&&li&&b&Laufe&/b&:有了它,你就可以清空桌面上的快捷方式了!它的作用是允许你使用快捷键直接打开程序或文件,由于启动某个程序是我们经常要做的事情,虽然这看起来只是快了一点点,但累加起来的时间是十分可观的。调出它的快捷键是“Win+~”,~键就是 Esc 下面的那个键,现在启动程序只需要按 Win+~。&a href=&//link.zhihu.com/?target=https%3A//pan.baidu.com/s/1dEJLYhF& class=& wrap external& target=&_blank& rel=&nofollow noreferrer&&下载&/a& | &a href=&//link.zhihu.com/?target=https%3A//github.com/poerin/Laufe& class=& wrap external& target=&_blank& rel=&nofollow noreferrer&&GitHub&/a&&/li&&li&&b&Listary&/b&:非常实用的轻量级资源管理器辅助程序,输入任何关键字总能为你找到合适的内容。极大的提高了操纵效率,键盘党必备。&a href=&//link.zhihu.com/?target=http%3A//www.listary.com/download/Listary.exe& class=& wrap external& target=&_blank& rel=&nofollow noreferrer&&下载&/a&&/li&&li&&b&StrokesPlus&/b&:非常强大的 Windows 全局鼠标手势,现在除了需要输入文字,基本可以不用碰键盘。关于配置 StrokesPlus 的问题,请看:&a href=&http://www.zhihu.com/question//answer/& class=&internal&&如何安排 StrokesPlus 的手势操作?&/a&(如果你安装了 Laufe 请在首选项中取消勾选“启用鼠标滚轮中继”)&a href=&//link.zhihu.com/?target=http%3A//www.strokesplus.com/& class=& wrap external& target=&_blank& rel=&nofollow noreferrer&&官网&/a& | &a href=&//link.zhihu.com/?target=http%3A//www.strokesplus.com/forum/topic/273/chinese& class=& wrap external& target=&_blank& rel=&nofollow noreferrer&&汉化配置文件&/a& | &a href=&//link.zhihu.com/?target=https%3A//www.strokesplus.net/& class=& wrap external& target=&_blank& rel=&nofollow noreferrer&&新版官网&/a&&/li&&li&&b&Dockit&/b&:知道 Aero Snap 吗?就是在 Windows 7 里把窗口拖动到屏幕边缘能够实现半屏或最大化的功能。Dockit 是比 Aero Snap 更好用的软件,它允许用户自定义触发区域和停靠边界,并且还支持程序过滤清单。&a href=&//link.zhihu.com/?target=https%3A//pan.baidu.com/s/1c2iQ6Wg& class=& wrap external& target=&_blank& rel=&nofollow noreferrer&&下载&/a& | &a href=&//link.zhihu.com/?target=http%3A//user.qzone.qq.com//blog/& class=& wrap external& target=&_blank& rel=&nofollow noreferrer&&说明&/a&&/li&&li&&b&Dexpot&/b&:虚拟桌面,用“窗口目录”代替Alt+Tab,用“窗口目录(所有桌面)”来切换桌面。&a href=&//link.zhihu.com/?target=http%3A//dexpot.de/& class=& wrap external& target=&_blank& rel=&nofollow noreferrer&&官网&/a&&/li&&li&&b&Everything&/b&:快速搜索文件,支持正则表达式。&a href=&//link.zhihu.com/?target=http%3A//www.voidtools.com/download.php& class=& wrap external& target=&_blank& rel=&nofollow noreferrer&&下载&/a&&/li&&li&&b&imitator&/b&:由你设计一个关于鼠标和键盘的脚本,让这个脚本控制你的鼠标和键盘,以达到减少重复劳动的目的。让它和 &b&iKey&/b& 结合起来能够实现按一下快捷键就做一系列操作的效果!&a href=&//link.zhihu.com/?target=https%3A//pan.baidu.com/s/1dFmmoA9& class=& wrap external& target=&_blank& rel=&nofollow noreferrer&&下载&/a&&/li&&li&&b&iKey&/b&:允许你调整或新增快捷键,包括调整操作系统本身的快捷键。&a href=&//link.zhihu.com/?target=https%3A//pan.baidu.com/s/1bPrNp8& class=& wrap external& target=&_blank& rel=&nofollow noreferrer&&下载&/a&&/li&&li&&b&iGenda&/b&:在预定的时间给你提醒或打开某个文件。可以让它和&b&模仿者&/b&结合起来使用可以实现在某个时间点自动执行一系列操作的效果。&a href=&//link.zhihu.com/?target=https%3A//pan.baidu.com/s/1jI9KX9O& class=& wrap external& target=&_blank& rel=&nofollow noreferrer&&下载&/a&&/li&&/ul&&p&&br&&/p&&ul&&li&&b&Aimp&/b&:音频播放器。&a href=&//link.zhihu.com/?target=http%3A//www.aimp.ru/index.php%3Fdo%3Ddownload& class=& wrap external& target=&_blank& rel=&nofollow noreferrer&&下载&/a& | &a href=&//link.zhihu.com/?target=http%3A//www.aimp.ru/index.php%3Fdo%3Dcatalog%26rec_id%3D317& class=& wrap external& target=&_blank& rel=&nofollow noreferrer&&皮肤&/a&&/li&&li&&b&PotPlayer&/b&:视频播放器。&a href=&//link.zhihu.com/?target=http%3A//get.daum.net/PotPlayer/Version/Latest/PotPlayerSetup.exe& class=& wrap external& target=&_blank& rel=&nofollow noreferrer&&32位&/a& | &a href=&//link.zhihu.com/?target=http%3A//get.daum.net/PotPlayer64/Version/Latest/PotPlayerSetup64.exe& class=& wrap external& target=&_blank& rel=&nofollow noreferrer&&64位&/a& | &a href=&//link.zhihu.com/?target=http%3A//wenlei.ys168.com/& class=& wrap external& target=&_blank& rel=&nofollow noreferrer&&闻雷修改版&/a&&/li&&li&&b&Feep&/b&:简洁而快速的看图软件,所有操作只需要一个鼠标,滚轮切换图片,左键显示原始比例。右键关闭。&a href=&//link.zhihu.com/?target=https%3A//pan.baidu.com/s/1slbaPFR& class=& wrap external& target=&_blank& rel=&nofollow noreferrer&&下载&/a& | &a href=&//link.zhihu.com/?target=https%3A//github.com/poerin/Feep& class=& wrap external& target=&_blank& rel=&nofollow noreferrer&&GitHub&/a&&/li&&li&&b&Sumatra PDF&/b&:支持多种格式的文档阅读器。&a href=&//link.zhihu.com/?target=http%3A//blog.kowalczyk.info/software/sumatrapdf/download-free-pdf-viewer-cn.html& class=& wrap external& target=&_blank& rel=&nofollow noreferrer&&下载&/a& | &a href=&//link.zhihu.com/?target=https%3A//github.com/sumatrapdfreader/sumatrapdf& class=& wrap external& target=&_blank& rel=&nofollow noreferrer&&GitHub&/a&&/li&&li&&b&WinRAR&/b&:压缩管理器。&a href=&//link.zhihu.com/?target=http%3A//www.rarlab.com/download.htm& class=& wrap external& target=&_blank& rel=&nofollow noreferrer&&下载&/a&&/li&&/ul&&p&&br&&/p&&ul&&li&&b&Beyond Compare&/b&:主要的功能是比较各种文件和数据,还支持文件夹同步。&a href=&//link.zhihu.com/?target=http%3A//www.scootersoftware.com/download.php%3Fzz%3Ddl3_zh& class=& wrap external& target=&_blank& rel=&nofollow noreferrer&&官网&/a&&/li&&li&&b&Bulk Rename Utility&/b&:批量重命名工具。&a href=&//link.zhihu.com/?target=http%3A//www.bulkrenameutility.co.uk/Download.php& class=& wrap external& target=&_blank& rel=&nofollow noreferrer&&官网&/a& | &a href=&//link.zhihu.com/?target=http%3A//pan.baidu.com/s/1CcJ5G& class=& wrap external& target=&_blank& rel=&nofollow noreferrer&&下载&/a&&/li&&li&&b&Resource Hacker&/b&:修改 dll 或 exe 等文件内部的资源,比如图标和快捷键。&a href=&//link.zhihu.com/?target=http%3A//www.angusj.com/resourcehacker/& class=& wrap external& target=&_blank& rel=&nofollow noreferrer&&官网&/a&&/li&&/ul&&p&&br&&/p&&ul&&li&&b&MacType&/b&:重新渲染你的系统和程序的字体!选择注册表加载方式就不拖启动速度了。&a href=&//link.zhihu.com/?target=https%3A//github.com/snowie2000/mactype/releases& class=& wrap external& target=&_blank& rel=&nofollow noreferrer&&GitHub&/a&&/li&&li&&b&Unlocker&/b&:强制解锁、删除、重命名、移动文件。&a href=&//link.zhihu.com/?target=http%3A//www.emptyloop.com/unlocker/& class=& wrap external& target=&_blank& rel=&nofollow noreferrer&&官网&/a&&/li&&li&&b&Universal Extractor&/b&:直接从软件安装包中提取文件。&a href=&//link.zhihu.com/?target=http%3A//www.legroom.net/software/uniextract& class=& wrap external& target=&_blank& rel=&nofollow noreferrer&&官网&/a&&/li&&li&&b&MediaPreview&/b&:让资源管理器支持显示更多视频格式的缩略图(比如 mkv)。&a href=&//link.zhihu.com/?target=http%3A//www.babelsoft.net/bin/MediaPreviewSetup-1.4.3.429.sfx.exe& class=& wrap external& target=&_blank& rel=&nofollow noreferrer&&下载&/a&&/li&&li&&b&AudioShell&/b&:让资源管理器支持显示更多音频格式的标签(比如 flac),还有编辑功能。&a href=&//link.zhihu.com/?target=http%3A//www.softpointer.com/AudioShell.htm& class=& wrap external& target=&_blank& rel=&nofollow noreferrer&&官网&/a&&/li&&li&&b&Microsoft Camera Codec Pack&/b&:让资源管理器支持RAW。&a href=&//link.zhihu.com/?target=http%3A//www.microsoft.com/zh-CN/download/details.aspx%3Fid%3D26829& class=& wrap external& target=&_blank& rel=&nofollow noreferrer&&下载&/a&&/li&&/ul&&p&&br&&/p&&ul&&li&&b&QQ轻聊版&/b&:没有广告的 QQ。&a href=&//link.zhihu.com/?target=http%3A//dldir1.qq.com/qqfile/qq/QQ7.9Light/14308/QQ7.9Light.exe& class=& wrap external& target=&_blank& rel=&nofollow noreferrer&&下载&/a&&/li&&li&&b&TIM&/b&:QQ轻聊版的继承者。&a href=&//link.zhihu.com/?target=https%3A//office.qq.com/& class=& wrap external& target=&_blank& rel=&nofollow noreferrer&&官网&/a&&/li&&li&&b&印象笔记&/b&:超级云记事本,我用它管理一些零散的知识和 idea。&a href=&//link.zhihu.com/?target=http%3A//www.yinxiang.com/download/get.php%3Ffile%3DWin& class=& wrap external& target=&_blank& rel=&nofollow noreferrer&&下载&/a&&/li&&li&&b&QQ拼音&/b&:拼音模式选择“&b&小鹤双拼&/b&”。然后可以在“文本服务和输入语言”中将“默认输入语言”改成“QQ拼音输入法”,然后把其他输入法都删了。以后要输入英文只需按一下Shift键。&a href=&//link.zhihu.com/?target=http%3A//shurufa.qq.com/& class=& wrap external& target=&_blank& rel=&nofollow noreferrer&&官网&/a& | &a href=&//link.zhihu.com/?target=http%3A//pan.baidu.com/s/1mutsU& class=& wrap external& target=&_blank& rel=&nofollow noreferrer&&皮肤&/a&&/li&&li&&b&FileZilla&/b&:FTP客户端。&a href=&//link.zhihu.com/?target=https%3A//filezilla-project.org/& class=& wrap external& target=&_blank& rel=&nofollow noreferrer&&官网&/a&&/li&&/ul&&p&&br&&/p&&ul&&li&&b&Avira&/b&:杀毒软件。&a href=&//link.zhihu.com/?target=http%3A//install.avira-update.com/package/antivirus/win/zh-cn/avira_antivirus_zh-cn.exe& class=& wrap external& target=&_blank& rel=&nofollow noreferrer&&下载&/a&&/li&&li&&b&CCleaner&/b&:系统清理。&a href=&//link.zhihu.com/?target=http%3A//www.piriform.com/ccleaner& class=& wrap external& target=&_blank& rel=&nofollow noreferrer&&官网&/a&&/li&&li&&b&Recuva&/b&:数据恢复。&a href=&//link.zhihu.com/?target=http%3A//www.piriform.com/recuva& class=& wrap external& target=&_blank& rel=&nofollow noreferrer&&官网&/a&&/li&&/ul&&p&&br&&/p&&ul&&li&&b&Adobe&/b&:AdobeAudition CS6,Adobe Photoshop CS6,Adobe Illustrator CS6。&/li&&li&&b&Office 2013&/b&:办公软件。&/li&&li&&b&MindManager&/b&:思维导图。&a href=&//link.zhihu.com/?target=http%3A//www.mindjet.com/mindmanager/& class=& wrap external& target=&_blank& rel=&nofollow noreferrer&&官网&/a&&/li&&li&&b&Atom&/b&:开源的编辑器,拥有大量好用的 Package。&a href=&//link.zhihu.com/?target=https%3A//github.com/atom/atom& class=& wrap external& target=&_blank& rel=&nofollow noreferrer&&Github&/a& | &a href=&//link.zhihu.com/?target=https%3A//atom.io/& class=& wrap external& target=&_blank& rel=&nofollow noreferrer&&官网&/a&&/li&&li&&b&Visual Studio Code&/b&:开源的编辑器,搭配 &a href=&//link.zhihu.com/?target=https%3A//www.anaconda.com/& class=& wrap external& target=&_blank& rel=&nofollow noreferrer&&Anaconda&/a& 写 &a href=&//link.zhihu.com/?target=https%3A//www.python.org/& class=& wrap external& target=&_blank& rel=&nofollow noreferrer&&Python&/a& 方便极了。&a href=&//link.zhihu.com/?target=https%3A//github.com/Microsoft/vscode& class=& wrap external& target=&_blank& rel=&nofollow noreferrer&&Github&/a& | &a href=&//link.zhihu.com/?target=https%3A//code.visualstudio.com/& class=& wrap external& target=&_blank& rel=&nofollow noreferrer&&官网&/a&&/li&&li&&b&TeXstudio&/b&:开源的 Tex 编辑器。&a href=&//link.zhihu.com/?target=http%3A//sourceforge.net/projects/texstudio/& class=& wrap external& target=&_blank& rel=&nofollow noreferrer&&SourceForge&/a&&/li&&li&&b&TeXmaker&/b&:开源的 Tex 编辑器。&a href=&//link.zhihu.com/?target=http%3A//www.xm1math.net/texmaker/& class=& wrap external& target=&_blank& rel=&nofollow noreferrer&&官网&/a&&/li&&li&&b&MiKTeX&/b&:TeX 编译器。&a href=&//link.zhihu.com/?target=https%3A//miktex.org/download& class=& wrap external& target=&_blank& rel=&nofollow noreferrer&&下载&/a&&/li&&li&&b&Typora&/b&:Markdown 编辑器,支持实时预览。&a href=&//link.zhihu.com/?target=https%3A//typora.io/& class=& wrap external& target=&_blank& rel=&nofollow noreferrer&&官网&/a&&/li&&/ul&&p&&br&&/p&&ul&&li&&b&Snipaste&/b&:截图。&a href=&//link.zhihu.com/?target=http%3A//zh.snipaste.com/download.html& class=& wrap external& target=&_blank& rel=&nofollow noreferrer&&下载&/a&&/li&&li&&b&Greenfish Icon Editor&/b&:编辑图标文件。&a href=&//link.zhihu.com/?target=http%3A//greenfishsoftware.org/gfie.php& class=& wrap external& target=&_blank& rel=&nofollow noreferrer&&官网&/a&&/li&&li&&b&ScreenToGif&/b&:录制屏幕到 Gif。&a href=&//link.zhihu.com/?target=http%3A//screentogif.com/& class=& wrap external& target=&_blank& rel=&nofollow noreferrer&&官网&/a&&/li&&li&&b&Firmtools Duplicate Photo Finder&/b&:查找相似图片。&a href=&//link.zhihu.com/?target=http%3A//duplicatefinder.firmtools.com/& class=& wrap external& target=&_blank& rel=&nofollow noreferrer&&官网&/a&&/li&&li&&b&PlayTime&/b&:统计视频播放时间。&a href=&//link.zhihu.com/?target=http%3A//skwire.dcmembers.com/fp/%3Fpage%3Dplaytime& class=& wrap external& target=&_blank& rel=&nofollow noreferrer&&官网&/a&&/li&&li&&b&SolveigMM Video Splitter&/b&:无损视频剪切。&a href=&//link.zhihu.com/?target=http%3A//www.solveigmm.com/en/products/video-splitter/& class=& wrap external& target=&_blank& rel=&nofollow noreferrer&&官网&/a&&/li&&li&&b&PhotoZoom&/b&:放大图片。&a href=&//link.zhihu.com/?target=http%3A//www.benvista.com/photozoompro& class=& wrap external& target=&_blank& rel=&nofollow noreferrer&&官网&/a&&/li&&li&&b&Jhead&/b&:清除 jpeg 文件的 exif。&a href=&//link.zhihu.com/?target=http%3A//www.sentex.net/%7Emwandel/jhead/& class=& wrap external& target=&_blank& rel=&nofollow noreferrer&&官网&/a&&/li&&li&&b&PDF Password Remover&/b&:移除 PDF 加密信息。&a href=&//link.zhihu.com/?target=http%3A//www.pdfpasswordremover.com/& class=& wrap external& target=&_blank& rel=&nofollow noreferrer&&官网&/a&&/li&&li&&b&XUS PC Lock&/b&:锁定计算机,画格子解锁。&a href=&//link.zhihu.com/?target=http%3A//www.edesksoft.com/xuspclock/& class=& wrap external& target=&_blank& rel=&nofollow noreferrer&&官网&/a&&/li&&li&&b&Rufus&/b&:创建 USB 启动盘。&a href=&//link.zhihu.com/?target=http%3A//rufus.akeo.ie/& class=& wrap external& target=&_blank& rel=&nofollow noreferrer&&官网&/a&&/li&&/ul&&p&&br&&/p&&ul&&li&&b&右键管家&/b&:移除不必要的右键菜单选项,这是很重要的!&a href=&//link.zhihu.com/?target=http%3A//youjianjia.com/& class=& wrap external& target=&_blank& rel=&nofollow noreferrer&&官网&/a&&/li&&li&&b&Custom Explorer Toolbar&/b&:允许你自定义 Windows 7 的 FolderBand(资源管理器的工具栏)。如果你想隐藏 FolderBand 请下载我修改好的 &a href=&//link.zhihu.com/?target=http%3A//pan.baidu.com/s/1o62kSlW& class=& wrap external& target=&_blank& rel=&nofollow noreferrer&&shellstyle.dll&/a& 自行替换Windows\Resources\Themes\Aero\Shell\NormalColor ,请注意备份,替换了之后工具栏就没了。如果发现替换不了,那是因为你没有权限。&a href=&//link.zhihu.com/?target=http%3A//pan.baidu.com/s/1jGsP95O& class=& wrap external& target=&_blank& rel=&nofollow noreferrer&&下载&/a&&/li&&li&&b&f.lux&/b&:这款软件适合需要长时间面对电脑屏幕的人(特别是在睡前),它的作用是调节屏幕的色温。为什么要这么做呢?原因是睡前看到高色温会引起失眠。调节到低色温就可以改善睡眠质量。需要注意的是:当你需要正常的色温来进行一些艺术创作时可以勾选 Disable for one hour 来暂停它。&a href=&//link.zhihu.com/?target=http%3A//justgetflux.com/& class=& wrap external& target=&_blank& rel=&nofollow noreferrer&&官网&/a&&/li&&li&&b&DNSBench&/b&:DNS 在一定程度上会影响上网的速度,选择一个速度快的 DNS 为你节约宝贵的时间很重要,你的 DNS 快不快呢?用 DNSBench 测测吧。腾讯:119.29.29.29;阿里:223.5.5.5;百度:180.76.76.76;114:114.114.114.114。&a href=&//link.zhihu.com/?target=https%3A//www.grc.com/files/DNSBench.exe& class=& wrap external& target=&_blank& rel=&nofollow noreferrer&&下载&/a& &/li&&/ul&&p&&br&&/p&&p&
最后我写了一个小程序扩展了几个快捷键:&/p&&ul&&li&Win+Esc,关闭当前窗口&/li&&li&Win+Q,快捷任务栏[仅显示最小化状态的窗体](隐藏掉任务栏,用&b&StrokesPlus&/b&映射这个快捷键,实在是很方便呀!)&/li&&li&Win+A,隐藏或显示任务栏(不被任务栏分散注意力)&/li&&li&Win+S,隐藏或显示桌面图标(不被桌面图标分散注意力)&/li&&li&Win+W,交换鼠标左右键(为了预防鼠标手,我每隔两天会交换一次左右手使用鼠标,以下的快捷键是为右手设计的,系统默认有Ctrl+Insert为复制)&/li&&li&Ctrl+Delete,剪切&/li&&li&Ctrl+Home,粘贴&/li&&li&Ctrl+PageUp,撤销&/li&&li&Ctrl+PageDown,重做&/li&&li&Ctrl+End,全选&/li&&li&Alt+N,最小化&/li&&li&Alt+M,最大化/恢复&/li&&/ul&&p&&a href=&//link.zhihu.com/?target=https%3A//pan.baidu.com/s/1brlmF75& class=& wrap external& target=&_blank& rel=&nofollow noreferrer&&下载&/a& &/p&&p&&br&&/p&&p&
以上的 Feep、Laufe、Dockit、iKey、iGenda、imitator 都是我的个人作品,如果你有任何建议或者意见,欢迎私信我。&/p&
我选择的操作系统是 Windows 7 SP1,如果电脑的内存是2G以上,那么就应该安装64位的版本,否则还是用32位的更好。 使用 Windows 7 时,首先,我建议你把任务栏调至顶部,这样一来你的鼠标只需要在顶部即可完成大部分的操作了。如果它是在默认的底部呢?那么…
&p&东西放在硬盘上非常不安全,遇到系统崩、熊孩子误删是常有的事,更别说电脑被盗这种令人心碎的事情了。&br& 东西放在硬盘上也不方便,手机上看不到电脑里的,电脑上看不到手机里的,频繁手动同步又太麻烦。&br& 作为多年深度仓鼠症患者,最后发现解决的办法是分门别类全部放在云端。&br& 网盘、同步盘、网络相册、CHROME书签自动同步、网络收藏夹、POCKET、带同步功能的GTD软件、笔记软件等等,现在可以利用的工具已经非常非常丰富了,根据自己的需要自由组合,安全性、便利性、组织性都爆棚,而且容量几乎都是无限的,尤其是现在的这些软件厂商都开发了包括浏览器插件在内的全套产品线,大多数时候我们碰到好的东西时根本就不需要保存到本地这一中间步骤,可以用工具立刻收藏到云端。&br&(以上软件我同时都在深度使用,欢迎交流使用经验。)&/p&&br&&br&更新:&br&&p&下面是我常用的工具和用法:&/p&&br&&strong&1.同步盘&/strong&。推荐&strong&快盘&/strong&,用于多平台同步,工作电脑、笔记本、pad、手机都能用,可自行设定是否开机自启,内存占用非常低,生成一个虚拟硬盘,使用起来跟平常往D盘、E盘里丢东西是一样方便的。用于家庭/公司内部共享文件、移动办公、协作办公都是非常好的选择。这个部分主要用于存储小文件和经常需要使用的文件。现在很多其他网盘厂商如115、百度、360、天翼等,都开发或者整合了这种产品,但是总体都不如老牌的快盘的好用。别处下载或传输过来的文件,只要不是太大的,统统先丢到里面,日后有空再去归类,可以充分保证资料的安全性。&br&&br&&strong&2.网盘&/strong&。这个部分首推&strong&115&/strong&、&strong&百度网盘&/strong&,其他的还有360、微云、V盘、华为、天翼、彩云等等,都大同小异了,功能大家都懂,不细说。这个部分主要用来存储大型文件。建议可以把几个主要的厂商都注册一个账号,方便从网上转存资源,而且现在大多都开发了离线下载、云播放了,为我们的硬盘省了很大的力气。顺便为经常使用GoogleDrive、SkyDrive、Dropbox、Box、Picasa等国外存储型产品的用户推荐一个网站&a href=&//link.zhihu.com/?target=http%3A//jolicloud.com& class=& external& target=&_blank& rel=&nofollow noreferrer&&&span class=&invisible&&http://&/span&&span class=&visible&&jolicloud.com&/span&&span class=&invisible&&&/span&&/a&,通过账户联接,它能把上述工具都整合在一起管理。&br&&br&&strong&3.网络相册&/strong&。首推&strong&百度相册&/strong&,其次是网易相册,另外比较主流的还有QQ空间、poco等等,总体上百度相册是最年轻但后来居上的,其页面美观程度、传输速度、易用性、容量、多平台都堪称国内一流。国外的还有flickr、picasa、instagram等,产品是非常好的,可惜在国内太受限了。另外,微云、快盘等网盘类产品也带有相册同步功能,但建议还是选择专业工具。&br&&br&&strong&4.CHROME&/strong&。个人用的是更加本土化的&strong&枫树&/strong&浏览器,比官方的易用性和稳定性都要好一些。关于chrome的优点,我也不细说了,知乎上很多。我要强调的是它的同步功能。每当我在新的电脑、手机上安装chrome并登陆后,它都会在很短的时间内把我多达10000+的所有书签、几十项扩展插件,以及数百项设置都同步过来。实际上比起硬盘上的东西,对我来说浏览器里存储的东西更加重要,因为我85%的网络使用时间都是通过chrome进行的,所以它的自动同步能力怎么强调都不为过。&br&&br&&strong&5.网络收藏夹&/strong&。chrome的书签管理非常简洁而且强大,但是随着使用时间的增长,收藏夹增长得越来越庞杂了以后有时也会给自己带来一些不便(我收藏里最深的子文件夹达到了7层),有时一个网页只需要把它一键暂存起来,有时某些类别的网页由于太纷繁而需要另外一个工具来单独存放,有的类别的网页需要能够不打开就直接看得到它的缩略图,还有的要隐藏。这时就有一堆扩展工具来满足这几类要求了。&br&&ul&&li&&strong&5.1.稍后阅读。&/strong&这个需求对很多人来说并不是刚需,在收藏夹里拉一个文件夹来停放就够了,但当这个文件夹膨胀得看不过来了,也许就需要专门的工具了。(1)&strong&Pocket&/strong&(Read It Later改名)的一款插件&strong&pickpocket&/strong&可以将页面一键暂存,还可以一键打开列表,而且是自动同步的,它可以很好的满足网页GTD(应该说是GTR)方面快速管理的需要。(2)另外,&strong&Any.Do&/strong&的chrome插件也有这三个特性,但需要点击两次才能完成(需要选定待完成时间),而且考虑到日常任务混合在一起不利于管理,所以建议日常暂存量少、且平常就在使用Any.Do的用户的可以用它一物两用。(3)&strong&Instapaper&/strong&和Pocket功能很相似,类似的还有&strong&MarkForLater、SaveForLater、Readability&/strong&等产品,此外还有一款&strong&Defer&/strong&可以同时管理几个平台。&/li&&li&&strong&5.2.Session管理。&/strong&打开了太多网页需要同时一键暂存时,&strong&TabCloud&/strong&和&strong&SessionBuddy&/strong&就可以发挥作用了。一般来说这两款选其一就可以了。TabCloud的优点是自动同步(需要注册账号),缺点是需要开代理才能使用(反正我一般是GoAgent常开的)。SessionBuddy优点是反应快速和功能强大,可以给session重命名、管理窗口等等,缺点是没有同步功能,也意味着不安全。另外在应用商店中搜索session还可以搜到很多如TabsOutliner等优秀的管理工具。&/li&&li&&strong&5.3.其他平台。&/strong&有的人由于需要平行于chrome之外的第二个平台来存储、同步或加密书签,我们有&strong&delicious&/strong&、&strong&xmarks&/strong&、&strong&diigo系列、美味书签&/strong&等等,它们的工具都很丰富,另外,使用遨游、猎豹、等备用浏览器来完成这个任务也是一种很好的选择。&/li&&li&&strong&5.4.缩略图式。&/strong&有的网页类型我们希望可以通过缩略图来快速浏览和管理,这里介绍一款个人开发的网站(及其收藏工具)&strong&爱库&/strong&(&a href=&//link.zhihu.com/?target=http%3A//ikeepu.com& class=& external& target=&_blank& rel=&nofollow noreferrer&&&span class=&invisible&&http://&/span&&span class=&visible&&ikeepu.com&/span&&span class=&invisible&&&/span&&/a&)。有了解类似功能的其他产品的欢迎介绍给我。&/li&&/ul&6.&strong&网页收藏&/strong&。据统计每年网络上都有约30%的网页失效,但重要的网页保存到本地又不方便浏览,而且生成一大堆文件也不利于保持硬盘整洁、清爽。所以碰到一些重要的网页(如服装、装潢、工业设计、广告、网页设计等)需要永久储存时,可以使用&strong&360doc&/strong&、&strong&米粒窝&/strong&这两个网站的剪辑工具,这两款工具的优点是直接从云端收集,所以很快,而且网站上浏览和管理非常简洁和方便。另外&strong&花瓣网&/strong&的剪辑工具可以给网页整页截图(无论多高),但是截图毕竟是不能分解的,所以不喜欢。还有很多笔记软件(如&strong&evernote&/strong&、&strong&麦库&/strong&)的chrome插件也可以剪辑和收藏网页,但速度和体验都不太理想。Pocket和Instapaper的收藏其实也是一种永久性的保存,但由于会把排版打乱所以非常不推荐。&br&&br&7.&strong&图片收藏&/strong&。首推&strong&百度相册&/strong&的浏览器插件&strong&Baidupic&/strong&,简单而强大。如果你同时也在用百度相册来上传自己的照片,可能会造成视觉上的混乱,因为让私人的相册们和收藏夹性质的各分类的文件夹混杂在一起确实不是我们强迫症患者的作风。暂时想不到很好的解决办法,只能分两个账户来放了,反正百度相册导入导出的功能很强大。同类产品有&strong&花瓣网、&a href=&//link.zhihu.com/?target=http%3A//Topit.me& class=& external& target=&_blank& rel=&nofollow noreferrer&&&span class=&invisible&&http://&/span&&span class=&visible&&Topit.me&/span&&span class=&invisible&&&/span&&/a&、WeHeartIt、堆糖、嘀咕、我喜欢&/strong&等,evernote等笔记软件的插件也有此功能。&br&&br&8.&strong&视频收藏&/strong&。很少在线看视频,也没有收藏的爱好,一般在优酷之类的在线视频网站上看到好的UGC类型的短片,点个站内的“收藏”按钮就完事了,音悦台的也是这样,但一般会先到全网搜索找到清晰度或完整度最高的一个版本再收藏。国外好像有个收藏视频的网站,有了解的烦劳告知。实在是不下载不为快的,就用&strong&VideoDownloader&/strong&(扩展插件)或&strong&维棠&/strong&(软件)下载过来,然后传上网盘或放进同步盘。&br&&br&9.&strong&电影收藏&/strong&。我没有保存的习惯,看完都会删掉,反正现在网络资源这么丰富,带宽也差不多够用了,重新搜索下载也不难,何况一般是没有重复看一部作品的习惯的。但是看完以后都会到&strong&豆瓣&/strong&上评个分作为标记,有的顺手写个短评也是方便今后回忆。下一步打算今后闲得蛋疼的时候把里面特别喜欢的作品都找出来拉个私有的豆列,方便怀念或者推荐朋友。推荐一个插件&strong&豆藤&/strong&,可以在豆瓣的电影页面上直接显示自动搜索到的资源供下载。另外&strong&IMDB&/strong&也是个不错的去处,它有更完整的数据库,而且……评分是1到10颗星。而&strong&时光网&/strong&,虽然各方面的不太让人看得上,但上面确实有不少很有诚意的影评。&br&&br&10.&strong&音乐收藏&/strong&。通过&strong&虾米&/strong&或&strong&一听&/strong&音乐网来整理。一听音乐网用了八九年了,虽然一直很丑陋,也称不上好用,甚至没有客户端,但是歌曲库非常大,有利于整理自己的音乐列表。现在慢慢转战到虾米上来了,因为它无论是曲库、社区、正版化、界面友好、客户端以及操作功能丰富性都非常好。&strong&百度音乐&/strong&也是个后起之秀,便捷性在网页端无可比拟,而且同样可以建立自己的收藏和列表。碰到实在特别冷僻的音乐,再到last.fm等国外网站找找总能找出来的。另外,我没有下载的习惯,有好听的一般都会在虾米、百度音乐、一听或音悦台上的账户上收藏起来,丢不了的。&br&&ul&&li&再提一个&strong&音乐识别&/strong&的概念。在户外碰到没听过或不记得谁唱的好听的歌,可以用微信摇一摇来识别,直接显示歌名、歌手、专辑、歌词等信息,还能直接播放,非常方便。如果是经常有这种需要,还可以另外安装个&strong&shazam&/strong&、&strong&soundhound&/strong&等老牌专门的音乐识别软件。另外我以前的索爱手机上自带的&strong&trackid&/strong&软件也是干这个的,不知道现在索尼的智能机上还有没有这款软件。网页版的我只知道&strong&&a href=&//link.zhihu.com/?target=http%3A//midomi.com& class=& external& target=&_blank& rel=&nofollow noreferrer&&&span class=&invisible&&http://&/span&&span class=&visible&&midomi.com&/span&&span class=&invisible&&&/span&&/a&&/strong&,试用体验不是太好,勉强够用。&/li&&li&&strong&下载&/strong&方面,已经很多年没有这个习惯了,现在都是在线试听的。高中时代曾经很喜欢下载,那时候主要的工具是&strong&酷狗&/strong&、&strong&我爱歌词&/strong&以及后来的&strong&qq音乐&/strong&,还会存钱买当时看来很贵的耳机,下些无损格式的歌来听,最后发现自己确实是木耳。现在的选择就很多了,在百度音乐、qq音乐或虾米上开通个会员,10元一个月就可以下载到大部分的高品质音乐。&/li&&li&&strong&外链&/strong&方面,以前

我要回帖

更多关于 黑镜be right back 的文章

 

随机推荐