Patents
Literature
Hiro is an intelligent assistant for R&D personnel, combined with Patent DNA, to facilitate innovative research.
Hiro

46 results about "Snippet" patented technology

Snippet is a programming term for a small region of re-usable source code, machine code, or text. Ordinarily, these are formally defined operative units to incorporate into larger programming modules. Snippet management is a feature of some text editors, program source code editors, IDEs, and related software. It allows the user to avoid repetitive typing in the course of routine edit operations.

SQL code generation for heterogeneous environment

ActiveUS20050028134A1Avoiding runtime interpretationAnalysis latencyData processing applicationsDigital data information retrievalDatabase queryExecution plan
This invention relates generally to a system for processing database queries, and more particularly to a method for generating high level language or machine code to implement query execution plans. In one preferred embodiment, the method begins by receiving a subject query, and then forming an execution plan corresponding to the subject query. The execution plan will typically have a sequence of component snippets or pieces and corresponding processes for implementing the pieces. For at least one piece in the plan, the process then (a) generates source code using different code generation techniques as a function of expected runtime processing machine types; and then (b) compiles the generated source code to form machine executable code for implementing the subject query. As a result, the query executed directly as machine executable code thereby avoiding runtime interpretation of the pieces in the execution plan.
Owner:IBM CORP

Comparative web search system and method

A system and method for a comparative web search engines, search result summarization, web snippet processing, comparison analysis, information visualization, meta-clustering, and quantitative evaluation of web snippet quality are disclosed. The present invention extends the capabilities of web searching and informational retrieval by providing a succinct comparative summary of search results at either the object or thematic levels.
Owner:WRIGHT STATE UNIVERSITY

Modular object serialization architecture

Methods, systems, and computer program products to serialize user interface objects having custom object types and serialization formats. A serialization manager may coordinate standard serialization providers to identify standard serializers for standard object types or serialization formats, and as needed, may be extended by loading custom serialization providers to identify custom serializers for custom object types or serialization formats, which may not be covered by the standard serialization providers. From available serialization providers, the serialization manager identifies a serializer for a particular serialization format and object type. The object, custom or standard, is serialized using the identified serializer to a custom or standard format, including source code representations, XML representations, etc. Certain serialization formats produce a snippet of code without producing a class representation of an object. To help coordinate and enhance modularity among serializers and their providers; the serialization manager may maintain and share context information.
Owner:MICROSOFT TECH LICENSING LLC

Animated snippets for search results

Methods, systems, and apparatus, including computer programs encoded on a computer storage medium, for generating and providing animation snippets. In one aspect, a method includes determining page resources that each include a plurality of persistent visual resources, for each of the determined page resources, generating one or more animation snippets from the persistent visual resources, for a page resource for which one or more animation snippets have been generated, selecting one of the animation snippets for display as a search result that identifies the page resource as being responsive to a search query; and providing animation snippet to a user device from which the query was submitted.
Owner:GOOGLE LLC

Generating snippet for review on the internet

A method and system for generating snippet for review on the Internet. The method includes the steps of: receiving a review and a set of feedbacks corresponding to the review, where the review includes a plurality of evaluating sentences that evaluates product features of a product; calculating support degrees of each of the plurality of evaluating sentences by using the set of feedbacks; extracting, by relying on calculated support degrees of each of the evaluating sentences, at least one of the evaluating sentences from the plurality of evaluating sentences; and designating extracted evaluating sentence as a snippet of the review; where at least one of the steps is carried out by using a computer device.
Owner:AIRBNB

Code snippet recommendation method based on sequence-to-sequence model

The invention discloses a code snippet recommendation method based on a sequence-to-sequence model. The method comprises the steps of collecting and cleaning code snippets and corresponding queries; extracting code information; performing an identifier replacement operation on the code snippets; combining the code snippets after the identifier replacement operation and the corresponding queries into a set of (code, query) pairs, and taking the set as a training set of a query generation model; training a query generation model by using the sequence-to-sequence model; generating a query for thecode snippets of the recommendation code library; inputting a query, and executing similarity calculation between the query and the generated query; and according to a similarity calculation result,constructing a generated query list according to a descending order of similarity scores, and retrieving code snippets corresponding to queries in the list from a recommendation code library to serveas code snippet recommendation results. The method is superior to some existing research works, the code snippet recommendation effect can be effectively improved, and the software development efficiency is improved.
Owner:NANJING UNIV OF AERONAUTICS & ASTRONAUTICS

