The present invention relates generally to a regular rule learning system, and more particularly, but not by way of limitation, to a system for learning regular structure over natural languages with variable lexical classes.
Mapping verbal usage to regular expressions have been considered. Conventional techniques proved that regular expressions extracted corpora can be learned and they are instrumental to a wide range of applications involving semantic processing. Such conventional techniques involve using of ontological categories.
Other conventional techniques rely on bags of words (i.e., a fixed number of lexical features) in order to predict the meaning of input content.
However, there is a technical problem with the conventional techniques that the ontological categories hinder the accuracy of the proposed method and the reliance on bag of words can limit the prediction of ambiguous terms.
The inventors have considered the technical solution to the technical problem by using variable lexical classes which supersede the use of ontological classes. In proceeding so, the inventors have considered to individuate the meaning relevant context for word sense disambiguation for verbal phrase and to represent it under the form of a pattern such the accuracy and the applicability of method increases significantly. Further, instead of relying on bag of words as in conventional techniques, the proposed technical solution by the inventors identifies what feature of the context contribute to the meaning of its components in that the patterns represent lexical information gather by clustering specific context. At divergence with previous techniques as realized by the inventors, which assume a fix number of lexical feature, the technical solution allows an indefinite number of lexical features to be used.
In an exemplary embodiment, the present invention can provide a regular rule learning system including an analyzing circuit configured to analyze a corpus of sentences stored in a database to discover lexical features and conjunctively create a regular set of rules based on the discovered lexical features and syntactical features.
Further, in another exemplary embodiment, the present invention can provide a regular rule learning method including analyzing a corpus of sentences stored in a database to discover lexical features and conjunctively create a regular set of rules based on the discovered lexical features and syntactical features.
Even further, in another exemplary embodiment, the present invention can provide a non-transitory computer-readable recording medium recording a regular rule learning program, the program causing a computer to perform: analyzing a corpus of sentences stored in a database to discover lexical features and conjunctively create a regular set of rules based on the discovered lexical features and syntactical features.
There has thus been outlined, rather broadly, an embodiment of the invention in order that the detailed description thereof herein may be better understood, and in order that the present contribution to the art may be better appreciated. There are, of course, additional exemplary embodiments of the invention that will be described below and which will form the subject matter of the claims appended hereto.
It is to be understood that the invention is not limited in its application to the details of construction and to the arrangements of the components set forth in the following description or illustrated in the drawings. The invention is capable of embodiments in addition to those described and of being practiced and carried out in various ways. Also, it is to be understood that the phraseology and terminology employed herein, as well as the abstract, are for the purpose of description and should not be regarded as limiting.
As such, those skilled in the art will appreciate that the conception upon which this disclosure is based may readily be utilized as a basis for the designing of other structures, methods and systems for carrying out the several purposes of the present invention. It is important, therefore, that the claims be regarded as including such equivalent constructions insofar as they do not depart from the spirit and scope of the present invention.
The exemplary aspects of the invention will be better understood from the following detailed description of the exemplary embodiments of the invention with reference to the drawings.
The invention will now be described with reference to
With reference now to
Although the regular rule learning system 100 includes various circuits, it should be noted that a regular rule learning system can include modules in which the memory 190 stores instructions to cause the processor 180 to execute each module of regular rule learning system 100.
Also, each circuit can be a stand-alone device, unit, module, etc. that can be interconnected to cooperatively produce a transformation to a result.
With the use of these various circuits, the regular rule learning system 100 may act in a more sophisticated and useful fashion, and in a cognitive manner while giving the impression of mental abilities and processes related to knowledge, attention, memory, judgment and evaluation, reasoning, and advanced computation. That is, a system is said to be “cognitive” if it possesses macro-scale properties—perception, goal-oriented behavior, learning/memory and action—that characterize systems (i.e., humans) that all agree are cognitive.
Cognitive states are defined as functions of measures of a user's total behavior collected over some period of time from at least one personal information collector (including musculoskeletal gestures, speech gestures, eye movements, internal physiological changes, measured by imaging circuits, microphones, physiological and kinematic sensors in a high dimensional measurement space) within a lower dimensional feature space. In one exemplary embodiment, certain feature extraction techniques are used for identifying certain cognitive and emotional traits. Specifically, the reduction of a set of behavioral measures over some period of time to a set of feature nodes and vectors, corresponding to the behavioral measures' representations in the lower dimensional feature space, is used to identify the emergence of a certain cognitive state(s) over that period of time. One or more exemplary embodiments use certain feature extraction techniques for identifying certain cognitive states. The relationship of one feature node to other similar nodes through edges in a graph corresponds to the temporal order of transitions from one set of measures and the feature nodes and vectors to another. Some connected subgraphs of the feature nodes are herein also defined as a cognitive state. The present application also describes the analysis, categorization, and identification of these cognitive states by means of further feature analysis of subgraphs, including dimensionality reduction of the subgraphs, for example by means of graphical analysis, which extracts topological features and categorizes the resultant subgraph and its associated feature nodes and edges within a subgraph feature space.
Although as shown in
The analyzing circuit 101 analyzes the corpus of sentences 130 stored in the database 120 to find a set of rules that is regular. That is, the corpus of sentences 130 include two classes of a syntactical class and a lexical class. The syntactical classes are a given parameter. The analyzing circuit 101 identifies the lexical features around ambiguous words in the corpus of sentences 130 to give meaning to the ambiguous words. The analyzing circuit discovers the lexical features of the corpus of sentences. In other words, the lexical features are an unknown parameter that the analyzing circuit 101 discovers. The analyzing circuit 101 further uses the structure of the sentence found from the syntactical class that is given (i.e., subject, verb, etc.) in conjunction with the analyzed lexical features to create a regular rule such that semantical meaning for the sentence is determined.
The analyzing circuit 101 discovers the lexical features of the corpus of sentences 130 based on lattice algebra to infer automatically from the corpus of sentences 130 and the set of concepts that are required. The analyzing circuit 101 expresses the difference between different senses via the concepts and their syntactic positions. In other words, the analyzing circuit 101 determines relationships between senses of words in the corpus of sentences 130 such that it is determined what each word contributes to the entire sentence (i.e., the lexical features).
In theoretical computer science and formal language theory, a regular language (also called a rational language or a regular rule) is a formal language that can be expressed using a regular expression, in the strict sense of the latter notion used in theoretical computer science. A regular language can be defined as a language recognized by a finite automaton. The equivalence of regular expressions and finite automata is known as Kleene's theorem.
The analyzing circuit 101 creates a plurality of regular rules based on the corpus of sentences 130 in the database 120. It is noted that a regular rule does not depend on history or on applying any other rules. That is, the regular rules can be used to predict the meaning of a user input without referring to the database 120 and independently of any other rule.
The analyzing circuit 101 uses the pseudo algorithm described hereafter to determine the lexical features and create the regular rules.
The analyzing circuit 101 receives a corpus “C” and parses the corpus “C” (Step 1). For each noun, the analyzing circuit determines the most frequent verbs that co-occur with it (Step 2). Next, the analyzing circuit 101 considers the set of nouns that are conceptually equivalent with a set of verbs for Formal Conceptual Analysis definition of a concept (Step 3). Following Step 3, the analyzing circuit 101 clusters the verbs and the nouns in a concept such that a Wordnet distance is minimal and the concept is maximal (Step 4). To each cluster, the analyzing circuit 101 assigns a generic lexical feature named “LF1”, “LF2”, . . . , “LFn” (Step 5). The analyzing circuit 101 builds the lattice of concepts as Formal Conceptual Analysis lattice of concepts (Step 6). Then, the analyzing circuit 101 compares the lattice with ontology as a statistics measure on partial order (Step 7). The analyzing circuit 101 then returns to step 4 and determines if the differences are bigger than a given threshold when compared to the Wordnet. If not, then the Analyzing circuit outputs a set of lexical classes associated with the nouns as ““LF1”, “LF2”, . . . , “LFn” (Step 9).
The receiving circuit 102 receives a user input 140 of a sentence or phrase.
Based on the user input 140 received by the receiving circuit 102, the predicting circuit 103 predicts the semantic meaning of the user input 140 according to the plurality of regular rules created by the analyzing circuit.
Therefore, the analyzing circuit 101 identifies the regular rules such that the semantic meaning of the word “see”, which can have an ambiguous meaning, of a user input 140 can be predicted by the predicting circuit 103. The prediction circuit 103 can predict a natural language response to the user input based on the semantical meaning.
Step 201 analyzes the corpus of sentences 130 stores in the database 120 to find a set of rules that is regular. That is, Step 201 identifies the lexical features around ambiguous words in the corpus of sentences 130 to give meaning to the ambiguous words. Step 201 discovers the lexical features of the corpus of sentences. Step 201 further uses the structure of the sentence found from the syntactical class that is given (i.e., subject, verb, etc.) in conjunction with the analyzed lexical features to create a regular rule such that semantical meaning for the sentence is determined.
It is noted that Step 201 is broken down into nine sub-steps to determine the set of lexical classes associated with nouns.
That is, Step 201 receives an corpus “C” and parses the corpus “C” (Step 1). For each noun, the Step 201 determines the most frequent verbs that co-occur with it (Step 2). Next, the Step 201 considers the set of nouns that are conceptually equivalent with a set of verbs for Formal Conceptual Analysis definition of a concept (Step 3). Following Step 3, Step 201 clusters the verbs and the nouns in a concept such that a Wordnet distance is minimal and the concept is maximal (Step 4). To each cluster, Step 201 assigns a generic lexical feature named “LF1”, “LF2”, . . . , “LFn” (Step 5). Step 201 builds the lattice of concepts as Formal Conceptual Analysis lattice of concepts (Step 6). Then, Step 201 compares the lattice with ontology as a statistics measure on partial order (Step 7). Step 201 then returns to step 4 and determines if the differences are bigger than a given threshold when compared to the Wordnet. If not, then the Step 201 outputs a set of lexical classes associated with the nouns as ““LF1”, “LF2”, . . . , “LFn” (Step 9).
Step 202 receives a user input 140.
Step 203 predicts the semantic meaning of the user input 140 according to the plurality of regular rules created by Step 201.
Exemplary Hardware Aspects, Using a Cloud Computing Environment
It is understood in advance that although this disclosure includes a detailed description on cloud computing, implementation of the teachings recited herein are not limited to a cloud computing environment. Rather, embodiments of the present invention are capable of being implemented in conjunction with any other type of computing environment now known or later developed.
Cloud computing is a model of service delivery for enabling convenient, on-demand network access to a shared pool of configurable computing resources (e.g. networks, network bandwidth, servers, processing, memory, storage, applications, virtual machines, and services) that can be rapidly provisioned and released with minimal management effort or interaction with a provider of the service. This cloud model may include at least five characteristics, at least three service models, and at least four deployment models.
Characteristics are as follows:
On-demand self-service: a cloud consumer can unilaterally provision computing capabilities, such as server time and network storage, as needed automatically without requiring human interaction with the service's provider.
Broad network access: capabilities are available over a network and accessed through standard mechanisms that promote use by heterogeneous thin or thick client platforms (e.g., mobile phones, laptops, and PDAs).
Resource pooling: the provider's computing resources are pooled to serve multiple consumers using a multi-tenant model, with different physical and virtual resources dynamically assigned and reassigned according to demand. There is a sense of location independence in that the consumer generally has no control or knowledge over the exact location of the provided resources but may be able to specify location at a higher level of abstraction (e.g., country, state, or datacenter).
Rapid elasticity: capabilities can be rapidly and elastically provisioned, in some cases automatically, to quickly scale out and rapidly released to quickly scale in. To the consumer, the capabilities available for provisioning often appear to be unlimited and can be purchased in any quantity at any time.
Measured service: cloud systems automatically control and optimize resource use by leveraging a metering capability at some level of abstraction appropriate to the type of service (e.g., storage, processing, bandwidth, and active user accounts). Resource usage can be monitored, controlled, and reported providing transparency for both the provider and consumer of the utilized service.
Service Models are as follows:
Software as a Service (SaaS): the capability provided to the consumer is to use the provider's applications running on a cloud infrastructure. The applications are accessible from various client circuits through a thin client interface such as a web browser (e.g., web-based e-mail). The consumer does not manage or control the underlying cloud infrastructure including network, servers, operating systems, storage, or even individual application capabilities, with the possible exception of limited user-specific application configuration settings.
Platform as a Service (PaaS): the capability provided to the consumer is to deploy onto the cloud infrastructure consumer-created or acquired applications created using programming languages and tools supported by the provider. The consumer does not manage or control the underlying cloud infrastructure including networks, servers, operating systems, or storage, but has control over the deployed applications and possibly application hosting environment configurations.
Infrastructure as a Service (IaaS): the capability provided to the consumer is to provision processing, storage, networks, and other fundamental computing resources where the consumer is able to deploy and run arbitrary software, which can include operating systems and applications. The consumer does not manage or control the underlying cloud infrastructure but has control over operating systems, storage, deployed applications, and possibly limited control of select networking components (e.g., host firewalls).
Deployment Models are as follows:
Private cloud: the cloud infrastructure is operated solely for an organization. It may be managed by the organization or a third party and may exist on-premises or off-premises.
Community cloud: the cloud infrastructure is shared by several organizations and supports a specific community that has shared concerns (e.g., mission, security requirements, policy, and compliance considerations). It may be managed by the organizations or a third party and may exist on-premises or off-premises.
Public cloud: the cloud infrastructure is made available to the general public or a large industry group and is owned by an organization selling cloud services.
Hybrid cloud: the cloud infrastructure is a composition of two or more clouds (private, community, or public) that remain unique entities but are bound together by standardized or proprietary technology that enables data and application portability (e.g., cloud bursting for load-balancing between clouds).
A cloud computing environment is service oriented with a focus on statelessness, low coupling, modularity, and semantic interoperability. At the heart of cloud computing is an infrastructure comprising a network of interconnected nodes.
Referring now to
In cloud computing node 10, there is a computer system/server 12, which is operational with numerous other general purpose or special purpose computing system environments or configurations. Examples of well-known computing systems, environments, and/or configurations that may be suitable for use with computer system/server 12 include, but are not limited to, personal computer systems, server computer systems, thin clients, thick clients, hand-held or laptop circuits, multiprocessor systems, microprocessor-based systems, set top boxes, programmable consumer electronics, network PCs, minicomputer systems, mainframe computer systems, and distributed cloud computing environments that include any of the above systems or circuits, and the like.
Computer system/server 12 may be described in the general context of computer system-executable instructions, such as program modules, being executed by a computer system. Generally, program modules may include routines, programs, objects, components, logic, data structures, and so on that perform particular tasks or implement particular abstract data types. Computer system/server 12 may be practiced in distributed cloud computing environments where tasks are performed by remote processing circuits that are linked through a communications network. In a distributed cloud computing environment, program modules may be located in both local and remote computer system storage media including memory storage circuits.
As shown in
Bus 18 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, and a processor or local bus using any of a variety of bus architectures. By way of example, and not limitation, such architectures include Industry Standard Architecture (ISA) bus, Micro Channel Architecture (MCA) bus, Enhanced ISA (EISA) bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnects (PCI) bus.
Computer system/server 12 typically includes a variety of computer system readable media. Such media may be any available media that is accessible by computer system/server 12, and it includes both volatile and non-volatile media, removable and non-removable media.
System memory 28 can include computer system readable media in the form of volatile memory, such as random access memory (RAM) 30 and/or cache memory 32. Computer system/server 12 may further include other removable/non-removable, volatile/non-volatile computer system storage media. By way of example only, storage system 34 can be provided for reading from and writing to a non-removable, non-volatile magnetic media (not shown and typically called a “hard drive”). Although not shown, a magnetic disk drive for reading from and writing to a removable, non-volatile magnetic disk (e.g., a “floppy disk”), and an optical disk drive for reading from or writing to a removable, non-volatile optical disk such as a CD-ROM, DVD-ROM or other optical media can be provided. In such instances, each can be connected to bus 18 by one or more data media interfaces. As will be further depicted and described below, memory 28 may include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of embodiments of the invention.
Program/utility 40, having a set (at least one) of program modules 42, may be stored in memory 28 by way of example, and not limitation, as well as an operating system, one or more application programs, other program modules, and program data. Each of the operating system, one or more application programs, other program modules, and program data or some combination thereof, may include an implementation of a networking environment. Program modules 42 generally carry out the functions and/or methodologies of embodiments of the invention as described herein.
Computer system/server 12 may also communicate with one or more external circuits 14 such as a keyboard, a pointing circuit, a display 24, etc.; one or more circuits that enable a user to interact with computer system/server 12; and/or any circuits (e.g., network card, modem, etc.) that enable computer system/server 12 to communicate with one or more other computing circuits. Such communication can occur via Input/Output (I/O) interfaces 22. Still yet, computer system/server 12 can communicate with one or more networks such as a local area network (LAN), a general wide area network (WAN), and/or a public network (e.g., the Internet) via network adapter 20. As depicted, network adapter 20 communicates with the other components of computer system/server 12 via bus 18. It should be understood that although not shown, other hardware and/or software components could be used in conjunction with computer system/server 12. Examples, include, but are not limited to: microcode, circuit drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data archival storage systems, etc.
Referring now to
Referring now to
Hardware and software layer 60 includes hardware and software components. Examples of hardware components include: mainframes 61; RISC (Reduced Instruction Set Computer) architecture based servers 62; servers 63; blade servers 64; storage circuits 65; and networks and networking components 66. In some embodiments, software components include network application server software 67 and database software 68.
Virtualization layer 70 provides an abstraction layer from which the following examples of virtual entities may be provided: virtual servers 71; virtual storage 72; virtual networks 73, including virtual private networks; virtual applications and operating systems 74; and virtual clients 75.
In one example, management layer 80 may provide the functions described below. Resource provisioning 81 provides dynamic procurement of computing resources and other resources that are utilized to perform tasks within the cloud computing environment. Metering and Pricing 82 provide cost tracking as resources are utilized within the cloud computing environment, and billing or invoicing for consumption of these resources. In one example, these resources may comprise application software licenses. Security provides identity verification for cloud consumers and tasks, as well as protection for data and other resources. User portal 83 provides access to the cloud computing environment for consumers and system administrators. Service level management 84 provides cloud computing resource allocation and management such that required service levels are met. Service Level Agreement (SLA) planning and fulfillment 85 provide pre-arrangement for, and procurement of, cloud computing resources for which a future requirement is anticipated in accordance with an SLA.
Workloads layer 90 provides examples of functionality for which the cloud computing environment may be utilized. Examples of workloads and functions which may be provided from this layer include: mapping and navigation 91; software development and lifecycle management 92; virtual classroom education delivery 93; data analytics processing 94; transaction processing 95; and, more particularly relative to the present invention, the regular rule learning system 100 described herein.
The descriptions of the various embodiments of the present invention have been presented for purposes of illustration, but are not intended to be exhaustive or limited to the embodiments disclosed. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The terminology used herein was chosen to best explain the principles of the embodiments, the practical application or technical improvement over technologies found in the marketplace, or to enable others of ordinary skill in the art to understand the embodiments disclosed herein.
Further, Applicant's intent is to encompass the equivalents of all claim elements, and no amendment to any claim of the present application should be construed as a disclaimer of any interest in or right to an equivalent of any element or feature of the amended claim.
The present application is a Continuation Application of U.S. patent application Ser. No. 15/087,032, filed on Mar. 31, 2016, the entire contents of which are hereby incorporated by reference.
Number | Name | Date | Kind |
---|---|---|---|
5715468 | Budzinski | Feb 1998 | A |
7296009 | Jiang et al. | Nov 2007 | B1 |
7788084 | Brun et al. | Aug 2010 | B2 |
8583422 | Todhunter et al. | Nov 2013 | B2 |
20020087326 | Lee et al. | Jul 2002 | A1 |
20050102251 | Gillespie | May 2005 | A1 |
20060184469 | Okada | Aug 2006 | A1 |
20080133245 | Proulx | Jun 2008 | A1 |
20100332217 | Wintner | Dec 2010 | A1 |
20150081277 | Behi | Mar 2015 | A1 |
20160012336 | Franceschini et al. | Jan 2016 | A1 |
Number | Date | Country |
---|---|---|
WO 2015191746 | Dec 2015 | WO |
Entry |
---|
United States Notice of Allowance dated Jul. 26, 2017 in U.S. Appl. No. 15/087,032. |
United States Office Action dated Jun. 14, 2017 in U.S. Appl. No. 15/087,032. |
Mel, et al. “The NIST Definition of Cloud Computing”. Recommendations of the National Institute of Standards and Technology. Nov. 16, 2015. |
Hanks et al., “A pattern dictionary for natural language processing.” Revue Française de linguistique appliquée 10.2 (2005): 63-82. |
Hunston et al., (Reviewed by Christopher Johnson, Soliloquy, Inc. Pattern grammar: A corpus-driven approach to the lexical grammar of English. Amsterdam:John Benjamins, 2000. |
Baroni et al., “Distributional memory: A general framework for corpus-based semantics.” Computational Linguistics 36.4 (2010): 673-721. |
Popescu, “Learning corpus patterns using finite state automata.” Proceedings of the ICSC. 2013. |
Boisson et al. “Linggle: a Web-scale Linguistic Search Engine for Words in Context.” ACL (Conference System Demonstrations). 2013. |
United States Office Action dated Aug. 9, 2018, in co-pending U.S. Appl. No. 16/041,359. |
Number | Date | Country | |
---|---|---|---|
20180046615 A1 | Feb 2018 | US |
Number | Date | Country | |
---|---|---|---|
Parent | 15087032 | Mar 2016 | US |
Child | 15791791 | US |