Supercharge Your Innovation With Domain-Expert AI Agents!

A multi-platform control correspondence method based on word vector

A word vector, multi-platform technology, applied in the corresponding field of multi-platform controls based on word vector, can solve problems such as difficulty in platform design

Active Publication Date: 2020-04-28
NANJING UNIV
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The latest React Native software seems to let us see the hope of perfect transformation of engineering again, but UI is always a problem that plagues researchers, and the difference in platform design is always difficult to solve

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A multi-platform control correspondence method based on word vector
  • A multi-platform control correspondence method based on word vector
  • A multi-platform control correspondence method based on word vector

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0029] The present invention will be further described below in conjunction with the accompanying drawings.

[0030] Step 1. Find a training set of word vectors composed of English documents related to controls, UI design, and page layout files;

[0031] The biggest advantage of the word vector is that it can record the context of a word, that is to say, the word vector not only records the word itself but also retains the position information of the word on this basis. The word vector trains a large text domain, and records each word in it as a vector. Since the syntactic information of the word is maintained, and the position of a word appears has great chance, so we need to be as far as possible Large training text domain. At the same time, what we need is the characteristics of these words in the field of control correspondence, so the text field we selected is related to the control. The texts we obtained mainly come from the following aspects:

[0032] (1) All introdu...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a multi-platform control correspondence method based on word vectors, comprising the following steps: searching for English documents related to controls, UI design, and page layout files to form a training set of word vectors; using a stanford tool to perform word segmentation on the English documents to obtain Word sequence; use word2vec to perform word vector training on the obtained word sequence, and obtain the vector representation of each word; find the control description text on the platform website; train these description texts into word vectors after word segmentation, and then convert them into sentence vectors; calculate For every distance between two vectors, similar controls are selected. The multi-platform control correspondence found by the present invention according to the official space description can reduce the code that needs to be modified for version replacement on the same platform, and will play a considerable role in recommending the UI part in cross-platform code conversion. In addition, the idea of ​​the present invention can be used as a reference for other engineering designs, especially API correspondence.

Description

technical field [0001] The invention relates to multi-platform code conversion in the field of computer programming, in particular to a multi-platform control correspondence method based on word vectors. Background technique [0002] As the mobile platform version evolves faster and faster, the platform App engineering development cycle continues to increase, and the subject of mobile cross-platform development has returned to people's vision. The latest React Native software seems to let us see the hope of perfect engineering transformation again, but UI has always been a difficult problem for researchers, and the differences in platform design are always difficult to solve. [0003] Generally speaking, we can use the underlying interface to resolve the differences in usage and language. So this article puts aside the usage of UI controls, and just looks for the corresponding relationship of controls. Perhaps, thinking from the perspective of engineering methods makes it ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F40/284G06F40/211G06F40/205G06K9/62
CPCG06F40/211G06F40/205G06F40/284G06F18/22
Inventor 张天潘敏学裴俊宇李宣东
Owner NANJING UNIV
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More