Real-time generation of speech animation

PendingUS20220108510A1Improve real-time generationAnimationSpeech recognitionAnimationSpeech input
To realistically animate a String (such as a sentence) a hierarchical search algorithm is provided to search for stored examples (Animation Snippets) of sub-strings of the String, in decreasing order of sub-string length, and concatenate retrieved sub-strings to complete the String of speech animation. In one embodiment, real-time generation of speech animation uses model visemes to predict the animation sequences at onsets of visemes and a look-up table based (data-driven) algorithm to predict the dynamics at transitions of visemes. Specifically posed Model Visemes may be blended with speech animation generated using another method at corresponding time points in the animation when the visemes are to be expressed. An Output Weighting Function is used to map Speech input and Expression input into Muscle-Based Descriptor weightings
Owner:SOUL MACHINES LTD

Deep learning architecture for analyzing unstructured data

A model-assisted system for determining probabilities associated with a patient attribute. The processor may be programmed to access a database storing an unstructured medical record associated with a patient and analyze the medical record to identify snippets of information associated with the patient attribute. The processor may generate, based on each snippet, a snippet vector comprising a plurality of snippet vector elements comprising weight values associated with at least one word included in the snippet. The processor may analyze the snippet vectors to generate a summary vector comprising a plurality of summary vector elements, wherein each of the plurality of summary vector elements is associated with a corresponding snippet vector element and is determined based on an analysis of the corresponding snippet vector element. The processor may further generate, based on the summary vector, at least one output indicative of a probability associated with the patient attribute.
Owner:FLATIRON HEALTH INC

Program semantic confusion method and system based on natural language processing

PendingCN114580371AAchieving Semantic InductionAchieving vague obfuscation purposesNatural language data processingProgram/content distribution protectionReverse analysisEngineering
The invention belongs to the technical field of network security, and particularly relates to a program semantic confusion method and system based on natural language process.The method comprises the steps that firstly, a text sequence used for describing a program execution process is extracted from a flow description text corpus, and a confusion corpus material library with induction and fuzzy functions is constructed; secondly, vectorizing the target program code snippets, selecting text sequences irrelevant to the target program code snippets from the obfuscated corpus material library according to the semantic information as prompt output class codes, and fusing the prompt output class codes to the positions of the target program code snippets; according to the method, the semantic confusion corpus with inductivity and fuzziness is fused into the target code, the confusion code with semantic analysis resistance is generated, understanding of reverse analysts on real functions of a program can be misguided, the code understanding difficulty is increased, legal software can be effectively prevented from being pirated or maliciously tampered, and the method has good application prospects.
Owner:PLA STRATEGIC SUPPORT FORCE INFORMATION ENG UNIV PLA SSF IEU

Method and apparatus for query formulation

To the standard operations of an inverted index database, a new “To” operator is added. The “To” operator treats the standard single-level linear collection of records as being organized into localized clusters. Techniques for hierarchical clusters are presented. During indexing, hierarchical clusters are serialized according to a uniform visitation procedure. Serialization produces bit maps, one for each hierarchical level, that preserve the hierarchical level of each record and its location in the serialization sequence. The “To” operator accepts a list of records, each at a same hierarchical level in a cluster, and a specification of a hierarchical level that all the input records should be converted into. The “To” operator outputs a list of records, representing a conversion of the input records to the specified new level.When searching a Corpus-of-Interest for an Object-of-Interest, techniques are presented for greatly improving the process by which Exclude Terms are identified. Exclude Terms are particularly useful when the lexical units, representing an Object-of-Interest, are ambiguous. When in the mode of searching for Exclude Terms, the Object-of-Interest of interest is sought, in the Corpus-of-Interest, in a broader context than when the Exclude Terms are utilized as part of an actual query. The Object-of-Interest can match anywhere in a snippet, rather than just in the focus sentence. Using the “To” operator, the focus sentences thus found are converted into role values. Statistical sampling of the role values may be used to reduce the data for the next step of processing. The role values are subjected to frequency and cluster analysis, at the lexical unit level, in order to identify candidate Exclude Terms that a user can select. Frequency and clustering information, is presented to the user, to aid in the decision process. The search for Exclude Terms can be repeated, using the Exclude Terms located thus far.
Owner:NETBASE SOLUTIONS INC

