openspg icon indicating copy to clipboard operation
openspg copied to clipboard

英文文本抽取没有边

Open BBjie opened this issue 5 months ago • 0 comments

Search before asking

  • [x] I had searched in the issues and found no similar issues.

Operating system information

Windows

What happened

抽取出来 没有边只有点 我用的是英文txt文件 求大佬指点 是不是哪里设置错了 但中文txt文件是有边的

Image

以下是部分样本文本 Every year, programming language demand and acceptance vary. Additionally, new programming languages are introducing appealing features.

Many other programming languages are available today, including JavaScript, Rust, PHP, Ruby, Python, Java, C, etc. It is challenging to select a way when there are so many possible methods to begin a career in computer programming. In terms of programming and competitive coding, C++, Java, and Python have continued to be popular throughout time. Additionally, there is nothing you can’t develop with C++, Java, and Python.

In this blog post we will learn What is the difference between Java, Python and C++.

The efficiency, speed, and memory of modern C++ make it a favorite among programmers.

Java works across all platforms. As a result, it keeps bringing a lot of value to the field of software development. Python offers new libraries, quick prototyping, and other new capabilities while requiring less programming. More people now use Python than Java. Google Trends reveals that in 2017, Python’s popularity surpassed Java’s. This trend is probably a result of Java’s superior usage for production code and Python’s excellent use for experimentation. As a result, experimentation is more prevalent than finished code. Python is an interpreted language with dynamic typing, while Java is a statically typed and compiled language. Java is quicker at runtime and simpler to debug because to this one distinction, while Python is simpler to use and understand. Python’s popularity has grown mainly due to its communicative nature; people understand it better. It has enormous Python libraries, so a new coder won’t have to start from scratch. The three programming languages will be explored in this blog post, along with their history, features, applications, key distinctions between C++, Java, and Python, and code samples to demonstrate each.

C++

History of C++

Bjarne Stroustrup and Dennis Ritchie, who created C, worked on C++ in the 1970s at Bell Labs. As an addition to C, C++ was developed to include object-oriented functionality.

Features of C++

A quick and compiled programming language is C++. C++ is platform-dependent because it’s a compiled programming language. The C++ programming language provides a large number of libraries for handling tasks directly at the hardware level, giving the user complete control over the hardware. With the fast increase in popularity of containerization, GPUs, and Cloud computing, C++ is also growing in popularity since it can swiftly adapt to take advantage of hardware improvements. C++ is often used in performance-critical and resource-constrained applications because of its incredible speed. It offers extensive control over the system’s resources and memory to programmers. Applications of C++ Because it facilitates object-oriented programming and provides access to hardware, C++ is popular among programmers. Many high-level end-user apps may be created using C++ such as:

Operating systems: The Apple OS has some C++ code. C++ is also used in the development of the majority of Microsoft’s software, including Internet Explorer and the Visual Studio IDE. Cloud/Distributed Systems: Because C++ is near to the hardware and supports multithreading, it is a strong candidate for the construction of cloud systems. Browsers: C++ is frequently utilised in browsers for rendering tasks due to its quicker execution speed. Examples include the Chrome browser, Mozilla Thunderbird, and the Google File System. GUI (Graphical User Interface) Based Applications: Adobe Photoshop, Illustrator, and WinAmp Media Player are examples of GUI-based applications that were created using C++. File extension: filename.cpp

Key distinctions of C++

Function overloading is supported in C++. C++ uses a bottom-up design process. 52 keywords can be used in C++. For input and output operations, C++ mostly utilizes the stream Cin and cout libraries. The new memory allocation operator is supported by C++. C++ is case-sensitive. Polymorphism, Abstract Data Types, and Encapsulation are characteristics that C++ supports in addition to object orientation. Both pointers and references are supported by C++.

Java

History of Java

James Gosling created Java as an object-oriented language in the early 1990s. “Simple, Robust, Portable, Platform-Independent, Secured, High-Performance, Multithreaded, Architecture Neutral, and Dynamic” were the core principles for the development of Java.

James Gosling created Java as an object-oriented language in the early 1990s. “Simple, Robust, Portable, Platform-Independent, Secured, High-Performance, Multithreaded, Architecture Neutral, and Dynamic” were the guiding principles for the development of Java.

Additionally, more than 3 billion devices run Java, which is owned by Oracle. The most secure applications, embedded systems, large data processing, desktop, and mobile apps, and so forth are all developed using java.

Features of Java

There is no need to get rid of unreferenced because Java has an automatic garbage collection system. This is the primary distinction between Python, Java, and C++. Java changed the online experience from static text pages to dynamic sites with animation and video. APIs are provided for almost all tasks. Java supports the concepts of inheritance, abstraction, and encapsulation. Unlike other programming languages, it has powerful exception handling and type-checking mechanisms. Java is made to function anywhere. It interprets compiled code using the Java Virtual Machine (JVM) that it has. The JVM serves as both an interpreter and an error finder. Java provides multithreading, allowing programmers to create applications that can carry out several tasks at once. Applications of Java

