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

83 results about "Syntax error" patented technology

In computer science, a syntax error is an error in the syntax of a sequence of characters or tokens that is intended to be written in compile-time. A program will not compile until all syntax errors are corrected. For interpreted languages, however, a syntax error may be detected during program execution, and an interpreter's error messages might not differentiate syntax errors from errors of other kinds.

Grammer checker

A method for parsing a computerized text, the method including preparing a set of logical rules, using logical grammatical links, for parsing a text, using the logical rules to identify a part of speech of each word of text and all links between the words in the text, and labeling the links as grammatically correct links or grammatically incorrect links for correction, so as to parse substantially every word in the text.
Owner:GADOR DEBORAH ADV +1

Method and apparatus for verifying the contents of a global configuration file

A method and apparatus are provided for determining the validity of a global configuration file. In order to verify the global configuration file, the configuration file is first “flattened.” To flatten the configuration file, the rules in the first block of the configuration file are identified. A settings file is then created with the rules set as true. The normal configuration process is then performed on the configuration file. The resulting settings file constitute the flattened settings for the block and are associated with the block. A determination is then made as to whether any conflicting settings, inconsistently set related settings, or syntax errors exist within the flattened settings. If any such settings do exist, an error message is generated. This process is then repeated for each block in the configuration file so that flattened settings are created for each block. A testing block may also be utilized to identify problems with the settings file generate by the testing block. Reverse queries may also be performed on the settings file. Changes in the flattened configuration files caused by changes in the global configuration file can also be identified. The flattened files may also be used to simplify the server computer configuration process.
Owner:MICROSOFT TECH LICENSING LLC

Processing an object-oriented query to retrieve data from a data source

An object-oriented query to retrieve data from a data source stored on a data storage device connected to a computer is processed. One implementation involves receiving a Java Query Language (JQL) user query, compiling the JQL query using a Java compliant compiler, and detecting any compilation error due to a syntax error in the JQL query. If a compilation error is detected, then informing the user of the compilation error such that the user may correct the syntax error in the JQL query. Otherwise if a compilation error is not detected, then processing the JQL query for execution.
Owner:IBM CORP

System and method for enhancing e-commerce using natural language interface for searching database

A system and method for enhancing e-commerce using a natural language interface. The natural language interface allows the user to formulate a query in a natural language form, rather than in conventional search terms. The natural language interface provides the user with a "user friendly" interface. The natural language interface can process a query even if there is not an exact match between the user formulated search words and the content in the database. Furthermore, the natural language interface is capable of processing misspelled queries or queries having syntax errors. The method for enhancing e-commerce using a natural language interface comprises the steps of accessing a user interface provided by a service provider, entering a query using a natural language interface, the query being formed in a natural language, processing the query by the natural language interface, searching a database using the processed query, retrieving results from the database, and providing the results to the user. The system for enhancing e-commerce on the Internet comprises a user interface for receiving a query in a natural language form, a natural language interface coupled to the user interface for processing the query, a service provider coupled to the user interface for receiving the processed query, and one or more databases coupled to the user interface for storing information, wherein the system searches the databases using the processed query and provides the results to the user through the user interface.
Owner:GO ALBERT FRANCE

Method of teaching a foreign language to a student providing measurement in a context based learning system

InactiveUS20050053900A1Simple methodProvide motivationElectrical appliancesTeaching apparatusSets goalsSyntax error
Method for web based language learning that empowers self-directed learners by introducing measurement within an integrated system of context-based non-didactic learning. Measurement enables self-directed learners to set goals and observe their own achievements; to make sure that learning material matches their specific vocabulary; and to establish a priority for study that suits their needs. Measurability is achieved within a system where words and lexical phrases are chosen by the learner from familiar content in an integrated system of listening, reading, pronunciation, writing and structured conversation. A database system is incorporated which enables the learner to create individual word or phrase card files that are then tagged with additional identifiers for use in creating custom lists to assist in the learning process. Additional feedback is provided by an automated writing correction program that checks for syntax errors in the learner's written work.
Owner:KAUFMANN STEVEN

