An API knowledge graph construction method based on a reference document
A knowledge map and construction method technology, applied in the field of software engineering and intelligent software development, can solve the problems of inability to obtain targeted knowledge services, lack of API knowledge base to provide support, etc.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0035] The following describes the present invention further for the construction of the API knowledge graph of JDK 1.8 and Android API 27.
[0036] (1) Structural knowledge extraction of API elements. Use the Python library Scrapy to automatically crawl the JDK 1.8 and Android API 27 reference documents in the form of web pages, and then use the Python library Beautiful Soup to implement a web page wrapper that parses the API reference documents to extract the structural knowledge of API elements.
[0037](2) Automatic classification of API descriptive sentences. Use the Python library Beautiful Soup to convert the description text in HTML format into a plain text description, and use the Python library Spacy to perform text preprocessing such as part-of-speech tagging, stemming, sentence component analysis, and dependency tree analysis. Then use the open source tool Word2Vec provided by Google to train the word vector, and the trained model chooses the CBOW (Continuous Bag-...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com