Web-based applications: Java has extensive support for Servlets, Struts, and JSP web development. Used by companies: Google, Uber, and Instagram uses this programming language. Game Development: Because Java supports an open-source 3D engine, it is widely employed in the game development industry. Java is used in the creation of several well-known games, such as Minecraft and Mission Impossible III, and Asphalt 6. Mobile App Development: Java is used to create the majority of Android applications, including those created through the most well-known Android IDE, Android Studio Android Eclipse.

以下是shcema


namespace Neo4j

ProgrammingLanguage(编程语言): EntityType
	properties:
		description(描述): Text
		name(名称): Text
		memoryManagement(内存管理): Text
		creator(创造者): Text
		releaseYear(发布年份): Text
		paradigm(编程范式): Text
		executionMethod(执行方式): Text
		fileExtension(文件后缀): Text
		semanticType(semanticType): Text
			index: Text
		typingSystem(类型系统): Text

KnowledgeUnit(知识点): IndexType
	properties:
		description(描述): Text
		name(名称): Text
		ontology(本体): Text
		content(内容): Text
			index: TextAndVector
		structedContent(结构化文本): Text
			index: TextAndVector
		relatedQuery(关联问): AtomicQuery
		extendedKnowledge(关联外扩知识点): Text
		knowledgeType(知识类型): Text
		desc(描述): Text
			index: TextAndVector

Others(其他): EntityType
	properties:
		description(描述): Text
		name(名称): Text
		semanticType(semanticType): Text
			index: Text

Medicine(药物): EntityType
	properties:
		description(描述): Text
		name(名称): Text
		semanticType(semanticType): Text
			index: Text

AtomicQuery(原子问): IndexType
	properties:
		description(描述): Text
		name(名称): Text
		title(标题): Text
			index: TextAndVector
	relations:
		sourceChunk(关联文本块): Chunk
		relatedTo(相关): KnowledgeUnit
		similar(相似问题): AtomicQuery

Summary(文本摘要): IndexType
	properties:
		description(描述): Text
		name(名称): Text
		content(内容): Text
			index: TextAndVector
	relations:
		childOf(子摘要): Summary
		sourceChunk(关联): Chunk

Organization(组织机构): EntityType
	properties:
		description(描述): Text
		name(名称): Text
		semanticType(semanticType): Text
			index: Text

Outline(标题大纲): IndexType
	properties:
		description(描述): Text
		name(名称): Text
		content(内容): Text
			index: TextAndVector
	relations:
		sourceChunk(关联): Chunk
		childOf(子标题): Outline

Building(建筑): EntityType
	properties:
		description(描述): Text
		name(名称): Text
		semanticType(semanticType): Text
			index: Text

LibraryFramework(开发框架): EntityType
	properties:
		description(描述): Text
		name(名称): Text
		primaryLanguage(主语言): Text
		semanticType(semanticType): Text
			index: Text
		category(类别): Text

GeographicLocation(地理位置): EntityType
	properties:
		description(描述): Text
		name(名称): Text
		semanticType(semanticType): Text
			index: Text

TechCompany(科技公司): EntityType
	properties:
		description(描述): Text
		name(名称): Text
		semanticType(semanticType): Text
			index: Text
		industry(行业): Text
		headquarters(总部): Text

Transport(运输): EntityType
	properties:
		description(描述): Text
		name(名称): Text
		semanticType(semanticType): Text
			index: Text

SemanticConcept(语义概念): EntityType
	properties:
		description(描述): Text
		name(名称): Text
		semanticType(semanticType): Text
			index: Text

Person(人物): EntityType
	properties:
		description(描述): Text
		name(名称): Text
		semanticType(semanticType): Text
			index: Text

Concept(概念): EntityType
	properties:
		description(描述): Text
		name(名称): Text
		semanticType(semanticType): Text
			index: Text

Event(事件): EntityType
	properties:
		description(描述): Text
		name(名称): Text
		semanticType(semanticType): Text
			index: Text

Keyword(关键词): EntityType
	properties:
		description(描述): Text
		name(名称): Text
		semanticType(semanticType): Text
			index: Text

Date(日期): EntityType
	properties:
		description(描述): Text
		name(名称): Text
		semanticType(semanticType): Text
			index: Text

NaturalScience(自然科学): EntityType
	properties:
		description(描述): Text
		name(名称): Text
		semanticType(semanticType): Text
			index: Text

ArtificialObject(人造物体): EntityType
	properties:
		description(描述): Text
		name(名称): Text
		semanticType(semanticType): Text
			index: Text

Chunk(文本块): EntityType
	properties:
		description(描述): Text
		name(名称): Text
		content(内容): Text
			index: TextAndVector

Works(作品): EntityType
	properties:
		description(描述): Text
		name(名称): Text
		semanticType(semanticType): Text
			index: Text

Creature(生物): EntityType
	properties:
		description(描述): Text
		name(名称): Text
		semanticType(semanticType): Text
			index: Text

Astronomy(天文学): EntityType
	properties:
		description(描述): Text
		name(名称): Text
		semanticType(semanticType): Text
			index: Text

Are you willing to submit PR?

  • [ ] Yes I am willing to submit a PR!

BBjie avatar Jul 04 '25 07:07 BBjie