自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(8)
  • 资源 (9)
  • 收藏
  • 关注

原创 python3(9)---去掉字符串中的英文字符和数字

方法一:使用punctuation。punctuation其中定义的是所以英文的标点符号。add_punc相当于是自定义的,如果只要去掉英文,那么if判断的地方,只保留add_punc即可,如果英文的标点符号也想去掉,就使用punctuation比如,要去掉数字:add_punc=‘0123456789’ 即可。字母也同理。代码:from string import pu...

2019-04-06 22:49:21 29900 2

转载 python(8)---- pyltp5个核心函数

1. 简介LTP(语言技术平台)是哈工大社会计算与信息检索研究中心研制的一整套开放中文自然语言处理系统。pyltp 是 LTP 的 python 封装,提供了分词,词性标注,命名实体识别,依存句法分析,语义角色标注的功能(暂不提供语义依存分析功能)2. 各个模型功能(1) 分词—— cws. model(2) 词性标注—— pos. model(3) ...

2019-04-06 15:44:58 554

转载 neo4j(3)----- 查询语法

PS:注意标点符号;和标签的名字,才可以得到正确的查询结果。一、基础语法1、节点基础操作1.1节点创建 Cypher命令:节点模式的构成:(Variable:Lable1:Lable2{Key1:Value1,Key2,Value2}),实际上,每个节点都有一个整数ID,在创建新的节点时,Neo4j自动为节点设置ID值,在整个数据库中,节点的ID值是递增的和唯一的...

2019-04-06 15:08:27 1187

转载 python (7)---- py2neo使用报错:'Graph' object has no attribute 'find_one'

ps:再次说明一下,如果你的程序没有报红色横线的错误,或者只是代码部分涂黄色了。运行的时候报错了(不常见的错误)那很可能是你的版本有问题。尤其是你在网上搜索,有人这么写可以运行成功,但是你不可以的时候,不是这个函数或者语句的错误就是版本的问题。同一个事情,换了版本,写法就不同,很可能会不识别。首先,我是pip install 安装的py2neo。然后我写了一个程序,其中我用到了Graph中的一...

2019-04-03 21:56:28 4940

原创 neo4j (2)----- neo4j数据导入&多库切换

如果需要下载我的数据import 文件夹,请:首先,我先说下准备工作。1.要有csv文件;其实如果你的是 xlsx文件,就是 excel默认的存储模式。你只需要把这个文件另存为,选择一个地址,然后存储类型改成csv即可如果你的csv中,没有中文的字符,你做到这样就可以了。如果你有中文字符还存在导入后乱码的问题,你可以在这里处理下,可以先把文件用记事本,打开,然后改成UTF-8格...

2019-04-02 22:42:16 3362 2

原创 neo4j (4) --- 使用报错:Expected '--nodes' to have at least 1 valid item, but had 0 []

1.使用neo4j-import导入节点报错:Expected '--nodes' to have at least 1 valid item, but had 0 []问题还是路径是错误的。开始我写的是:D:\neo4j\neo4j-community-3.1.0\bin\neo4j-admin import --mode=csv --database=movie.db --nodes...

2019-04-02 18:03:04 2867 5

转载 neo4j (1)--- 安装(windows)

neo4j 下载链接windows64 ziphttps://neo4j.com/artifact.php?name=neo4j-community-3.1.0-windows.zip下载后解压,打开cmd.exe,右键以管理员身份运行,进入以解压的目录bin下,接下来进行安装:输入 :neo4j install-service (安装) //neo4j uninstal...

2019-04-02 17:23:20 434

原创 python安装 (2)----- pyltp(安装报错:xxx.whl is not a supported wheel on this platform)

首先我需要说明下,我在安装pyltp,但是我遇到的问题是很多人在使用python,导入第三方库的时候遇到的问题。下面说下这是我在运行的时候遇到的问题:请看红色的那行, 就是x.whl is not a supported wheel on this platform.的问题。然后我百度了, 很多的人解决办法是这样的:(确实有用)就是在cmd中,python然后输入imp...

2019-04-01 01:47:31 3217 5

数据结构--表、栈、队列(java)

数据结构和算法分析(java)实现中第三章知识点的总结,主要讲的是表。栈、队列的原理和实现,以及应用。一共17页。

2018-07-29

软件测试总结