Encoded stream reproducing apparatus

An encoded stream reproducing apparatus includes a separation unit for receiving a TS and separating a video PES and a sound PES from the TS, and a video decoding unit for decoding a separated video PES. The video decoding unit includes a PES separation unit for separating a PES header from the separated video PES and supplying an ES, ES error detection unit for detecting a syntax error of the ES and discarding an ES including the syntax error and supplying an ES without including the syntax error, and a decoder for decoding an ES supplied from the error detection unit and supplying a video signal.
Owner:KK TOSHIBA

Method and system for user-interactive iterative spell checking

InactiveUS20100275118A1Improves context-spelling resultEnhanced contextSemantic analysisSpecial data processing applicationsSyntax errorComputerized system
The present invention provides a method of correction of misspelled, confused words and grammar errors in a text, as well as a computer system employing this method. The method of the invention is user-interactive, which means that, when implemented by a computer system, the interaction between the user and the system is employed with the aid of the user-system interface. In the method of the invention the method detects misspelled and confused words, where some of the detected confused words could be grammar errors, and provides user with the correction alternatives for each such word. In response, the user can chose an appropriate correction, mark the word as correct or require other correction alternatives. The user-system dialog, which is intended to improve the correctness of the text, is repeated until all the words-in-question are corrected or marked by the user as correct.
Owner:IAKOBASHVILI ROBERT +3

Apparatus for system decoder and method for error correction of packet data

When a non-error-resilient application decoder receives a data stream containing syntax error due to transmission errors, such as packet losses in wireless communication, an application decoder cannot usually continue decoding the stream data anymore. According to the present invention, the data stream containing syntax error along with error correction data generated by error-detectable transmission system is inputted into an error correction part before inputted into the application decoder. The error correction part detects the error position in the data stream using the error detection data, corrects the syntax error in the stream data, and generates a stream data which is possible to be decoded by the application decoder. As a result, the data stream containing syntax error can continue decoding or be decoded in better quality by a non-error-resilient application decoder, without adding any error correcting function in the existing application decoder.
Owner:HITACHI LTD

Event-driven model generated from an ordered natural language interface

A method and system converts statements entered in an ordered natural language into an event-driven model, which may be easily parsed to discover missing or contradictory conditions. A user interface allows a user to enter functional requirements of a design into the system in a well-defined manner. An ordered natural language parser checks each phrase entered by the user for syntax errors and alerts the user of errors or unclear statements. Once any ambiguities are resolved, an engine generates a dynamic event-driven sub model. A parser checks the sub model for logical errors, such as missing or contradictory conditions and alerts the user of the same. A second engine then generates a complete dynamic event-driven model, which can be a combination of several sub models. The complete model can then be simulated and validated.
Owner:CENT RICERCHE FIAT SCPA

Applying abstraction to object markup definitions

Techniques are disclosed for enabling a validating parser to interpret a schema, where that schema may have been extended to multiple levels, and to perform the validation of a structured document according to the extended schema while still allowing a consumer application to request objects or events that are cast at some different level of the schema (including the base schema). Validating the source document according to an extended (i.e., more specific) schema enables improved detection of syntax errors. At the same time, casting objects and events from the parsed document to a level requested by the consumer application allows the consumer to receive only those objects or events for which it is adapted, without requiring the consumer application to include extra code to deal with objects or events it does not recognize in the parser's output. Preferably, the parser simply discards those objects or events which this consumer is not interested in receiving.
Owner:LINKEDIN

Multidimensional data model access method and device

The invention provides a multidimensional data model access method and a multidimensional data model access device. The method comprises the following steps of: receiving and analyzing a statement inputted by a user; converting a query object and query object filtering conditions of the statement into a multidimensional data model query object which can be received by a query engine; and querying a data warehouse according to the multidimensional data model query object, and then generating a query result object. The method and device disclosed by the invention have a syntax error prompt function, thereby facilitating the changes and writing of statements implemented by servicers; the servicers can verify whether an error data model in the data warehouse is configured correctly according to query results; and the accessing of the users to multidimensional data is facilitated.
Owner:BEIJING JOIN CHEER SOFTWARE