Interface management method and device, terminal equipment and medium

The invention discloses an interface management method and device, terminal equipment and a medium. The interface management method comprises the steps: adding to-be-processed items created by different ways to a terminal interface; adding the notes created by different ways to the terminal interface; and accessing the terminal interface in response to at least one trigger operation, and editing and managing the terminal interface. According to the interface management method provided by the invention, the functions of newly creating notes, checking existing notes, newly creating to-be-handled notes, checking existing to-be-handled notes, and editing and managing existing to-be-handled notes, snippets and continuous snippets are integrated on the terminal interface, the functions are powerful, partition is reasonable, operation is easy, and typesetting is elegant.
Owner:BEIJING XIAOMI MOBILE SOFTWARE CO LTD

System and method for identifying open source usage

A method, system and computer program product, the method comprising: obtaining one or more source files to be examined for open source usage; extracting partial representation of a source file from the source files; creating fingerprints from the partial representation; encoding the fingerprints into characteristics; issuing a query to a database for retrieving from an open source and characteristics index one or more open source files associated with the characteristics; receiving a response including the retrieved open source file; checking whether the source file comprises a snippet from the open source file; and subject to the source file comprising the snippet, outputting an identification of the open source file.
Owner:WHITESOURCE LTD

Method for Converting Source Code into Numeric Identifiers and Comparison Against Data Sets

ActiveUS20200097283A1Reduce data footprintDatabase searches are simplifiedCode refactoringText database indexingCode generationData set
Systems and methods for identifying a characteristic of an input code by converting the input code into simplified code and using the simplified code to generate snippets that can be compared to code in a database. Preferably, code is simplified by at least one of: unifying of capitalization, removing characters, and replacing at least one of a character and a keyword with an identifier.
Owner:SNYK SWEDEN AB

Indexing and accessing source code snippets contained in documents

Systems and methods for indexing and accessing code snippets in repositories. A program graph index is maintained for code snippets within a repository with documents that have at least one code snippet. The program graph index includes a program graph indicating a relationship between program elements within each source code snippet within the documents. A user provided code snippet is received and a target program graph indicating a relationship between program elements within the user provided code snippet is determined and compared to each respective program graph. Based on the comparison, an identified set of documents within the repository of documents is determined that have code snippets with respective program graphs that are also at least a sub-tree of the target program graph. At least one document in the identified set of documents is presented to a user.
Owner:IBM CORP

Template-based snippet and presentation of multimedia performance

Disclosed herein are computer-implemented method, system, and computer-readable storage medium embodiments for implementing template-based snippet and presentation of multimedia performance technology. An embodiment includes at least one computer processor configured to retrieve a first content instance and corresponding first metadata. The first content instance may include a first plurality of structural elements, wherein at least one structural element corresponds to at least a portion of the first metadata. An embodiment may also include selecting a first template including a first set of parameters. A parameter of the first set of parameters may be adapted to at least one structural element. The application parameter (s) of the first template may be actively associated with at least a portion of the first metadata corresponding to the at least one structural element. The first instance of content may be translated by a rendering engine running on at least one computer processor.
Owner:SMULE

Automated identification of code changes

Implementations are described herein for automatically identifying, recommending, and / or effecting changes to a legacy source code base by leveraging knowledge gained from prior updates made to other similar legacy code bases. In some implementations, data associated with a first version source code snippet may be applied as input across a machine learning model to generate a new source code embedding in a latent space. Reference embedding(s) may be identified in the latent space based on their distance(s) from the new source code embedding in the latent space. The reference embedding(s) may be associated with individual changes made during the prior code base update(s). Based on the identified one or more reference embeddings, change(s) to be made to the first version source code snippet to create a second version source code snippet may be identified, recommended, and / or effected.
Owner:GOOGLE LLC

Method and apparatus for defining a navigable area of an indoor space using location trace snippets

A method, apparatus and computer program product are provided to generate or modify information about a navigable area of an indoor space. In the context of a method, location data is received or determined for a plurality of location trace snippets associated with one or more mobile devices. Each location trace snippet of the plurality of location trace snippets respectively represents a plurality of respective locations of a respective mobile device within the indoor space over a respective limited period of time. The respective limited period of time associated with a location trace snippet may be defined based upon satisfaction of a trigger condition. Based on the location data for the plurality of location trace snippets, the method also generates or modifies information about one or more navigable areas of the indoor space.
Owner:HERE GLOBAL BV