该文档共34页,全部为个人总结。 总结了软件测试的定义,发展,软件测试的多种常见的方法,他们的模型,如何使用,比较的优缺点。主要是定义和原理的讲解,并没有具体的实例。

2018-07-23

Mastering UML with Rational Rose

Table of Contents Mastering UML with Rational Rose 2002........................................................................................................1 Chapter 1: Introduction to UML.......................................................................................................................4 Introduction to the Object−Oriented Paradigm.......................................................................................4 Encapsulation..............................................................................................................................5 Inheritance..................................................................................................................................6 Polymorphism.............................................................................................................................8 What Is Visual Modeling?.......................................................................................................................8 Systems of Graphical Notation................................................................................................................9 Booch Notation.........................................................................................................................10 Object Management Technology (OMT).................................................................................10 Unified Modeling Language (UML)........................................................................................11 Understanding UML Diagrams..............................................................................................................12 Business Use Case Diagrams....................................................................................................13 Use Case Diagrams...................................................................................................................14 Activity Diagrams.....................................................................................................................14 Sequence Diagrams...................................................................................................................16 Collaboration Diagrams............................................................................................................17 Class Diagrams.........................................................................................................................17 Statechart Diagrams..................................................................................................................18 Component Diagrams...............................................................................................................19 Deployment Diagrams..............................................................................................................21 Visual Modeling and the Software Development Process.....................................................................22 Inception...................................................................................................................................24 Elaboration................................................................................................................................24 Construction..............................................................................................................................25 Transition..................................................................................................................................26 Summary................................................................................................................................................26 Chapter 2: A Tour of Rose...............................................................................................................................27 What Is Rose?........................................................................................................................................27 Getting Around in Rose.........................................................................................................................30 Parts of the Screen....................................................................................................................31 Exploring Four Views in a Rose Model................................................................................................38 Use Case View..........................................................................................................................38 Logical View.............................................................................................................................40 Component View......................................................................................................................42 Deployment View.....................................................................................................................43 Working with Rose................................................................................................................................45 Creating Models........................................................................................................................45 Saving Models..........................................................................................................................46 Exporting and Importing Models..............................................................................................47 Publishing Models to the Web..................................................................................................48 Working with Controlled Units................................................................................................50 Using the Model Integrator.......................................................................................................52 Working with Notes..................................................................................................................53 Working with Packages............................................................................................................54 Adding Files and URLs to Rose Model Elements....................................................................56 Adding and Deleting Diagrams................................................................................................56 Setting Global Options...........................................................................................................................57 Working with Fonts..................................................................................................................58 Working with Colors................................................................................................................58

2018-07-23

华为模拟器

里面是可以安装使用的华为模拟器。 只需要下载可以直接安装。 运行没有问题。 模拟计算机网络的实验或部分过程

2018-07-23

计算机网络实验--ip部分

该文档为计算机网络实验中ip部分的答案和讲解。 一共14页。 其中有15个问题的答案和wireshark的贴图讲解。 以及中文实验指导书的链接。

2018-07-23

计算机网络--ICMP

该文档是关于计算机网络中实验ICMP部分的答案。题目为英文,如下,答案为中文,部分有图文解释。 Ethereal Lab: ICMP Version: July 2005 © 2005 J.F. Kurose, K.W. Ross. All Rights Reserved Computer Networking: A Topdown Approach Featuring the Internet, 3rd edition. In this lab, we’ll explore several aspects of the ICMP protocol: • ICMP messages generating by the Ping program; • ICMP messages generated by the Traceroute program; • the format and contents of an ICMP message. Before attacking this lab, you’re encouraged to review the ICMP material in the textbook (Section 4.4.3 in the 3rd edition.) We present this lab in the context of the Microsoft Windows operating system. However, it is straightforward to translate the lab to a Unix or Linux environment. 1. ICMP and Ping Let’s begin our ICMP adventure by capturing the packets generated by the Ping program. You may recall that the Ping program is simple tool that allows anyone (for example, a network administrator) to verify if a host is live or not. The Ping program in the source host sends a packet to the target IP address; if the target is live, the Ping program in the target host responds by sending a packet back to the source host. As you might have guessed (given that this lab is about ICMP), both of these Ping packets are ICMP packets.

2018-07-23

计算机网络复习总结

包含计算机网络中运算层,网络层、链路层和局域网、无线网络和移动网络以及计算机网络中的安全的知识的总结。其中有多个题目的讲解,中英文对照。

2018-07-23

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除