Method and apparatus for language learning via controlled text authoring

A method for testing a language learner's ability to create semantically coherent grammatical text in a language, comprising generating text having at least one active region and inactive regions; displaying the text in a graphical user interface on a display unit, wherein at least one active region comprises a key word or phrase; identifying at least one active region in the graphical user interface; selecting at least one active region to display a menu of linguistic choices comprised of at least one grammatically correct linguistic choice and at least one grammatically incorrect linguistic choice; selecting one of the linguistic choices; and displaying an error message when at least one grammatically incorrect linguistic choice is selected.
Owner:XEROX CORP

Method for automatically correcting syntax errors in English composition based on multivariate features

The invention relates to a method for automatically correcting syntax errors in an English composition based on multivariate features. The method comprises a syntax error correcting preprocessing module, a syntax error correcting model training module and a syntax error checking and correcting module, wherein the syntax error correcting preprocessing module carries out part-of-speech tagging of words, syntactic parsing of sentences and word frequency statistics of words for input training texts; the syntax error correcting model training module extracts words and part-of-speech context syntactic features thereof, words and part-of-speech structure-dependent syntactic features thereof and words and part-of-speech syntactic features thereof, calculates syntactic feature weight of words and outputs a statistical model of syntax error correcting for a part-of-speech tagging library of input words, a syntax tree structure library of sentences, a word frequency statistics library of words and a part-of-speech and syntax confusion set of words; and the syntax error checking and correcting module utilizes the statistical model of syntax error correcting and a rule model of syntax error correcting to correct syntax errors in a composition to be corrected and outputs the corrected results of the syntax errors in the English composition. The method can automatically correct eleven kinds of common English syntax errors in the English composition.
Owner:GUILIN UNIV OF ELECTRONIC TECH

Intelligent paper marking implementation method and system based on deep learning and computer program

The invention belongs to the technical field of artificial intelligence, and discloses an intelligent paper marking implementation method and system based on deep learning, and a computer program. Thetest paper of the student is scanned, and test paper information is converted into picture information to be stored in a local computer hard disk; through optical character recognition, a natural scene text detection model is used for detecting the answer positions of subjective questions of examinees, and a text recognition model and a connection main sense time classification model are used forrecognizing text information of the answered contents of the examinees; through natural language processing, subjective question scoring is helped to be carried out by a volume batch person, similarity matching is carried out through word segmentation, spelling and grammar errors are found through semantic analysis of contexts, and the volume batch person is helped to give a score of the test paper. According to the method, the handwritten text can be highly accurately identified, and a volume holder can be helped to correctly score objective questions and subjective questions; the paper inspection time is greatly reduced, the objectivity of an examination is enhanced, and the labor of manpower resources is saved; and the cost loss caused by purchasing an expensive paper marking machine is reduced.
Owner:XIDIAN UNIV

English composition grammatical mistake correction method based on rules

The invention provides an English composition grammatical mistake correction method based on rules. According to the method, an English composition grammatical mistake correction model composed of an English composition preprocessing module, a rule grammatical mistake correction processing module and a grammatical mistake correction result generating module which are sequentially connected is included. After an English composition is processed through the correction model, finally article mistakes, adjective phrase mistakes, prepositional phrase mistakes, pronoun mistakes, verb tense mistakes, verb voice mistakes, irregular verb mistakes, auxiliary verb and modal verb mistakes, subject-verb disagreement mistakes, singular and plural disagreement mistakes, set structure mistakes, conjunction mistakes, word class confusion mistakes, word reuse mistakes, punctuation mark mistakes, abbreviation mistakes and sentence initial case-sensitive mistakes in the English composition can be corrected. The problem that an English composition grammatical mistake statistics correction method is not high in mistake correction precision and has fewer mistake correction types is solved.
Owner:GUILIN UNIV OF ELECTRONIC TECH

Power term named entity identification method and device

