上一页 1 ··· 64 65 66 67 68 69 70 71 72 ··· 106 下一页
摘要: 转自:https://docs.python.org/zh-cn/3/library/typing.html 以前只能通过注释来说明变量类型。 可以简化一些类型说明的过程。 阅读全文
posted @ 2019-05-30 18:42 lypbendlf 阅读(233) 评论(0) 推荐(0)
摘要: 转自:https://blog.csdn.net/iamaiearner/article/details/9378093 提供了打印出任何python数据结构类的方法。 阅读全文
posted @ 2019-05-30 17:08 lypbendlf 阅读(126) 评论(0) 推荐(0)
摘要: 转自:https://www.jianshu.com/p/801318c77ab5 该模块提供了堆排序算法的实现。堆是二叉树,最大堆中父节点大于或等于两个子节点,最小堆父节点小于或等于两个子节点。 1.创建 通过列表或者是heappush函数 默认是从小到大排序 2.弹出值.heappop函数 3. 阅读全文
posted @ 2019-05-30 17:03 lypbendlf 阅读(107) 评论(0) 推荐(0)
摘要: 来自:《Python自然语言处理》 1.Unigram 2.Ngram标注 阅读全文
posted @ 2019-05-29 20:16 lypbendlf 阅读(281) 评论(0) 推荐(0)
摘要: 可用水准:垃圾邮件检测,主题分类,命名实体识别,文本相似度,词性标注。 可用与基本可用之间:关键短语提取,情感分析。 基本可用:关键短语生成,方面分析?,实体链接,词义消歧,机器翻译,信息提取 基本与难以之间:槽填充?,指代消解,对话,问答,释义,总结。 2020-2-23更新———————— 转自 阅读全文
posted @ 2019-05-29 01:17 lypbendlf 阅读(750) 评论(0) 推荐(0)
摘要: 转自:https://www.runoob.com/python/att-string-count.html https://www.cnblogs.com/lincappu/p/8179475.html(讲解非常好) 1.Python count() 方法用于统计字符串里某个字符出现的次数。可选参 阅读全文
posted @ 2019-05-28 19:14 lypbendlf 阅读(452) 评论(0) 推荐(0)
摘要: 0.基本思想 选定基准值(通常为当前数组的第一个元素),经过一系列比较和交换,将比基准值小的放在其左边,将比基准值大的放在其右边,这称为是一次循环。 1. 递归1 //百度百科上的C++实现: #include <iostream> using namespace std; void Qsort(i 阅读全文
posted @ 2019-05-06 20:56 lypbendlf 阅读(468) 评论(0) 推荐(0)
摘要: 1.在进行 gdb python r XX.py where 调试时,报出以下错误: 1)每次运行都开38个线程,是否是线程超载[New Thread 0x7ffff2fd2700 (LWP 7415)] [New Thread 0x7ffff27d1700 (LWP 7416)] [New Thr 阅读全文
posted @ 2019-04-27 20:30 lypbendlf 阅读(10951) 评论(0) 推荐(0)
摘要: 转自:https://ivanzz1001.github.io/records/post/linuxops/2018/01/23/linux-nvidia#1-nvidia%E4%BB%8B%E7%BB%8D 阅读全文
posted @ 2019-04-27 15:06 lypbendlf 阅读(311) 评论(0) 推荐(0)
摘要: 转自:https://blog.csdn.net/sanshiqiduer/article/details/1933625 https://linuxtools-rst.readthedocs.io/zh_CN/latest/tool/top.html 1.统计信息区 top命令是Linux下常用的 阅读全文
posted @ 2019-04-27 14:54 lypbendlf 阅读(148) 评论(0) 推荐(0)
上一页 1 ··· 64 65 66 67 68 69 70 71 72 ··· 106 下一页