Automated Natural Language to DRL Syntax Conversion
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Not all business management systems, such as JBoss, can write business rules in natural language, requiring manual conversion to DRL language, which is labor-intensive and costly.
Innovation Solution
A language conversion apparatus and method that uses syntax definition information and a syntax analysis device to automatically convert business rule statements from natural language into DRL language sentences by matching syntax elements and converting element variables, allowing for flexible conversion based on control syntax types and nested structures.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Measurement precision
If manual conversion from natural language to DRL language is performed, then conversion accuracy can be maintained, but labor and time costs increase significantly
Solution Approach 1:
The patent introduces syntax analysis devices and conversion rule sets as intermediary components between natural language input and DRL language output. These intermediaries automatically analyze the syntax structure of natural language business rules, match them against predefined conversion patterns, and generate corresponding DRL language sentences, thereby eliminating manual conversion while maintaining accuracy through systematic rule-based transformation
Solution Approach 2:
The patent replaces the mechanical manual conversion process with an automated computational system. The syntax analysis device and conversion rules constitute a mechanical (automated) system that processes natural language input and generates DRL output without human intervention, substituting the manual mechanical process with an automated information processing system that reduces time while preserving conversion quality
2Productivity
If automated conversion from natural language to DRL language is implemented, then labor costs are reduced, but conversion accuracy may deteriorate
Solution Approach 1:
The patent applies preliminary action by pre-defining comprehensive conversion rule sets and syntax patterns before the actual conversion process. The system stores multiple conversion rules that cover various natural language syntax structures, and these pre-prepared rules are then applied during automated conversion to ensure accuracy. The preliminary preparation of conversion templates and syntax definitions enables the automated system to maintain precision while achieving high productivity
Solution Approach 2:
The syntax analysis device incorporates feedback mechanisms by analyzing the input natural language structure, matching it against predefined patterns, and adjusting the conversion process based on the matched syntax type. The system provides feedback loops where conversion results can be validated against expected DRL language structures, ensuring accuracy is maintained while enabling automated high-speed conversion
3Adaptability or versatility
If comprehensive syntax analysis is performed to handle various control syntax types, then conversion flexibility improves, but system complexity increases
Solution Approach 1:
The patent segments the complex syntax analysis task into distinct components by categorizing control syntax into separate types (e.g., conditional syntax, loop syntax, variable assignment). Each syntax type has its own dedicated conversion rules and analysis patterns stored in the conversion rule set. This segmentation allows the system to handle diverse syntax structures flexibly while managing complexity through modular organization of conversion rules
Solution Approach 2:
The patent implements universality by designing a unified conversion framework that can handle multiple syntax types through a single set of conversion rules. The syntax analysis device uses a universal rule-matching mechanism that adapts to different control syntax types without requiring separate processing systems. This multi-functional approach enables conversion flexibility across various syntax structures while avoiding the complexity of multiple specialized systems
Data Source
AI summary
Business rule statements written in a natural language are automatically converted into DRL language sentences. A language conversion apparatus 10 includes: a storage device 16 that stores syntax definition information 30 for defining syntaxes to convert a business rule statement written in a natural language into a DRL language sentence on a syntax basis, and conversion information 40 for converting element variables of the business rule statement into element variables of the DRL language sentence; and a CPU 11 that analyzes a syntax of the business rule statement by comparing the business rule statement with the syntax definition information 30 and converts the business rule statement into the DRL language sentence by referring to the conversion information 40.