PendingCN110232192ANormal grammatical expressionAvoid grammatical errorsNatural language data processingText database queryingConditional random fieldShort-term memory
The embodiment of the invention discloses an electric power term named entity recognition method, which comprises the following steps: acquiring electric power text information, and inputting the electric power text information into a pre-trained word vector model to obtain a mapped text information vector with a preset dimension; inputting the text information vector into a pre-trained bidirectional long-short-term memory network model to obtain a bidirectional feature of the text information vector; and inputting the bidirectional features into a pre-trained conditional random field model, and outputting a mark sequence conforming to a semantic rule to realize entity identification of the power term. According to the invention, the conditional random field model is accessed behind the bidirectional long short-term memory network model; the problem of grammar errors caused by mutual independence of two-way long and short-term memory network model output is avoided, the conditional random field model can consider the sequence of marked text information output, it is guaranteed that output tags conform to normal grammar expression, and the recognition accuracy is guaranteed.
Owner:CHINA ELECTRIC POWER RES INST +3

Text semantic analysis method, text semantic analysis terminal and storage medium

ActiveCN107704453ACorrect understandingCorrect usabilityMetadata text retrievalSemantic analysisText databaseSyntax error
The invention provides a text semantic analysis method, a text semantic analysis terminal and a storage medium. The method comprises the steps of receiving text information input by a user, dividing acharacter string contained in the text information into independent words, and obtaining a word sequence; performing grammar analysis on the divided word sequence, and judging whether a grammar errorexists in the word sequence or not; and converting the words contained in the word sequence into corresponding metadata, calculating semantic similarity between the metadata and feature item weights,extracting a keyword feature item of the word sequence, obtaining a semantic tagged text corresponding to each word, establishing a text database, performing matching in the text database in sequenceaccording to an arrangement sequence of the words in the word sequence to obtain the semantic tagged texts, and performing output display on text information synthesized after sorting. The information is fed back to the user in a metadata format, so that the user can obtain the information fed back by the semantic analysis terminal conveniently and can correctly understand and use the information.
Owner:深圳市前海众兴科研有限公司

Video decoding method

Video decoding methods are disclosed. The video decoding method comprises providing a historical syntax element of a previous video frame, receiving a current video frame to determine a current syntax element therein, determining whether a high-level syntax error is present in the current syntax element, wherein upon detection of the high-level syntax error, determining a replacement syntax element according to the historical syntax element to replace the current syntax element, decoding the replaced current video frame to detect whether there is a missing video frame or undecodable video frame, and upon detection of the missing video frame or undecodable video frame, generating a replacement video frame to substitute for the missing or the undecodable video frame.
Owner:XUESHAN TECH INC

Processing an object-oriented query to retrieve data from a data source

An object-oriented query to retrieve data from a data source stored on a data storage device connected to a computer is processed. One implementation involves receiving a Java Query Language (JQL) user query, compiling the JQL query using a Java compliant compiler, and detecting any compilation error due to a syntax error in the JQL query. If a compilation error is detected, then informing the user of the compilation error such that the user may correct the syntax error in the JQL query. Otherwise if a compilation error is not detected, then processing the JQL query for execution.
Owner:IBM CORP

Computer network defensive strategy conversion-oriented semantic similarity detection system

InactiveCN101950340AAchieving Semantic Consistency IdentificationSmall amount of calculationPlatform integrity maintainanceCyber-attackSyntax error
The invention discloses a computer network defensive strategy conversion-oriented semantic similarity detection system, which comprises a defensive strategy configuration module, a strategy statement processing module, a node-link configuration module, a lexical and syntax analyzing module, a measure statement processing module, a structural similarity calculating module, a key concept pair matching module, a concept similarity calculating module, a CND strategy and measure body module and a similarity accumulation calculating module. A traditional symbol description-based strategy conversion system can only detect lexical and syntax errors before and after conversion, and hardly detects semantic inconsistency before and after strategy conversion comprehensively and automatically. By employing the semantic similarity processing method, the semantic similarity detection system automatically and effectively measures semantic difference before and after the computer network defensive strategy conversion, provides a basis for accurately deploying network defensive measures for semantics, is mainly applied to a computer network defensive system, deploys defensive measures according to a certain condition based on large-scale network attack, and rapidly and effectively fulfills the aim of large-scale defensive measure deployment.
Owner:BEIHANG UNIV