A short audio computer-aided production method and system

The invention discloses a short audio frequency computer-aided production method and system. The method comprises the following steps of: calculating the multi-dimensional program content characteristic information of the audio program to be processed on time segments of different granularity; Fusing the multi-dimensional program content characteristic information corresponding to each time segment of the audio program; According to the fused multi-dimensional program content characteristic information and the corresponding time snippet, the audio program to be processed is graphically displayed for reference by editors to edit, listen to and confirm the short audio frequency. The invention provides a short audio auxiliary production method and a short audio auxiliary production system, which can assist editors to rapidly produce the short audio required, improve the short audio production efficiency and reduce the production cost, and reduce the likelihood of missing high-quality content from artificially edited short audio.
Owner:阿基米德(上海)传媒有限公司

Front-end code generation method and device, electronic equipment and storage medium

The invention discloses a front-end code generation method and device, electronic equipment and a storage medium, and is applied to the field of big data or finance. The method comprises the following steps: acquiring an initial fragment of a front-end code to be written currently in a static page, extracting a code tag from the initial fragment, searching master code fragments all related to the code tag from a code database based on the code tag, and determining a target master code fragment with the highest weight value as the front-end code to be written currently. Therefore, the common front-end codes are stored in the code database in the form of the master code snippets, so that when a developer compiles similar front-end codes again, the corresponding front-end codes can be directly obtained from the code database based on the initial snippets of the front-end codes to be compiled at present, therefore, repeated work caused by writing repeated codes by developers is effectively reduced, and the generation efficiency of the front-end codes is improved.
Owner:BANK OF CHINA

Cloning consistency change prediction method and system based on hierarchical neural network

The invention relates to a cloning consistency change prediction method and system based on a hierarchical neural network, and the method comprises the following steps that: a preprocessing module carries out the preprocessing of code snippet data, converts a code snippet into an abstract syntax tree form, and carries out the coding of nodes on the syntax tree through word2vec, and obtains a coding snippet; a code snippet feature extraction neural network module establishes a code snippet feature extraction neural network and extracts feature information of code snippets; a clone group feature extraction neural network module establishes a clone group feature extraction neural network, fuses the feature information of the code snippets and extracts the feature information of clone groups; a clone evolution feature extraction neural network module establishes a clone evolution feature extraction neural network, fuses feature information of a clone group and extracts feature information of clone evolution; and an evaluation module evaluates the clone evolution feature information by using a ten-fold cross validation method, and outputs the accuracy rate, the recall rate and the F1 value of a prediction result.
Owner:GUANGDONG UNIV OF TECH

Code conflict elimination method and device and storage medium

The invention discloses a code conflict elimination method and device and a storage medium, and relates to the technical field of computers, the probability that code snippets deviate from reserved snippets can be determined through code editing data of developers, and therefore code conflicts can be eliminated on the basis of the probability that the code snippets deviate from the reserved snippets. The code snippets with conflicts do not need to be compared manually, the efficiency of eliminating the code conflicts can be greatly improved, and therefore the development efficiency of software products can be improved. The method comprises the steps that under the condition that it is determined that at least two code snippets have code conflicts, at least one kind of code editing data of developers corresponding to the code snippets is obtained; determining code maturity of the code snippets based on the at least one type of code editing data; the code maturity is used for representing the probability that the code snippets deviate from the reserved snippets; and based on the code maturity, code conflicts are eliminated.
Owner:AGRICULTURAL BANK OF CHINA

Systems and methods for automatically generating content summaries for topics

A method of automatically generating content summaries for topics includes receiving a taxonomy for a concept and a text corpus. The method further includes generating an annotated dataset having termannotations corresponding to the concept from the text corpus based on the taxonomy, parsing the annotated dataset into a custom generated document object having a structured layout, determining features for the term annotations, and extracting snippets from the custom generated document object, where each of the snippets corresponds to a section of the custom generated document object. The method further includes scoring the snippets based on the features such that each of the snippets corresponds to a score, filtering one or more snippets from the snippets when one or more snippet filteringconditions is met, ranking the snippets into an ordered list for the concept based on the score, and providing, to a user computing device, the ordered list.
Owner:ELSEVIER
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products