Voice activated payment

A voice-actuated system is described that allows voice authentication of on-line secure commands, such as purchases, by one or more designated users. It allows for an account to have multiple signatories that are required to approve a secure command. A user speaks commands into a local microphone, or in another embodiment, into a mobile device. A command recognition device identifies a secure command and sends it to a spectrum / cadence device to analyze spectrum and / or cadence. Also, the voice input may be sent to a word count / grammar device to analyze word counts and grammar errors to identify the user. Once identified, the account of user may be found and contact information for other signatories is acquired. The signatories are contacted and their identities are verified by comparison of their voices to pre-stored voice samples of the signatories.
Owner:WALMART APOLLO LLC

Intelligent contract real-time debugging method based on container

The invention discloses an intelligent contract code real-time debugging method based on a container. The main debugging process comprises the following steps: 1) inputting an intelligent contract code by a user; 2) the front-end system detects contract codes according to the configured rules, and feeds back the result whether the codes meet the standard or not; 3) a contract code is pulled from the Docker container, grammatical analysis is carried out, an intelligent contract is compiled, abi corresponding to the contract is acquired, and meanwhile, a compilation result and a grammatical error are fed back; 4) if the contract code is compiled successfully in the step 3), deploying the contract into a Hyperchin alliance chain; 5) if the contract code compilation in the step 3) fails, feeding back a failure result and giving a modification suggestion; and 6) if the contract is deployed successfully in the step 4), starting a debugging process of the contract code, capturing contract parameters input by the user, and returning a contract calling result. Compiling, deploying and debugging of the intelligent contract are integrated, so that the problem that debugging of the intelligentcontract code is not convenient and fast enough is solved.
Owner:HANGZHOU QULIAN TECH CO LTD

Automatic generation method and system for test script

The invention provides an automatic generation method and system for a test script. After a logic expression is obtained and a mapping relationship between a decision condition and an ICD (Interface Control Document) variable is obtained, a test case set corresponding to the logic expression is generated, and the ICD variable corresponding to each decision condition in the logic expression is determined according to the mapping relationship between a decision condition and the ICD variable; and on the basis, according to the ICD variable corresponding to each decision condition in the logic expression and the test case set, generating the test script corresponding to each test case in the test case set. Obviously, an automatic test script generation scheme is realized, the generation efficiency of the test script can be effectively improved, and the introduction of manual errors including grammatical errors, semantic errors and the like can be avoided.
Owner:BEIJING RUNKE GENERAL TECH

Chinese grammar error correction method based on generative adversarial network

The invention discloses a Chinese grammar error correction method based on a generative adversarial network, and belongs to the field of information processing. The method is characterized by comprising the following steps of: generating a correction statement by utilizing a generation network; calculating a loss function by utilizing the discriminant network, and optimizing the generation network; judging a sentence correction source by utilizing a judgment network; optimizing the discrimination network; and the generation network and the discrimination network are iteratively optimized continuously. Through the generative adversarial network, the Chinese grammar error correction effect is improved, and the method has great use value.
Owner:BEIJING UNIV OF POSTS & TELECOMM

Relay protection logical equation analyzing method

The invention discloses a relay protection logical equation analyzing method which comprises the following steps of: writing a logical equation according to a relay word database; analyzing morphology and the logical equation into a node structure; detecting the syntax error in the equation through virtual execution; establishing an execution unit module; generating a logical equation parameter; executing the logical equation by a relay protecting device according to the logical equation parameter; and triggering an outlet according to the execution result of the logical equation. In the relay protection logical equation analyzing method, the logical equation is established according to relay words, and analyzed and executed by an analyzing module and an executing module; and the outlet of a relay protector is triggered by using the execution result of the logical equation. The logical equation analyzing method has high executing speed and meets the high real-time requirement of the relay protection system; and based on the programmable relay protector developed by the method not only reduces the models of the relay protector, but also simplifies the working amount of maintenance on site.
Owner:GUANGZHOU TOSHIBA BAIYUN ELECTRICAL EQUIP

Program sending controlling apparatus, program sending controlling method and program

Disclosed herein is a program sending controlling apparatus, including: a retaining section adapted to retain a playlist in which cues which are progressing units of a program are disposed in a time series; an apparatus controlling section adapted to control on-air of a broadcasting-related apparatus based on the playlist; an editing section adapted to edit the playlist; a detection section adapted to detect, in response to editing carried out for the playlist corresponding to the program, presence or absence of a syntax error in the playlist; and a display controlling section adapted to cause the playlist corresponding to the program to be displayed and cause, when the syntax error is detected, an error indication to be displayed at a position of that one of the cues of the displayed playlist which corresponds to the detected syntax error.
Owner:SONY CORP

Local sensitive program analysis method based on abstract syntax tree and theorem proof

The invention discloses a local sensitive program analysis method based on an abstract syntax tree and theorem proof. The local sensitive program analysis method comprises the steps of constructing the abstract syntax tree AST without syntax errors for program codes; traversing an abstract syntax tree AST of the program code, collecting a to-be-detected node and related nodes of the to-be-detectednode, forming a related logic expression of the to-be-detected node according to the to-be-detected node and related node information, and inputting the related logic expression into a theorem prover; and the theorem prover solves the to-be-detected node through the logic expression, and if an abnormal condition exists in the solved to-be-detected node value, judging that the program has a semantic defect. According to the method, by collecting the local context and the local path information of the program node, some wrong alarms are avoided, the usability is improved, semantic defect detection of the program code is achieved, and the problem that a traditional symbolic execution tool is long in time consumption for analyzing the code due to path explosion is solved.
Owner:安徽中科国创高可信软件有限公司

Client with flexible grammar-base syntax

Described are techniques for obtaining grammar updates. A grammar service receives a notification regarding a grammar update applied to a target. The grammar update is an update to a command syntax used by said target. The grammar service sends an update request to said target to obtain said grammar update. The target sends to the grammar service an update response including said grammar update. Also described are techniques for processing a command line. One of a plurality of rule sets is selected. The command line is parsed at said client using said selected rule set. If parsing did not result in a syntax error, a command request is sent from said client to said target. In response, the client receives a command response including information regarding a version of syntax rules currently used on said target.
Owner:EMC IP HLDG CO LLC

Method of correcting job control language job errors

A method of correcting job control language (JCL) jobs scans a JCL job against a set of JCL syntax rules. The method automatically corrects any syntax errors discovered during the scanning, thereby forming a corrected JCL job. The method then runs the corrected JCL job. If the corrected JCL ends abnormally due to an execution error, the method then automatically determines if the execution error is recoverable. If the execution error is recoverable, the method automatically corrects the recoverable error to form a recovered corrected JCL job. The method reruns the recovered corrected JCL job.
Owner:IBM CORP

Processing program interpreter implementation method for numerical control system with single motor to drive multiple shafts

The invention relates to a processing program interpreter implementation method for a numerical control system with a single motor to drive multiple shafts, which comprises the following steps of: reading processing program codes, and performing syntax analysis on all the processing program codes to obtain processing program data meeting requirements of syntax internal forms; and explaining the processing program data to achieve order forms which can be recognized by the numerical control system. The syntax analysis performed on the all processing program codes comprises opening a processing program or inputting a row of processing codes in magnetic detection indicator (MDI) mode; reading in a row of numerical control (NC) programs in the row of processing codes, performing formatting treatment, and converting into forms meeting requirements of internal forms to store; performing syntax check on the internal forms to judge whether syntax errors exist; and continuing steps of judging types of codes if syntax errors do not exist. The method improves execution efficiency of a machine tool. Under the situation that external machine tools may change, state information in the interpreter can be synchronously upgraded in real time through the interpreter, thereby guaranteeing accurate and efficient running of the interpreter.
Owner:中国科学院沈阳计算技术研究所有限公司
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