Abstract

A knowledge catalog includes a plurality of independent and parallel static ontologies to accurately represent a broad coverage of concepts that define knowledge. The actual configuration, structure and orientation of a particular static ontology is dependent upon the subject matter or field of the ontology in that each ontology contains a different point of view. The static ontologies store all senses for each word and concept. A knowledge classification system, that includes the knowledge catalog, is also disclosed. A knowledge catalog processor accesses the knowledge catalog to classify input terminology based on the knowledge concepts in the knowledge catalog. Furthermore, the knowledge catalog processor processes the input terminology prior to attachment in the knowledge catalog. The knowledge catalog further includes a dynamic level that includes dynamic hierarchies. The dynamic level adds details for the knowledge catalog by including additional words and terminology, arranged in a hierarchy, to permit a detailed and in-depth coverage of specific concepts contained in a particular discourse. The static and dynamic ontologies are relational such that the linking of one or more ontologies, or portions thereof, result in a very detailed organization of knowledge concepts.

Description

MICROFICHE APPENDICES

Appendix A, entitled "Theme Parser Code" contains five microfiche with a total number of two hundred and eighty two (282) frames.

Appendix B, entitled "Code Heading" contains two microfiche with a total number of eighty five (85) frames.

Appendix C, entitled "Theme Vector Code" contains one microfiche with a total number of sixty three (63) frames.

Appendix D, entitled "Content Indexing Code" contains one microfiche with a total number of seventy one (71) frames.

COPYRIGHT NOTICE

Appendices A, B, C and D contain material which is subject to copyright protection. The copyright owner has no objection to the facsimile reproduction by any one of the Appendices as they appear in the United States Patent and Trademark patent files or records, but otherwise reserves all copyright rights whatsoever.

FIELD OF THE INVENTION

The present invention relates to the field of classification, and more particularly to a knowledge catalog system.

BACKGROUND OF THE INVENTION

The ability to accurately define knowledge in terms of categories has a wide range of applications. For example, the ability to accurately classify documents based on the content of the document has application in document storage and retrieval systems. For example, the Library of Congress of the United States utilizes a document classification system to store and retrieve documents. Typically, such prior art classification systems are configured in fixed hierarchical structures. For such a system, a number of high level categories or subjects are defined. Beneath each of the high level categories are additional sub categories that break the high level category into more detailed categories. The more sub categories specified in the fixed hierarchical structure, then the more detailed the classification system becomes. A detailed prior art classification system may utilize up to ten hierarchical levels. For example, the Library of Congress classifies documents based on an average of nine or ten levels of sub categories within a particular area, topic or field of study.

In modern society, there is an increasing demand for use of vast amounts of information covering a wide range of topics. In order to best utilized the vast amounts of information, an accurate and detailed classification system is required for storage and retrieval of the information. However, due to the rigid nature and limitations in detail, prior art fixed hierarchical classification systems can not adequately classify vast amounts of information that covers a wide range of information. Therefore, a classification system that accurately classifies information in a wide range of topics is desirable. Furthermore, it is desirable to classify knowledge such that the classification system is independent of language and culture so that information derived from all parts of the world may be classified under a single system.

SUMMARY OF THE INVENTION

A knowledge catalog includes a plurality of independent and parallel static ontologies to accurately represent a broad coverage of concepts that define knowledge. Each static ontology contains a plurality of knowledge concepts for a particular area of knowledge. The knowledge concepts are arranged hierarchically such that knowledge concepts are organized from high level generalized concepts down to more specific concepts. The actual configuration, structure and orientation of a particular static ontology is dependent upon the subject matter or field of the ontology. Therefore, each ontology contains a different point of view. The static ontologies store all senses for each word and concept. In one embodiment, the static ontologies include, when applicable, a mass sense, a count sense, a noun form, and a nominal form. Although the static ontologies are broad to cover a wide range of knowledge concepts, they are not extremely detailed. In addition, the set of static ontologies do not contain concepts that are extremely volatile.

In one embodiment, the knowledge catalog further includes a dynamic level. The dynamic level adds details for the knowledge catalog by including additional words and terminology, arranged in a hierarchical structure, to permit a detailed and in-depth coverage of specific concepts contained in a particular discourse. Therefore, additional detailed concepts not contained in the static ontologies are included in the dynamic level. The static and dynamic ontologies are relational such that the linking of one or more ontologies, or portions thereof result in a very detailed organization of knowledge concepts.

In one embodiment, the knowledge catalog has application for use in a knowledge classification system. A knowledge catalog processor accesses the knowledge catalog to classify input terminology based on the knowledge concepts in the knowledge catalog. Because the static ontologies store all senses for each concept, the knowledge catalog processor returns all concepts or categories associated with the input terminology, unless a specific sense of an ambiguous term is specified. Furthermore, the knowledge catalog processor processes the input terminology prior to attachment in the knowledge catalog.

Other features and advantages of the present invention will be apparent from the accompanying drawings, and from the detailed description that follows below.

BRIEF DESCRIPTION OF THE DRAWINGS

The features and advantages of the present invention will be apparent from the following detailed description of the preferred embodiment of the invention with references to the following drawings.

FIG. 5 illustrates an example of expanding static ontologies into a dynamic level.

FIG. 6 illustrates a knowledge classification system utilizing the knowledge catalog of the present invention.

FIG. 7 illustrates the process for converting the form of the input words for attachment into the knowledge catalog.

FIG. 8 illustrates a high level block diagram of a general purpose computer system in which the knowledge classification system of the present invention may be implemented.

DETAILED DESCRIPTIONKNOWLEDGE CATALOG

A knowledge catalog of the present invention provides a unique infrastructure to accurately represent concepts that define knowledge. The knowledge catalog includes a set of static ontologies to define knowledge. The knowledge catalog may be characterized as including several static ontologies because the knowledge catalog provides multiple views, characterizations, and organizations of concepts. As is explained below, the knowledge catalog contains a broad coverage of concepts to provide a world view of knowledge. The static ontologies are configured as hierarchical structures such that knowledge concepts are organized from high level generalized concepts down to more specific concepts. The static ontologies are parallel and independent of each other.

FIG. 1 illustrates several example static ontologies configured in accordance with one embodiment of the present invention. Specifically, FIG. 1 illustrates hierarchical structures for the "business and industry", "family", "education", "metrics", and "economics" static ontologies. As shown in FIG. 1, each static ontology contains a plurality of concepts, illustrated as nodes in the hierarchical structures for the respective static ontologies. For purposes of simplicity, the specific "concepts" are illustrated only as nodes. However, the specific concepts contained within each static ontology hierarchical structure are set forth below. The following list contains a plurality of static ontologies configured in accordance with the preferred embodiment of the present invention. Although this list provides a set of static ontologies for the preferred embodiment, modifications to the classification or concepts may be made without deviating from the spirit or scope of the invention. ##SPC1##

Each ontology shown in FIG. 1 contains a plurality of levels that form the hierarchical structure. For example, the "business and industry" static ontology contains three levels of concept classifications under the highest level concept, and the "economics" contain four levels of concept classifications. Generally, the static ontologies of the present invention include no more than six to ten levels. However, the number of levels in the static ontologies is not limited in the range of six to ten levels.

The actual configuration, structure and orientation of a particular ontology is dependent upon the subject matter or field of the ontology. Therefore, each ontology in the set of static ontologies of the present invention contain a different point of view. The different points of view for the static ontologies result in different approaches or different ways of viewing the knowledge concepts in the different static ontologies. Consequently, the organization of the knowledge concepts in each ontology is not consistent. As is explained below, the different points of view for the ontologies permit combining "like" forms of knowledge with "unlike" forms of knowledge through linking of one or more static ontologies.

Although the set of static ontologies are broad to cover a wide range of concepts, they are not extremely detailed. In addition, the set of static ontologies do not contain concepts that are extremely volatile. For an example ontology, a classification for "computers", may contain a sub classification for "operating systems." However, particular types of operating systems, such as "Windows" and "OS/2", are too volatile, and therefore would not be contained in the example computer ontology. Because the static ontologies define a broad range of concepts but not in great detail, they remain relatively stable over time. Therefore, the static ontologies do not require frequent updates.

The ontologies contained within the knowledge catalog of the present invention are organized such that the concepts are independent of language and culture. Therefore, the set of static ontologies in the knowledge catalog of the present invention provide a world view of knowledge. FIG. 2 illustrates an example ontology for "business and industry." As shown in FIG. 2, the "business and industry" ontology includes a hierarchical structure of four levels. The knowledge concepts in the static ontologies are applicable to all cultures and languages. For example, in the "business and industry" ontology, the concept "commerce and trade" is a sub classification of the top level "business and industry" concept. Under the concept "commerce and trade", the ontology includes the concepts "marketing", "retail trade industry", and "wholesale trade industry." For this example, all cultures engaging in commerce and trade have concepts in marketing, retail trade industry, and wholesale trade industry. Although different words in different languages are used to describe the concepts of "marketing", "retail trade industry", and "wholesale trade industry", these concepts exist in all cultures. Therefore, the "business and industry" ontology, similar to all of the static ontologies, is not dependent on language or culture.

The "business and industry" ontology illustrated in FIG. 2 contains three levels of concepts in the hierarchical structure. With only three levels, the "business and industry" ontology does not contain too much detail by including low level concepts or words that are specific to the business and industry field. For example, an additional category for "Wallmart" may be desired to more specifically classify knowledge beyond the concept of "convenience stores." However, the concept of "Wallmart" is too detailed for the business and industry static ontology because "Wallmart" does not translate across cultures and languages. For this example, in order to classify "Wallmart", the concept is placed in a dynamic level as is explained below.

The static ontologies in the knowledge catalog are in essence a new type of book. For example, a thesaurus provides words with their linguistic connotations. However, a thesaurus does not provide real world culturally independent knowledge concepts, including both semantic and linguistic derivatives of the knowledge concepts. Also, as is explained below, the knowledge catalog of the present invention distinguishes between ambiguous and non ambiguous terminology, concrete and abstract terminology, mass and count sense, and noun and nominals. The thesaurus does not provide these important distinctions. Similarly, a dictionary, which provides definitions and origins of words, does not provide such an organization of knowledge concepts. Also, an encyclopedia, which provides detailed information on a variety of subject matters, does not provide a world view of knowledge as the knowledge catalog of the present invention.

As is explained below, one application for the knowledge catalog of the present invention is classification of documents. One implementation of the document classification application permits a user to browse through concepts in one or more ontologies that have been classified for that document. For such an application, the static ontologies contained in the knowledge catalog of the present invention permit navigation through concepts independent of language. A document classified utilizing the knowledge catalog of the present invention may be presented in any language because the concepts in the static ontologies are applicable across languages. For example, if a Japanese document were classified in the "business and industry" ontology, then an English language user could navigate through the Japanese document by viewing selected concepts in the "business and industry" ontology without ever realizing the document is in Japanese. For this example, the English language user may note that the document contains information on "marketing", and more specifically on "customer satisfaction."

A high level conceptualization for a set of static ontologies are shown in FIG. 3. For this embodiment, a set of static ontologies 105 are organized in an industry domain 110, a concrete/generic domain 120, and an abstract domain 130. The industry domain 110 includes a plurality of the static ontologies to represent words that define concrete terminology specific to one or more industries or fields of study. There are different types of industry domain 110 ontologies. For example, a classification for "electronics" includes sub-classifications for "computers" and "micro electronics." Other classifications, such as "geography", are separated into two high level classifications, "political" and "physical" geography. The industry domain 110 separates the political and physical geography classifications because the concepts of political and physical geography are very different, and each classification includes different sub-classifications beneath them.

Some of the set ontologies in the industry domain 110 are not as much industries but rather concrete concepts. For example, "clothing" represents a specific concrete ontology. In the hierarchical structure, some sub-classifications provide factual information for the higher level or parent classification, while other sub-classifications provide more richness to the parent classification. For example, the term "computer program" provides more richness to the parent classification "computer industry." However the term "California avocados" provides factual information for the parent classification "avocados" by representing that the avocados are from California.

As shown in FIG. 3, for the preferred embodiment, the static ontologies 105 further include the concrete/generic domain 120 and abstract domain 130. The concrete/generic domain 120 contains static ontologies to represent knowledge concepts that have concrete definitions, but may be applicable to one or more specific industries or categories (e.g. the terms are generic). For example, the word "plant", when used to describe a manufacturing plant, is a concrete term that applies to many industries. Therefore, a classification for "plant" is located in the concrete/generic domain 120. The abstract domain 130 contains representations of words that are not concrete, but rather describe abstract concepts. For example, the concepts of "knowledge" and "methods" do not describe material items, but are "abstract" concepts. Although the present invention is described in conjunction with a specific domains (e.g. industry, concrete/generic, and abstract domains), other organizations may be used to define the static ontologies without deviating from the spirit and scope of the invention.

The static ontologies of the present invention are relational such that the linking of one or more static ontologies, or portions thereof result in a very detailed organization of knowledge concepts. As described above, each static ontology provides a high level view of a particular subject; however, linking or cross referencing among two or more static ontologies results in many combinations of knowledge hierarchical structures. For example, for the static ontologies shown in FIG. 1, if a particular classification included concepts in "business and industry" and "economics", then the combination of the "business and industry" and "economics" ontologies provides seven hierarchical levels for that classification. Therefore, the parallel and independent nature of static ontologies, when linked or cross referenced, provides an extremely detailed and comprehensive coverage of knowledge concepts. In order to provide a complete classification hierarchy without cross referencing the independent and parallel ontologies of the present invention, it would require developing a hierarchy that anticipated every combination of knowledge concepts. As can be realized, if this approach is taken for each subject, then setting forth every conceivable breakdown becomes impossible. The groupings of independent and parallel ontologies provide a relational knowledge catalog.

The parallel and independent ontologies of the present invention allow for the greatest amount of flexibility in developing a detailed classification breakdown. For example, a first ontology may include a concept for "geography", and a second ontology may include a concept for "computers." Geography and computers are very different topics, and seemingly unrelated. The "geography" and the "computers" concepts are located in different ontologies due to the very different nature of the subject matter. However, the cross referencing of the "geography" and the "computers" ontologies permits linking the two different subject matters. For example, for the document classification application, a document may be about how different computers are used in different geographical areas.

The following example illustrates the use of cross referencing or cross linking ontologies to generate a very detailed hierarchical classification. The following example illustrates classifying a document on travel or tourism, and more specifically on traveling to France and visiting museums. For a non-relational hierarchical system (e.g. one that does not contain parallel and independent ontologies), the classification system includes travel or tourism as a high level topic, and the entire geographical regions of the world underneath the travel topic. Furthermore, underneath each of the geographical regions, a list of activities for each of them would be required. FIG. 4 illustrates two static ontologies for classifying the above example. As shown in FIG. 4, a separate "geography" ontology includes the sub classifications for "political geography", "Europe", "Western Europe", and "France." To further classify the concepts, the "leisure and recreation" ontology includes sub classifications for "tourism" and "places of interest", as well as for "arts and entertainment", "visual arts", and "art galleries and museums." As shown by the arrows in FIG. 4, by linking or cross referencing the concepts "France", "art galleries and museums", and "places of interest", these two static ontologies classify information on traveling to France, and visiting art galleries and museums.

Other classification systems do not provide the level of detail provided by cross referencing the concepts in the ontologies of the present invention. For example, the Library of Congress classifies documents based on an average of nine or ten levels of sub classifications within a particular area, topic or field of study. In the preferred embodiment of the static ontologies, the average number of levels in a hierarchical ontology is approximately five or six. As illustrated by the above example, the knowledge catalog is actually much more detailed than a nine or ten level system, such as the classification system utilized by the Library of Congress. Through use of cross referencing and linking, three static ontologies, containing six levels each, linked together generate eighteen levels of hierarchical structure. Therefore, the knowledge catalog is much more detailed than other classification systems.

The hierarchically structured concepts contained within the static ontologies may be semantic derivatives and/or linguistic derivatives of the high level concept. For example, a classification hierarchy may associate a "house" with articles placed within a house, such as dining room tables, chairs, bedroom furniture, etc. For this example, a classification hierarchy that includes semantic derivative concepts based on the "house" concept is desirable. However, for a purely linguistic classification hierarchy, the house "concept" may include types of houses, such as a ranch style house, a contemporary house, etc. The knowledge catalog of the present invention provides the framework or structure to generate hierarchical classifications including both semantic derivatives and/or linguistic derivatives of high level concepts. Utilizing the static ontologies of the present invention, a knowledge map may be generated that links both concepts representing articles placed within a house and concepts representing types of houses to the higher level "house" concept. Consequently, the flexibility provided by the structure of the knowledge catalog permits generation of a true knowledge map.

DYNAMIC LEVEL

The words used to describe an industry are dynamic such that new words and terminology are constantly be added to convey new concepts relating to the industry. For example, in the computer industry, new terminology is developed to describe new emerging concepts. In order to accommodate this, the knowledge catalog of the present invention includes a detailed coverage of concepts through use of a dynamic level. As discussed above, the static ontologies represent a world view of knowledge by including a broad, but not extremely detailed, coverage of knowledge concepts. The dynamic level adds details for the knowledge catalog 100 by including additional words and terminology to permit a detailed and in-depth coverage of specific concepts contained in a particular discourse. Therefore, additional detailed concepts not contained in the static ontologies are contained in the dynamic level.

Although the static ontologies are not extremely detailed, they provide enough context to expand the static ontologies into the dynamic level. In general, the dynamic level learns words and terminology in relationship to the static ontologies. In this way, detailed concepts and terminology are mapped from the static ontologies into the dynamic level. Specifically, the dynamic level attaches words to the static ontologies, and enables learning of specific words and terms from a given input discourse. The specific words and terms are used to further describe and define the higher level concepts. Therefore, the world view of the knowledge catalog 100 is completed in detail through the use of the dynamic level.

FIG. 5 illustrates an example of expanding static ontologies 105 into a dynamic level 135. For the example illustrated in FIG. 5, the static ontologies 105 contain a plurality of concepts, such as concepts "D", "E", "W", "X", "O", and "N." The dynamic level 135 is expanded such that the concept "D" is expanded into the sub classifications D1, D2, D3, D4, D5, and D6. Similarly, for the concept "W" is expanded to include additional sub classifications W1 and W2, and the concept "N" is expanded to include additional sub classifications N1, N2, and N3.

For purposes of explanation, the static ontologies 105 may be characterized as including classifications or topics found in a bookstore. For this analogy, the dynamic level 135 may be characterized as concepts and information found within the index of books. For example, to find a book on semiconductor manufacturing plants in a bookstore, one first searches to locate books in the general categories of electronics or semiconductors instead of searching under the category of plants. To specifically locate information on semiconductor manufacturing plants, the index of books in the electronic and semiconductor category are searched.

A single static representation that attempts to cover all categories of knowledge in great detail requires constant updating to keep up with the dynamic nature of industry terminology. As discussed above, the static ontologies provide the basic framework for which the concepts in the dynamic level may be expanded. The division of knowledge catalog 100 into the set ontologies 105 and the dynamic level 135 results in a comprehensive yet manageable means to represent knowledge.

The knowledge catalog 100 of the present invention does not require frequent updating because the concepts defined in the set ontologies 105 change infrequently. In addition, the introduction of new terminology is automatically defined in the dynamic level 135 and subsequently linked into the set ontologies 105. The levels of detail in the dynamic level 135 are adaptable. Also, if the static ontologies 105 and dynamic level 135 were combined, it would be easy to lose the content in such a long and complex static hierarchical structure. Furthermore, the knowledge catalog 100 of the present invention separates the abstract with the concrete, without such a distinction, the hierarchical classifications would become extremely confusing.

The following describes generating the dynamic level in accordance with one embodiment of the present invention.

DYNAMIC CLASSIFICATION SYSTEM

In general, a dynamic classification system receives input discourse, and generates, as output, a dynamic classification index. The classification index contains hierarchical knowledge representations of the input discourse integrated to the static ontologies. The dynamic classification system contains a morphology section coupled to a linguistic engine. The linguistic engine receives the input discourse for processing. In general, the linguistic engine processes the input discourse by analyzing the grammatical or contextual aspects, as well as the stylistic and thematic attributes of the input discourse. Specifically, the linguistic engine generates contextual, thematic, and stylistic tags that characterize the input discourse. The linguistic engine generates a structured output containing, in part, the contextual, thematic, and stylistic tags. Furthermore, the linguistic engine extracts the topic and content for each sentence in the input discourse.

The morphology includes a lexicon and the knowledge catalog of the present invention. In general, the lexicon contains definitional characteristics for a plurality of words and terms. For example, the lexicon defines whether a particular word is a noun, a verb, an adjective, etc. The linguistic engine utilizes the definitional characteristics stored in the lexicon to generate the contextual, thematic, and stylistic tags in the structured output. The generation of thematic tags is described more fully below. A document entitled "Lexicon Documentation", provides a description of the definitional characteristics in accordance with one embodiment. The "Lexicon Documentation" is incorporated herein by reference.

The dynamic classification system further includes a knowledge catalog processor, theme vector processor, and content indexing processor. The knowledge catalog processor, theme vector processor and content indexing processor are coupled to the lexicon and knowledge catalog. In general, the knowledge catalog processor receives, as inputs, the structured output including the extracted content, the knowledge catalog, and the lexicon, and processes the extracted content for use with the knowledge catalog. The theme vector processor receives, as inputs, the structured output, the processed output from the knowledge catalog processor, the knowledge catalog, and the lexicon. The theme vector processor identifies the most important themes in the input discourse, and maps these themes into the knowledge catalog.

The content indexing processor receives as inputs, the definitional characteristics in the lexicon, the structured output, and theme information from the theme vector processor. The content indexing processor, in accordance with the dynamic classification system of the present invention, extends the static ontologies into the dynamic level based on the specific terminology contained in the input discourse. Furthermore, the content indexing processor attaches the dynamic level terminology into the concepts in the static ontologies 105 that were mapped by the theme vector processor.

As described above, the knowledge catalog describes all senses for a particular word or term. In a preferred embodiment, the content and topic of sentences is extracted in the linguistic engine, and is input to the knowledge catalog processor in the form of content carrying words. The dynamic classification system only operates on the content carrying words for which the sense has been determined with a large degree of certainty (e.g. the non ambiguous content carrying words). After determining the sense of content carrying words, the dynamic classification system determines the expressions of content for the input discourse.

The dynamic classification system may be implemented in either hardware or software. For the software implementation, the dynamic classification system is software that includes a plurality of computer executable instructions for implementation on a general purpose computer system. Prior to loading into a general purpose computer system, the dynamic classification system software may reside as encoded information on a computer readable medium, such as a magnetic floppy disk magnetic tape, and compact disc read only memory (CD-ROM). In one hardware implementation, the linguistic engine, the knowledge catalog processor, the theme vector processor and the content indexing processor may each comprise dedicated processors including processor instructions for performing the functions described herein. Circuits may also be developed to perform the functions described herein. The lexicon and the knowledge catalog may be implemented as databases stored in memory for use by the dynamic classification system 200.

The sense of content carrying words in the input discourse are determined. For all words in which the sense has been determined, the relative importance of these words, with respect to each other, are determined. Based on the relative importance, the words are mapped to the static ontologies to reflect the high level or general concepts disclosed in the input discourse. Based on words contained in the input discourse, the static ontologies are expanded to include dynamic ontologies that contains more detailed concepts. The static ontologies and the dynamic ontologies provide a detailed world view of knowledge. The input discourse is dynamically classified using the static and dynamic ontologies.

In general, the concepts mapped to the static and dynamic ontologies capture the overall world view content classification of the input discourse. However, through discourse of a document, a combination of the abstract expressions of the knowledge catalog elements represent the actual content of the particular document. Therefore, the concepts from the static ontologies are an abstract representation of input discourse themes in time. The combination of these themes in time represent the actual content of the input discourse.

The knowledge catalog processor processes content carrying words for use by the theme vector processor. Specifically, the knowledge catalog processor generates the noun or nominal forms of the content carrying words in the input discourse. The knowledge catalog processor parses the knowledge catalog 100 to compare the content carrying words with the knowledge concepts stored in the static ontologies. If the content carrying word is not contained in at least one domain in the static ontologies, then the word is noted as being not yet understood. If the word is stored more than once in the static ontologies, then the word is classified as ambiguous. If the word is stored only once in the static ontologies, then the word is classified as non ambiguous. If a word is classified as non ambiguous, then the theme vector processor determines the concept of the word from the static ontologies. In a preferred embodiment, a minimum of 50% of the content carrying words must be recognized as non ambiguous.

As discussed above, the knowledge catalog processor generates noun and nominal forms of content carrying words for look-up in the knowledge catalog. In order to accomplish this, the knowledge catalog processor reads the grammatical tags in the structured output to determine which words are the content carrying words. The contextual tags determine whether a word carries content. For example, the word "will" could be an auxiliary verb or it could be a noun (e.g. a legal term). As an auxiliary verb, the word "will" carries no content. Using the content carrying words, the knowledge catalog processor separates nouns and non nouns. The non noun content carrying words, such as adjectives, adverbs, and verbs, etc., are converted into nouns or nominal forms. For example, the verb "fishing" is converted to "to fish." The content carrying nouns are further analyzed to determine whether the word has a mass sense and/or a count sense. For example, the word "baseball", which is the mass sense of the word, has a completely different meaning than the count sense "baseballs."

In the preferred embodiment, because the noun sense of a word may be different than the nominal sense, and the mass sense may be different than the count sense, a separate classification or tree attachment exists for nominal and noun forms as well as for mass and count senses. Therefore, the knowledge catalog 100 stores all possible senses of a content carrying word. For example, the noun "a fish" has a different meaning than the verb "fishing" which was nominalized to "to fish." Based upon the above criteria, every content carrying word contains up to four potential pointers into one or more categories in the static ontologies. Specifically, each content carrying word may contain a pointer to the static ontologies 105 for the noun form, the nominal form, the mass sense, and the count sense.

In addition to nouns and regular content carrying words discussed above, words in the input discourse may also be characterized as special words. These special words include orienters and global classifiers. Orienter words guide the reader to a field of study regardless of the use of the word. A global classifier word carries the essence of a particular category, wherein the category may include sub categories beneath the category defined by the global classifier. In generating the pointers to the static ontologies, if there is not a concept for the nominal, then the concept of the noun is attached to the concept of the nominal. The special words may be mapped directly into the static ontologies.

After the sense of a majority of the content carrying words has been determined, the dynamic classification system maps key content carrying words into the static ontologies. In order to accomplish this, the theme vector processor determines the relative importance of content carrying words in relationship to other content carrying words. The most important content carrying words are mapped to the knowledge catalog elements in the static ontologies 105.

For purposes of explanation, the static ontologies of the knowledge catalog have three classification hierarchies. Specifically, the database element "A" represents the highest level for the classification hierarchy, and the database element "B" and "C" are sub classifications of "A." Also, the classification hierarchy includes sub classifications "D" and "E" linked to the database element "C." Furthermore, the classification hierarchies contain the database elements "U" and "L", respectively, as the high level classifications.

The theme vector processor receives, as an input, the structured output that contains contextual and thematic tags. In addition, the theme vector processor receives the definitional characteristics from the lexicon. With this information, the theme vector processor executes a plurality of heuristic routines to generate the relative importance of content carrying words in the input discourse. The theme vector processor only operates on non ambiguous content carrying words or ambiguous words that have been disambiguated. In a preferred embodiment, the theme vector processor generates a theme strength based on the output of the heuristic routines. The theme strength of a particular content carrying word is then used in conjunction with the theme strength of another word to generate a ratio of relative thematic importance between all words.

A theme vector output illustrates several relative theme strengths for a number of words in an example input discourse. A ninth word "W9" received a relative weight of 35, and the first word "W1" received a relative weight of 27. Therefore, "W9" has a relative importance of 35/27 in relationship to "W1." The theme vector processor links the most important content carrying words into the ontologies of the static ontologies. As discussed above, the theme vector processor only operates on non ambiguous content carrying words. Therefore, the content carrying words are directly mapped into the database elements of the static ontologies. For his example, the most important word, "W9", has the "D" concept, and therefore is mapped to the "D" knowledge concept in the static ontologies. Note that for this example, the three most important words tie into the ontologies in three separate classification hierarchies. Accordingly, the theme vector processor determines that the three most important concepts in the input discourse are "D", "W", and "N".

In a preferred embodiment, the theme vector processor uses the sixteen most important words of each sentence to map the concepts into the static ontologies. If the input discourse consists of a single paragraph, the sixteen concepts are more than enough to capture the content of the document. For a larger document consisting of many paragraphs, the sixteen most important concepts captures the verbal content, and extending beyond the sixteen concepts typically only reinforces the high level concepts that were deemed most important.

After the most important concepts are mapped into the static ontologies, the content indexing processor expands additional concepts into the dynamic level of the knowledge catalog. In general, the content indexing processor learns how to use content for tie-ins. Terms that fall within the concrete/generic domain and abstract domain are not learned, only terms falling within the industry domain are learned. For example, in a document containing the word "bear", the content indexing processor determines that the sense of bear was used as an animal. Accordingly, the term is attached from the dynamic level up into the animal category in the static ontologies.

The following illustrates an example of expanding the static ontologies into the dynamic level. The content indexing processor receives, as inputs, contextual and thematic tags from the structured output as well as the output of the theme vector processor. From this information, the content indexing processor generates the dynamic classification hierarchies. This example extends the conceptualize example static ontologies discussed above. The knowledge concept "D" is expanded into the sub classifications D1, D2, D3, D4, D5, and D6. Similarly, for the knowledge concepts "W" and "N", the content indexing processor generates additional sub classifications.

THEME PARSING OVERVIEW

As discussed above, the dynamic classification system utilizes the contextual tags stored in the structures output. In one embodiment, the linguistic engine generates the contextual tags via a chaos loop process. A document, entitled "Chaos Processor for Text", contains an explanation for generating contextual or grammatical tags. The document "Chaos Processor for Text" is incorporated herein by reference. All words in a text have varying degrees of importance in the text, some carrying grammatical information, and others carrying the meaning and content of the text. In general, the chaos loop process identifies, for words and phrases in the input discourse, grammatical aspects of the input discourse including identifying the various parts of speech. In order to accomplish this, the chaos loop process ascertains how the words, clauses and phrases in a sentence relate to each other. By identifying the various parts of speech for words, clauses, and phrases for each sentence in the input discourse, the context of the input discourse is defined. The chaos loop process stores information in the form of the contextual tags. For a detailed explanation of the contextual or grammatical tags, seethe document, entitled "Analysis Documentation." The document "Analysis Documentation" is incorporated herein by reference.

The theme vector processor also utilizes the thematic tags stored in the structures output. Each word carries thematic information that conveys the importance of the meaning and content of the input discourse. In general, the thematic tags identify thematic context of the input discourse, such as text. Each word is discriminated in the text, identifying the type of importance or meaning, the impact on different parts of the text, and the overall contribution to the content of the text. The thematic context of the text is determined in accordance with predetermined theme assessment criteria that is a function of the strategic importance of the discriminated words. The predetermined thematic assessment criteria define which of the discriminated words are to be selected for each thematic analysis unit. The text is then output in a predetermined thematic format.

In addition to the grammatical tags and thematic tags, the structured output also includes outputs for extracted topics, kernel sentences, and extracted content. The knowledge catalog processor utilizes these output areas to generate the content carrying words found in the input discourse. The linguistic engine further includes a topic extractor, that identifies the topics of the input discourse, a kernel generator, that generates summarized versions of the input discourse, and a content extractor that identifies key content of the input discourse. In addition, Appendix A, entitled "Theme Parser Code" contains a source code listing for implementing the Theme Parser. Appendix B, entitled "Code Headings", contains a list of defined source code headers corresponding to the theme parser source code of Appendix A.

THEME VECTOR PROCESSING

As discussed above, the theme vector processor identifies the most important theme terms and theme concepts for the input discourse for use by the dynamic classification system of the present invention. In order to generate the theme vector output, the theme vector processor receives thematic tags and contextual tags from the structured output. In addition, the theme vector receives the content carrying words from the knowledge catalog processor. The content carrying words may include single words or phrases. Note that the content carrying words output from the knowledge catalog processor are converted to the noun or nominal form. In turn, the theme vector processor generates a theme vector output. In a preferred embodiment, the theme vector output contains, for each theme term, an importance number (#), a theme strength, and a theme concept.

The theme vector output presents a thematic profile of the contents of input discourse (e.g. a sentence, paragraph, or document). The theme vector output contains a list of nominalized words that represent the major themes in the input discourse. In a preferred embodiment, the theme vector output includes up to sixteen of the most important themes for each sentence, paragraph and document. A theme term in a theme vector is typically based on an actual word or phrase that is contained in the text of the input discourse, or a nominal or plural form of a word. However, the word defining the theme concept may not appear in the input discourse. Instead, the theme concept is conceptualized from the theme term as set forth in a particular ontology stored in the knowledge catalog.

In a preferred embodiment, each theme in the theme vector output is assigned a normalized or relative theme strength. The normalized theme strength is calculated using the theme strengths of each theme term in the text that contribute to the particular theme. At the sentence level, the theme vector processor calculates a theme strength for each word in the sentence. The theme strength of the word measures the thematic weight of the word within the context of the sentence in which it appears. Prior to processing, each word receives a default theme strength that varies depending upon the word. As the theme vector processor analyzes the surrounding text in the sentence to determine the thematic role of the word, it increases or decreases the default theme strength for the word. For example, a theme grading determines how each word in a sentence is functioning within the context and structure of the sentence. The theme grading assigned to a word affects the theme strength for the word.

In the preferred embodiment, the theme vector processor executes a plurality of heuristic routines to generate the theme strengths for each theme. Appendix C, entitled "Theme Vector Code", contains a source code listing for implementing theme vector processing in accordance with one embodiment. Although the generation of the theme strengths is disclosed as computer source code, the theme strengths may be generated by any means, such as through a hardware implementation, without deviating from the spirit or scope of the invention. Thus, a theme vector identifies the 16 strongest themes in a sentence, paragraph or document in proportion to the sentence, paragraph or document for which the theme vector output is generated.

The theme vector processor returns the concept, if one exists, for each theme term in the theme vector. Similar to the theme terms, the theme concepts in the theme vector output contain a theme strength. As the theme vector processor identifies themes that have the same concept in the input discourse, the theme strength for the theme concept increases. This indicates that the theme concept is significantly developed in the input discourse. As a result, the theme vector processor may promote the theme concept to a separate theme in the theme vector output for the corresponding input discourse. For example, if the theme vector processor determines that "printing press" is one of the theme terms in a paragraph, then the theme concept "printing" is assigned to the theme term "printing press." In addition, the theme vector processor assigns a theme strength to the theme concept. The theme vector processor increases the theme strength for "printing" if the paragraph contains other words such as "bold face" and "typesetting", that conceptualize to "printing." The theme concept "printing" may then appear as a theme term for the paragraph, along with its own theme concept, "publishing industry." In a preferred embodiment, the theme vector processor includes input adjustments (not shown) to prevent promoting theme concepts in a theme vector output to additional theme terms.

The following example illustrates a theme vector output generated by the theme vector processor for input discourse, such as a paragraph. The example paragraph is from a document about commercial banks lowering interest rates based on changes to the Federal funds rate.

Treasury bill yields dropped substantially Friday morning in anticipation of further reductions in the Federal funds rate by the Fed, market watchers said. The 3-month bill fell 8 basis points to a discount equivalent rate of 7.70%, while the 1-year bill was down 12 basis points to 7.30%.

Table 1 illustrates the theme vector output for the example paragraph. As shown in Table 1, for each theme term, the theme vector output includes a theme strength and a theme concept.

Based on the theme strength, the theme terms are listed in the order of importance or strength in the paragraph. Table 2 illustrates a portion of an ontology for "economics", and Table 3 illustrates a portion of an ontology for "business and industry." For this example, the theme vector processor maps the theme terms to the above ontologies. This example illustrates the fact that a theme vector output may contain words that are not in the original input discourse. For example, the theme tern "basis points" is conceptualized by the theme vector processor to "stocks, bonds, and commodities." The term "stocks, bonds, and commodities" does not appear in the original input example. The theme vector processor also determines that the theme concept "stocks, bonds, and commodities" is developed significantly enough to be designated as the fourth most important theme for the paragraph.

If a theme concept becomes a theme term in the theme vector output, the higher level category from the corresponding ontology is returned as a theme concept. For example, the concept of "banking" is categorized under "finance and investment." If "banking" is a theme concept in the theme vector output, but is also promoted to a theme concept in the theme vector output, then "finance and investment" is returned as the theme concept in the theme vector output.

DYNAMIC CLASSIFICATION

The lower level concepts contained in the input discourse, which are not contained in the static ontologies 105, are classified for the dynamic level 135 (FIG. 5). The classification in the dynamic level 135 may include several independent and unrelated concepts. Once the lower level theme concepts are generated in the dynamic level 135, these lower level concepts are mapped into the higher level concepts previously mapped in the static ontologies 105. Furthermore, the content indexing processor generates cross references in the dynamic level 135 to reference independent concepts found in the static ontologies 105 or dynamic level 135.

The content indexing processor receives high level theme concepts from the theme vector processor. In the preferred embodiment, the static ontologies 105 and dynamic level 135 are based on noun concepts. Based on the grammatical tags and thematic tags, the content carrying words in the input discourse are identified. The head words represent all content carrying words in the input discourse. Generally, all nouns contained in the input discourse are candidates for head words. The content indexing processor utilizes grammatical and thematic tags to determine nouns that contain little or no content value. For example, the noun "copies", without any additional support, carries little content alone. Therefore, if a noun is characterized as "weak" from the grammatical or thematic tags, then the noun is not utilized as a head word.

At this point the content indexing processor generates a plurality of head words, wherein each head word carries content. For each head word, at least one contextual relationship is noted. In a preferred embodiment, the context for each head word is listed hierarchically such that a second contextual relationship to the head word is a more detailed relationship than the first contextual relationship for that head word. From these contextual relationships, the content indexing processor develops the dynamic set. Specifically, the dynamic hierarchies are generated based on head words and contextual relationships to the head word. After developing the dynamic hierarchies, the content indexing processor maps the dynamic hierarchies into the static ontologies forming the world view when complete for all documents. In this way, the dynamic classification system of the present invention classifies the theme concepts presented in the input discourse in the static ontologies 105 and dynamic level 135.

The following indented paragraphs contain an example input discourse for the dynamic classification system. The content of the text is provided as an example only.

Computers execute computer software programs to provide functionality. In general, computer software programs include applications programs and operating systems. Examples of computer operating systems include UNIX, Windows and OS/2 operating systems. The OS/2 operating system is a proprietary operating system developed by International Business Machines (IBM) Corporation. In general, the OS/2 operating system may be installed on a variety of computer system platforms.

Windows applications, which are directly compatible for use with the Windows operating systems, are not directly compatible for use with the OS/2 operating system. However, due to the large amount of Windows applications software currently available, ways of converting Windows applications for direct compatibility with the OS/2 operating system are under current development.

In recent years, software patents have become increasingly more popular in the computer industry. Due to the potential commercial value of the Windows applications, applications for OS/2 software patents, which cover methods of converting Windows applications for use with the OS/2 operating system, will be made.

The preceding example paragraphs are input to the linguistic engine for generation of the grammatical, stylistic, and thematic tags. The grammatical, stylistic, and thematic tags are provided in the structured output for access in content processing. The knowledge catalog process is executed, and the results are input to the theme vector processor. The theme vector processor generates the high level theme concepts contained in the input discourse. For the example input discourse, the high level theme concepts in the first two paragraphs include "computers", "software", and "operating systems." Also, the example input discourse refers to specific operating systems, namely UNIX, OS/2, and Windows. Furthermore, in the third paragraph of the example input discourse, the main theme is "patents", including methods of converting Windows applications to OS/2.

The theme vector processor maps the high level concepts extracted from the example input discourse into the static ontologies. For the example input discourse, the industry domain 110 contains two separate ontologies, wherein a first ontology is for "computers", and the second ontology is for "law." For this example, the specific level of detail concludes at a fairly high level. For example, for the classification "computers", three levels of sub classifications are provided: software, operating systems, and specific operating systems. For this ontology, the theme concepts "computers", "software", "operating systems", "UNIX", "OS/2", and "Windows" map into the static ontologies. However, if the level of depth in the static ontology only included up to the level of "operating systems", then all high level theme concepts up to and including operating systems are mapped. The high level theme concept "patents" is mapped into the "law" ontology. For the abstract theme concepts located in the abstract domain 130, the theme vector processor maps the concepts "ways" and "methods."

The content indexing processor generates, for the example input discourse, a list of head words that represent the content carrying words in the three paragraphs. Table 4 is a dynamic classification index generated from the example input discourse. The dynamic classification index includes a list of head words generated from the example input discourse. The head words listed in the dynamic classification index of Table 4 are located in each entry at the left margin (e.g. the head words are not indented). As discussed above, the head words are the content carrying words contained in the example input discourse.

As shown in Table 4, for certain head words, the content indexing processor generates one or more contextual relationships to that head word. For example, for the head word "applications", the content indexing processor generates the contextual relationships "for OS/2 software" and "Windows." The contextual relationships generated for the head words are hierarchical such that a first contextual relationship indicates the highest level contextual relationship to the head word, and subsequent contextual relationships indicate more specific contextual relationships for both the head word and the higher level contextual relationship. For the example "applications"head word, "Windows" is a first level contextual relationship and "methods for converting for use" is a second level contextual relationship. For this example, "Windows" is one context in which the head word "applications" refers to in the example input discourse (e.g. the example input discourse refers to Windows applications). More specifically, Windows applications are referred to in the context of methods for converting for use (e.g. the example input discourse refers to methods for converting Windows applications for use).

As shown in the dynamic classification index of Table 4, the content indexing processor also generates references to other theme concepts from the static ontologies. For example, because the example input discourse refers to "applications" in the context of being compatible with operating systems, the content indexing processor references the "operating systems" theme concept.

For an example input discourse, the content indexing processor generates the dynamic hierarchy in the dynamic level 135. For this example, in the first sentence of the second paragraph, the head word "Windows Applications" is discussed in relationship to the compatibility of the Windows applications, and is specifically discussed in the context of compatibility with the OS/2 operating system. Based on the grammatical and thematic tags, the content indexing processor determines that the phrase, "which are directly compatible for use with the Windows operating systems", is not the main focus of the sentence. Instead, the focus lies in the "are not directly compatible for use with the OS/2 operating system" portion of the sentence. Based on these relationships, the content indexing processor generates the hierarchical relationship between "Windows Applications" and "Compatibility."

Appendix D, entitled "Content Indexing Code", contains a source code listing for implementing content indexing processing in accordance with one embodiment of the present invention. The document entitled "Creating a Virtual Bookshelf", discloses examples and use of a classification system. The document "Creating a Virtual Bookshelf" is incorporated herein by reference

CLASSIFICATION USING THE KNOWLEDGE CATALOG

FIG. 6 illustrates a knowledge classification system utilizing the knowledge catalog of the present invention. The knowledge classification system contains the knowledge catalog 100 and a knowledge catalog processor 600. In general, the knowledge catalog processor 600 classifies words and terminology through use of the knowledge catalog 100. The knowledge catalog processor 600 receives, as inputs, words and terminology for classification, and generates, as outputs, concepts or categories associated with the words and terminology input. In essence, the knowledge catalog processor 600 and the knowledge catalog 100 classify input words based on the ontologies of the present invention.

The knowledge classification system may be implemented in either hardware or software. For the software implementation, the knowledge classification system is software that includes a plurality of computer executable instructions for implementation on a general purpose computer system. Prior to loading into a general purpose computer system, the knowledge classification system software may reside as encoded information on a computer readable medium, such as a magnetic floppy disk, magnetic tape, and compact disc read only memory (CD-ROM). In one hardware implementation, the knowledge catalog processor 600 may comprise a dedicated processor including processor instructions for performing the functions described herein. Circuits may also be developed to perform the functions described herein. The knowledge catalog 100 may be implemented as a database stored in memory for use by the knowledge classification system.

The static ontologies in the knowledge catalog 100 store all senses for each concept. In general, words and terminology, contained in the knowledge catalog 100, are characterized as ambiguous or non ambiguous. Terminology is ambiguous if the terminology appears more than once in the knowledge catalog 100 (e.g. there is more than one sense to the word). Conversely, a term is non ambiguous if the term only appears in the knowledge catalog 100 once. The same terminology may be included in more than one domain, as well as in more than one static ontology within the industry domain. For example, the term "plant" appears in an ontology in the concrete/generic domain, and appears in more than one ontology in the industry domain 110 (e.g. plant as in the biological sense, and plant in the manufacturing plant sense). The knowledge catalog 100 is generated by researching words or concepts in all ontologies to determine which words are ambiguous to that ontology.

The use of the ambiguous and non ambiguous characterization in the classification system recognizes that some terms have one or more senses. In order to properly classify words and terminology, each sense of the input words and terminology are determined. The concepts or categories are output as category1 through categoryn as shown in FIG. 6. For example, the word "bank" is ambiguous because it may refer to a river bank as well as a financial institution. For this example, the knowledge catalog processor returns the categories of physical geography as well as banking. In one embodiment, the knowledge catalog processor 600 receives additional information (not shown) to select a sense for the input terminology if the input terminology is ambiguous.

The knowledge catalog of the present invention enables natural ambiguity resolution of ambiguous terminology. As discussed above, if a word or terminology has more than one sense, then it is characterized as ambiguous. In order to resolve the ambiguity for such a word, prior art systems utilize statistical concordances to select a sense for a word from all the possible senses of the word. Because the knowledge catalog consistently identifies higher level categories, lower level definitions can be derived from the higher level categories. For example, if the term "Paris" was found within the document, a determination that Paris is in France, as opposed to Texas, is made if France or other cities in France appear in the input discourse. Because the ontologies identify "France", then Paris, France is thus identified.

The knowledge catalog processor 600 processes words prior to attachment in the knowledge catalog 100. FIG. 7 illustrates the process for converting the form of the input words for attachment into the knowledge catalog 100. The input terminology to the knowledge catalog processor 600 for classification are content carrying words (e.g. the words convey meaning of a concept). Typically, the input terminology consists of nouns, adjectives, adverbs, or verbs. As shown in FIG. 7, if the input terminology consists of an adjective, adverb or verb, then the knowledge catalog processor 600 converts the input terminology to a nominal form. For example, the verb "to fish" is converted to "fishing", and the verb "performing" is converted to "performance." If the input terminology consists of a noun, then the word is in the proper form for attachment into the knowledge catalog 100.

As shown in FIG. 7, the knowledge catalog processor 600 further analyzes nouns to determine whether the noun has a mass sense and/or a count sense. For example, the word "baseball", which is the mass sense of the word, has a completely different meaning than the count sense "baseballs." If the word has both a mass sense and a count sense, then the knowledge catalog processor 600 attaches both the mass sense and a count sense into the knowledge catalog 100. The noun form of a word may have a different meaning than the nominal form of the word. For example, the noun form of "fish" has a different meaning than the nominal form "to fish", which refers to the sport of fishing. When applicable, the knowledge catalog processor 600 attaches both the noun and the nominal into the knowledge catalog 100. If there is not a concept for the nominal, then the concept of the noun is attached to the concept of the nominal.

Because the noun sense of a word may be different than the nominal sense, and the mass sense may be different than the count sense, a separate classification or tree attachment exists for nominal and noun forms as well as for mass and count senses. For each concept, the knowledge catalog 100 potentially stores the noun form, the nominal form, the mass sense, and the count sense as shown for Conceptx in FIG. 7. Therefore, the knowledge catalog 100 stores, when applicable, the noun form, the nominal form, the mass sense, and the count sense for a concept.

Some input terminology may also be characterized as special words. These special words include orienters and global classifiers. Orienter words guide the reader to a field of study regardless of the use of the word. For example, the word "linguistically" guides the reader toward the field of linguistics. A global classifier word carries the essence of a particular category, wherein the category may include sub categories beneath the category defined by the global classifier. For example, the word "programmer" is a global classifier. The knowledge catalog processor 600 maps the special words directly into the knowledge catalog 100.

In a preferred embodiment, the knowledge catalog processor 600 attaches phrases in the knowledge catalog 100 such that the longest form of the phrase is retained. The longest form of phrases includes all content carrying words that further identify a sense for the phrase. Therefore, by retaining content carrying words in phrases, the phrases, when attached into the knowledge catalog, are typically unambiguous. The following sentence provide an example of attaching the longest form of a phrase.

The Federal Reserve Board has lowered the prime interest rate.

For this example, the knowledge catalog processor 600 attaches the phrase "prime interest rate" for use with the knowledge catalog. The phrase "prime interest rate" is retained because it is more specific than both prime and prime rate because prime may refer to "prime beef" or "prime interest." The prime beef attaches into ontologies for food or cows, and "prime interest" attaches into an ontology for real estate. However, "prime interest rate" attaches into ontologies for banking. Therefore, because two or more words typically render a term non ambiguous, the knowledge catalog processor 6900 reduces ambiguity by attaching the longest phrase. The knowledge database processor also expands abbreviated terminology to the full or complete form prior to attaching into the knowledge catalog so that a formal or legal name of a word or term is always utilized. For example, the word "Oracle" is extended to the full name of the corporation, "Oracle Corporation."

In general proper nouns are naturally ambiguous because any particular person, location or item may have any name. However, the knowledge catalog processor 600 realizes that although proper nouns are naturally ambiguous, there is a realistic level of recognition for some proper nouns. The knowledge catalog processor 600 operates under a reputable presumption for some commonly recognized proper nouns. For example, the proper noun "Paris" is typically associated with Paris, France. Therefore, when attaching "Paris" in the knowledge catalog 600, a presumption exists that "Paris" relates to the concept of "France." However, if during the classification, no additional corroborating topics are generated, then "Paris" is no longer associated with France.

The document entitled "Creating a Virtual Bookshelf", contains a description for configuring a classification system utilizing the knowledge catalog of the present invention.

COMPUTER SYSTEM

FIG. 8 illustrates a high level block diagram of a general purpose computer system in which the knowledge classification system of the present invention may be implemented. A computer system 1000 contains a processor unit 1005, main memory 1010, and an interconnect bus 1025. The processor unit 1005 may contain a single microprocessor, or may contain a plurality of microprocessors for configuring the computer system 1000 as a multi-processor system. The main memory 1010 stores, in part, instructions and data for execution by the processor unit 1005. If the knowledge classification system of the present invention is wholly or partially implemented in software, the main memory 1010 stores the executable code when in operation. The main memory 1010 may include banks of dynamic random access memory (DRAM) as well as high speed cache memory.

The computer system 1000 further includes a mass storage device 1020, peripheral device(s) 1030, portable storage medium drive(s) 1040, input control device(s) 1070, a graphics subsystem 1050, and an output display 1060. For purposes of simplicity, all components in the computer system 1000 are shown in FIG. 8 as being connected via the bus 1025. However, the computer system 1025 may be connected through one or more data transport means. For example, the processor unit 1005 and the main memory 1010 may be connected via a local microprocessor bus, and the mass storage device 1020, peripheral device(s) 1030, portable storage medium drive(s) 1040, graphics subsystem 1050 may be connected via one or more input/output (I/O) busses. The mass storage device 1020, which may implemented with a magnetic disk drive or an optical disk drive, is a non-volatile storage device for storing data and instructions for use by the processor unit 1005. In one embodiment, the mass storage device 1020 stores the knowledge classification system software embodiment for loading to the main memory 1010.

The portable storage medium drive 1040 operates in conjunction with a portable non-volatile storage medium, such as a floppy disk, a magnetic tape drive, or a compact disc read only memory (CD-ROM), to input and output data and code to and from the computer system 1000. In one embodiment, the knowledge classification system software is stored on such a portable medium, and is input to the computer system 1000 via the portable storage medium drive 1040. The peripheral device(s) 1030 may include any type of computer support device, such as an input/output (I/O) interface, to add additional functionality to the computer system 1000. For example, the peripheral device(s) 1030 may include a network interface card for interfacing the computer system 1000 to a network. For the software implementation, the input word/terminology may be input to the computer system 1000 via a portable storage medium or a network for processing by the knowledge classification system.

The input control device(s) 1070 provide a portion of the user interface for a user of the computer system 1000. The input control device(s) 1070 may include an alphanumeric keypad for inputting alphanumeric and other key information, and a cursor control device, such as a mouse, a trackball, stylus, or cursor direction keys. In order to display textual and graphical information, the computer system 1000 contains the graphics subsystem 1050 and the output display 1060. The output display 1060 may include a cathode ray tube (CRT) display or liquid crystal display (LCD). The graphics subsystem 1050 receives textual and graphical information, and processes the information for output to the output display 1060. The components contained in the computer system 1000 are those typically found in general purpose computer systems, and in fact, these components are intended to represent a broad category of such computer components that are well known in the art.

Although the present invention has been described in terms of a preferred embodiment, it will be appreciated that various modifications and alterations might be made by those skilled in the art without departing from the spirit and scope of the invention. The invention should therefore be measured in terms of the claims which follow.

THEME PARSER

After the grammatical context, the base thematic context, and the style have been ascertained, the full thematic parse can be implemented. The grammatical context is needed in order to establish the grammatical relationships that exist in a sentence. The style assessments are needed in order to establish the general tone and writing methods used by the author, and the base thematic context is the initial thematic analysis that makes simple decisions about the basic components of the theme when using only the grammatical context for clues. In addition to these contextually calculated aspects of a sentence, additional lexical information that is attached to each word will also be used.

The full thematic context of the document in now produced by checking each word against all possible thematic constructions, and recording either the existence or non-existence of each thematic aspect, or a scale of how much of a thematic aspect each word carries, or what specific sub-classification of a general thematic aspect the word contains. Each word in a sentence is then subjected to a series of tests to determine and record its thematic aspects.

As the detail for the thematic parser is discussed, certain examples will be used to indicate why a particular assessment is useful. Many of these examples will be based on the ability to generate a new, summarized version of a sentence. This assumes that any sentence contains a certain amount of information that can be removed without removing the main `gist` of the sentence. An example of this would be:

Each word in a sentence is then subjected to a series of tests.

Each word subjected to series of tests.

Each word subjected to tests.

Word subjected to tests.

The subsequent sentences can progressively paraphrase the first, full version. While not fully grammatical, they can be read correctly and easily, without misinterpretation. A common example that will be used in any discussion of weak/strong words will be the ability to readily remove parts of a linguistic constituent group without rendering the sentence unintelligible.

Default Setup

Eight default setup operations are performed before the full thematic parsing can commence:

1. Weak/Strong Noun Initialization

2. Sentence Structure Checking

3. Grammatical Ambiguity Analysis

4. Industry-Specific Terminology Identification

5. Possessive Contextual Form Analysis

6. Dual Gender Noun Initialization

7. Verb Modification Attachment

8. Noun Support Attachment

The first processing step sets the default conditions of each thematic aspect of each word to a zero condition (does not contain this thematic aspect).

Weak/Strong Noun Initialization

A default condition is placed on each noun in the sentence. Each noun carries a thematic aspect recording the strength of the noun. `Weak` and `strong` refer to the strength of the word's content-carrying sense. Some nouns are very descriptive when used in isolation, while others are very vague. `Windmill` is very specific, but `place` is very vague, and needs some additional information to help define the type of `place` to which the author is referring. A noun can be encoded in the lexicon as `strong` or `weak`, or can be computed in the thematic analysis as `strong` or `weak`. But each noun initially starts in its thematic processing by assuming it is `strong`.

The strong/weak labels are referring only to the noun in isolation. A noun that is `weak` in isolation can still be `strong` as a unit, as long as it has some strong supporting words, such as adjectives or prepositional phrases. And there can be a number of levels of supporting prepositional phrases. But as long as one of the nouns in one of the prepositional phrases that modifies a particular noun can be classified as `strong`, the whole chain from that point up to the originating noun head can be classified as strong because of this strong support.

There are four conditions that must be thought of together when ascertaining a noun's content value.

1. A noun can be weak, with no support.

2. A noun can be weak with strong support.

3. A noun can be strong with weak support.

4. A noun can be strong with strong support.

Each noun is coded with a thematic aspect tag indicating whether it has supporting content in the form of strong modifying adjectives or strong postposed prepositional phrases. A noun's initial default condition assumes it does not have strong supporting content.

Basic thematic analysis is highly concerned with the content-strength of words, especially nouns and adjectives. Nouns are the most focal part of a sentence, and can be thought of as carrying a certain amount of content in them. Some nouns are very rich in content and need no additional supporting information to be complete. A word such as `sonar` is very strong in its content-senses. But words such as `list` are very weak, and do not convey much information in isolation. Instead they look for other supporting information to help deliver the content of the noun phrase.

`Employee list` or `list of employees` uses a stronger content word, such as `employee,` to complete the full content- representation of the word `list`. Eventually, one aspect of thematic analysis will determine if a noun phrase group (a noun plus its adjectives and supporting prepositional phrases) must be kept intact in order to convey its content properly, or if parts of the phrase can be removed without altering the basic meaning. An example would be `electric guitar`. `Electric` conveys additional information about `guitar`, but `guitar` on its own still provides the basic thematic content. So `electric` could be removed, which would remove some descriptive detail from the sentence, but would not diminish the basic understanding of the sentence. However, removing `employee` from `employee list` would remove the basic content-carrying word, leaving only an empty shell. This would seriously detriment the understanding of the sentence.

Each assessment of theme must understand the gradient levels of content in a sentence, where they exist, and where and when they could be removed without excessive problems. This will be discussed in detail later. But there are some default operations that are performed initially on a word that override certain types of strong/weak analyses.

Sentence Structure Checking

The sentence as a whole is checked for the existence of at least one predicate. If the sentence does not contain a single predicate, it is assumed to be a heading or part of a sentence that cannot be analyzed for thematic content. The entire sentence is therefore marked for removal from the thematic processing routines.

Grammatical Ambiguity Analysis

Each word in the sentence is checked for any grammatical ambiguity. One such condition occurs when the grammar parser cannot assign any parts of speech to a word. In this case, if the word is in a noun phrase, it is defaulted to an adjective. If the word is not in a noun phrase, it is defaulted to a noun. This causes naturally ambiguous grammatical conditions to be focused on more heavily by the thematic routines (since nouns and noun phrases are the most content-rich parts of thematic analysis).

Industry-Specific Terminology Identification

Additional default conditions are based on the existence of certain pieces of lexical information for a word. One such default is based on the use of special industry-specific terminology. Any word that is marked in the lexicon as `industry oriented` should keep its supporting information, even if the word is deemed to be strong. For example, the word `yield` may be marked as an important industry-specific term in banking. This would cause phrases such as `yield on certificates of deposit` to remain together as a complete content unit, when otherwise it may have been logical to think that `yield` could stand alone. In this case, a default test sets the industry-specific word to `weak` whenever it has strong supporting information. This helps any application interested in reducing the content of the sentence to keep the supporting terms attached to the head term.

Possessive Contextual Form Analysis

Another default condition arises with the use of strong head nouns with strong, postposed, supporting terms in a possessive-style prepositional phrase. For example, in `the theft of automobiles`, `theft` could be thought of as being `strong`, but `of automobiles` is a strong indicator of content and usually needs to be kept associated with the head word. Head words in this context are by default marked as `weak`, but with strong supporting information. They are also marked with a special strong-content code that specifically identifies the head word as conveying strong content, but wants the supporting words to be kept associated with the head word. This helps applications that summarize text to keep the phrase together, but also indicates to content-abstraction applications that the head term conveys strong content in isolation.

Dual Gender Noun Initialization

Another default condition sets the strength of certain dual-gender nouns to `weak`. If a word is marked as dual-gender, if it has no additional strong supporting context, if it is not in the simple subject position of a clause, and if it is not in a prepositional phrase, then the word is marked as `weak.` An example is `They allow manufacturers to offer large discounts`. `Manufacturers` is marked as `weak` in this particular context.

Verb Modification Attachment

This thematic aspect concerns itself with the attachment of additional modifying information to verbs. Some verbs require additional adverbial information in order to be fully understood. This additional information could be available in the form of an adverb, an adverbial prepositional phrase, or an adverbial clause. Other verbs accept this additional information when available, and specifically look for it, but can still function properly without it. And still other verbs do not care if it is included or not. These verbs are specifically marked in the lexicon as `obligatory-adverb required` and `optional-adverb acceptable`.

The verb `put` is an example of an obligatory-adverb verb. A sentence such as `He put the book.` leaves us naturally wanting to know where the book was placed, such as `on the desk` . But other verbs with the same grammatical context do not convey the same experience. `He read the book.` does not cause the reader to be looking for additional information modifying `read`, such as `in a chair` or `at the office`.

As with the `weak` and `strong` nouns, applications that look to summarizing these sentences must be aware of the information that can be easily removed, and the information that causes problems for the reader when it is removed.

In our initial default analysis, before the full thematic assessments begin, several conditions naturally cause verbs to be defaulted to an `obligatory` or `optional` condition. Any monotransitive verb that does not have a direct object but that does have an adverbial phrase is coded by default as an obligatory-adverb verb. This causes the adverbial phrase to be retained longer, as would an object to the verb.

Intransitive verbs should have the obligatory-adverb setting, causing any adverbial phrases to be linked more directly to the verb. And verbs that signal `unmarked` infinitive clauses are marked as optional-adverbial, causing the infinitive clause to be carried with the verb. An example of this type of sentence is `Bob had three people guard the door.`. `Had` signals the allowance of the unmarked infinitive `guard`. This sentence would feel very incomplete if this clause were removed when a summary of the sentence is generated.

Finally, ditransitive verbs with only one object set the optional-adverb flag to indicate that any adverbial information be strongly attached to the verb, filling in for the missing object.

Noun Support Attachment

As a last stage in the pre-processing theme section, each word is analyzed to determine if strong support exists for it. The strong support assessment will be used along with the strong/weak noun thematic assessments to determine if the word is a focal point for a strong point as a whole.

MAIN THEMATIC ASSESSMENTS

After the initial setup routines are complete, each word is processed through the main thematic assessment routines. These routines attach flags to each word/phrase that indicates its thematic character. Each theme routine will have a short explanation, examples where needed, and sample abstract syntactic representations that indicate the abstract nature of the sentence context that is necessary for the routine.

The thematic assessments are a series of tests made against each word/phrase in the exact context of the sentence. Each test records the existence or degree of applicability of each of the theme routines to the word/phrase. The collection of the grammar, style, base theme, and these thematic assessments together will provide the necessary information that applications need to re-write sentences and extract group of content.

There are three main types of thematic assessments:

1. Major Thematic Assessments

2. Theme-Relational Tagging

3. Theme-Location Identification

Major Thematic Assessments

Major thematic assessments contain all of the routines necessary to make major assessments about the overall theme of the sentence. There are 210 such routines, each of which produces an output to be stored for each word/phrase in the thematic context output.

AddAdv: Identifies `additive adverbs` functioning in an adverbial role. Additive adverbs indicate that the predication is additionally true about the referent under focus. Based on the exact context of the sentence, this flag is set when an additive adverb is not essential to the meaning. The adverb may occur in any contextual position in the sentence.

ex: Mary also could play the banjo.

The banjo similarly has the dynamic range of a chainsaw.

AdjAdvSubordination: Identifies adjectival and adverbial clauses that are not essential to the meaning or to the grammatical integrity of the sentence. Most non-contrastive type sentence level adverbial clauses are tagged, and most adjectival clauses that modify strong nouns are tagged. If the adjectival clause carries strong content information and the noun it modifies is weak, then the clause is not tagged. Adjectival clauses that have no strong elements are tagged even if the noun being modified is weak and needs support.

ex: After they had voted, the race was run on Sunday.

The main idea that he had was never implemented.

AdjDeterminer-- b: Identifies determiners that modify plural count nouns or mass nouns, and that are not essential to the meaning or to the grammatical integrity of the sentence. They must be used as a determiner in the context of the sentence.

ex: I don't have enough strength to lift the box.

AdjectiveNotDet: Identifies adjectives that are not determiners, and that are not essential to the meaning. The adjective must occur in a noun phrase, and be marked as a weak adjective in the lexicon.

ex: A large cat jumped off the roof

AdjectivalClause: Identifies adjectival clauses that are not essential to the meaning. If the adjectival clause carries strong content information and the noun it modifies is weak, then the clause is not tagged. If the clause contains no strong information, then it is tagged, even when the noun being modified is weak.

ex: The main idea that he had was never implemented.

AdjectivalPrepPhrase: Identifies adjectival prepositional phrases that are not necessary to the meaning. If the noun being modified by the prepositional phrase is weak and the prepositional phrase carries strong content, the phrase is not tagged. If the prepositional phrase contains no strong information, it is tagged, even if the noun it modifies is weak.

ex: My physics book with the torn pages was lost.

AdjSubjComp: Identifies adjectives functioning as subject complements that are not essential to the grammatical integrity of the sentence. These adjectives will be marked as weak in the lexicon.

ex: The box was large.

Adverbs: Identifies adjunctive adverbs that are not essential to the meaning or to the grammatical integrity of the sentence. The adverb may appear in any position in the sentence, and may modify any valid constituent.

ex: The bear quickly ran into the forest.

AdverbAfterVerb: Identifies adverbs (usually adjuncts) directly following verbs where the adverb is not essential to the meaning. It is essential only when the verb it modifies is marked in the lexicon as an obligatory or optional adverb-type verb.

ex: The bear ran quickly into the forest.

AdverbEndMc: Identifies adverbs (usually adjuncts) ending a main clause where the adverb is not essential to the meaning (when the verb in its clause is not an obligatory or optional adverb type verb).

ex: The bear ran into the forest quickly.

AdverbialNpInit: Identifies introductory noun phrases of time. The noun phrase may occur at the start of any main clause, must have a time noun as its head, and must be only a noun phrase, not a prepositional phrase or any other constituent.

ex: Early that morning, we set off for camp.

AdverbInit: Identifies adverbs (usually disjuncts) that start a main clause where the adverb is not essential to the meaning. It is essential to the meaning only when marked in the lexicon as an orienter, such as the words `economically` or `linguistically` which name industries or specific fields of study.

ex: Actually, they left for the store.

AdvClauselnit: Identifies adverbial clauses at the beginning of a main clause that are not necessary to the meaning. Only those clauses that contrast to the information in the main clause will not be tagged.

ex: After they had voted, the race was run on Sunday.

AdvInNp: Identifies adverbs in noun phrases that are not essential to the grammatical integrity of the sentence. This includes any adjverb but those marked as orienters.

ex: It was an unusually comical movie.

AdverbSplitInfin: Identifies adverbs in split infinitives.

ex: . . . to boldly go where . . .

AdverbialBetweenCommas: Identifies adverbial phrases set off by commas, which are not essential to the meaning or to the grammatical integrity of the sentence. This includes all adverbials that are not orienters.

ex: The bear was, at least partially, standing on its hind legs.

AdverbialClause: Identifies adverbial clauses that are not necessary to the meaning. These include most non-contrastive adverbials.

ex: When the right times comes, I am going to learn to fly a plane.

AgoAdverbial: Identifies time representations that end in `ago` or similar words, which are not necessary to the grammatical integrity of the sentence.

ex: I took the test some years ago.

Appositive: Identifies all appositives in any context.

ex: Bob Smith, a market analyst, said . . .

ApproxPrep: Identifies `approximator prepositions` such as `around, about, close to` where the prepositional phrase is not essential to the meaning. The phrase will be necessary only when it modifies a verb marked as obligatory or optional adverbial, or when the prepositional phrase contains strong content and the noun it modifies is weak.

ex: Bob left the party around ten o'clock.

Article: Identifies articles (determiner type).

ex: The bear ran down the road.

AttitudeAdv: Identifies `attitudinal adverbs` functioning in an adverbial role where the adverb is not essential to the meaning.

BeVerb: Identifies all forms of the `be` verb in certain contextual positions where the sense of the clause can be understood without the `be` verb.

ex: The student is taking too many courses.

BeVp: Identifies the entire non-lexical section of a verb phrase that involves a `be` verb, where the verb phrase section is not essential to the meaning or to the grammatical integrity of the sentence.

ex: Doug must be willing to invest in the future.

BogusSubject: Identifies subjects that carry no content.

ex: The level increased because the knob kept moving forward.

CommentInit: Identifies initial sentence comments that are not marked as orienters.

ex: Pound for pound, Bill Bates is the hardest hitter in the league.

ComparativeInSubjComp: Identifies comparatives in subject complements that are not essential to the meaning or to the grammatical integrity of the sentence.

ex: These cars are faster than mine.

ComparativeInSubject: Identifies comparative expressions in the subject that are not essential because they do not contain significant content.

ex: The faster planes will leave last.

Compromiser: Identifies `compromiser adverbs` that are not essential to the meaning, where the conjunction is not essential to the meaning or to the grammatical integrity of the sentence.

ex: Men both young and old were invited.

ConcessiveAdv: Identifies `concessive adverbs` that are not orienters.

ConjInNp: Identifies conjunctive and adjunctive adverbs that start main clauses and which are not orienters.

DemonsSubjBe: Identifies `demonstrative pronouns` that are the grammatical subject of `be` verbs.

DemonstrativeModifier: Identifies demonstrative adjectives that do not carry strong content (marked weak in the lexicon).

DemonstrativeSubject: Identifies demonstrative pronoun subjects that are not necessary to the grammatical integrity of the sentence.

Determiner--d: Identifies determiners that modify only plural count nouns, and that are not essential to the meaning.

DoVerb: Identifies the `do` verbs that are not negated and that are not essential to the meaning.

ex: The students did understand the lesson.

ElliptedPassive: Identifies ellipted passives clauses that are not essential to the meaning.

ex: The language supports several color spaces based on this standard.

EmptyVerb: Identifies verbs with an empty meaning, such as `try, begin, ought`, that are not essential to the meaning.

ex: He tries to maintain a good balance.

ExtractTopicWord: Returns the actual word from the initial sentence that represents the topic of the sentence.

Factive: Identifies `noun particles` that are measurements, such as `gallon, piece, few` that are not essential to the meaning.

ex: He added several gallons of water.

FinalPrep: Identifies prepositions that occur at the end of the sentence.

ex:

FindTopic: Identifies the main thematic topic in the sentence.

ex: A list of employees was printed.

The judge ruled that they were innocent.

FocusAdv: Identifies `focusing adverbs` that are not orienting words.

HaveAux: Identifies the `have` verb where it is not essential to the meaning or to the grammatical integrity of the sentence.

ex: The students have learned their lesson.

HaveTo: Identifies the phrasal forms of `have + to` when functioning as a full lexical verb. This sequence would be replacable by single words, such as `must`.

ex: We have to leave soon.

HedgingWd: Identifies `hedging` words, such as `partially` that do not carry strong content.

ex: He was partially finished with the job.

HedgingVerb: Identifies hedging verbs whose subject is plural with a following infinitive.

InfinClauseAfterObj: Identifies infinitive clauses that follow direct objects. The clause if tagged if it contains no strong elements.

ex: We completed all the forms to get a passport.

InfinInfin: Identifies a series of two infinitive phrases where the first is not necessary to the meaning or to the grammatical integrity of the sentence.

ex: We needed to finish to get our diploma.

IsAdjOrAdvClause: Identifies the given word as part of any adverbial or adjectival subordinate clause.

IsAnotherFocus: Returns TRUE when another main focus occurs in the current predicate after the given word location.

IsAnnouncement: Identifies the current verb as a verb of `announcement`.

ex: We announced that the acquisition was called off.

IsAdjAdvClauseAnywhere: Identifies that the given word is contained in an adverbial or adjectival subordinate clause at ANY level of subordination.

IsAntecedantPrnSubj: Identifies the given pronoun subject as having an antecedent in the current sentence.

ex: Bob said that he would be there later.

IsAsBlankAs: Identifies the given word as part of an `as WORD as` sequence.

ex: He is as clever as a fox.

IsAuxVerb: Identifies the given word as an auxiliary verb.

ex: He can see the painting.

IsBackRefCompoundNp: Identifies the given conjunction as part of a noun phrase compound where the second element is referring back to previous information.

IsBeComplement: Identifies the given word as a topic in a subject complement.

IsBeEquate: Identifies the given word as a `be` verb for a coordinated topic.

IsBogusMc: Identifies the given word as an appositive that is syntactically marked as a main clause.

ex: He pleaded guilty to embezzeling from a bank, and to tax evasion, acts committed before he was married.

IsBogusSubject: Identifies the given word as a gerund syntactically marked as a subject.

ex: An exercise machine employing this cam enables the user to produce remarkable growth in strength and muscle size.

IsCompAppositive: Identifies the given word as an appositive that is properly ended.

ex: Bob Smith, a market analyst, said . . .

IsComplexPrep: Identifies the given word as the preposition starting a complex prepositional phrase.

IsCompoundNp: Identifies the given word as part of a compound noun phrase.

ex: Bob caught a tuna and a bass.

IsCryptoNoun: Identifies the given word as an adverb that is syntactically functioning like a noun.

IsDefArtThisNp: Identifies the given word as part of a noun phrase that contains a definite article.

ex: The three bears lived in the woods.

IsDeleteableNounClause: Identifies the given word as part of a noun clause that does not contain strong information.

ex: A general link will find the general area of the document on which the mouse was clicked.

IsDitransNeedPp: Identifies the given word as a prepositional phrase that belongs to a ditransitive verb.

ex: The state declared the land as one of its natural resources.

IsElliptedPassiveClause: Identifies the given word as part of an ellipted passive construction.

ex: These are device independent programs based on the new standard.

IsEndOfClause: Identifies the given word as occurring at the end of any clause structure.

ex: After the game was over, we left for the party.

IsEndOfMc: Identifies the given word as occurring at the end of a main clause.

ex: The bear walked through the woods; Bob never heard it coming.

IsEveryWordToLeftDeleted: Identifies that every word to the left of the given word in the sentence has been marked as non-essential.

IsGoodNounThisPp: Returns TRUE when the given word is in a prepositional phrase that contains a strong or supported noun.

ex: A list of new employees was printed.

IsEmbeddedClause: Identifies the given word as part of a subordinate clause that is embedded in another subordinate clause.

ex: Bob said that the list that was printed was incomplete.

IsImperative: Identifies the given word as an imperative verb.

ex: Write your name on the first line.

IsInNp: Identifies the given word as part of a valid noun phrase.

ex: The bear walked through the woods.

Islnfinitive: Identifies the given word as an infinitive verb.

ex: Bob is going to give me the lamp.

IsInfinitiveClause: Identifies the given word as part of an infinitive clause.

ex: Bob is going to give me the lamp.

IsMainVerb: Identifies the given word as the main lexical verb of a verb phrase.

ex: The ship can usually be identified by its name.

IsModifierSpeechAct: Identifies the given word as a noun that is being modified by a speech act word.

ex: Chapter one is an overview . . .

IsNeededAdjClause: Identifies that the given word is part of an adjectival clause that IS essential to the sentence. The clause is essential when the noun it modifies is weak and needs support, and then the adjectival clause has strong elements.

ex: The person who rang the bell was never found.

IsNegAdvCl: Identifies the given word as part of a subordinate clause that is being negated (a negative word appears in the clause).

ex: When I couldn't jump the ditch they left me behind.

IsNegVerbThisPred: Identifies the given word as part of a predicate that contains a negative verb.

ex: Bob did not hear the bear.

IsNotPartOfSpeech: Identifies the given word as syntactically ambiguous.

IsNounThisDo: Identifies the given word as part of a direct object with a noun head.

ex: Bob heard the bear in the woods.

IsOkAdj: Identifies the given word as an adjective that carries strong thematic content for supporting a noun.

The economic summit was a success.

IsOkCompHead: Identifies the given word as the head word of a subject complement.

IsOneWordClause: Identifies the given word as a subordinate clause with only one word.

ex: The man accused was very nervous.

IsOnlyPossibleTheme: Identifies the given word as the only strong theme in the sentence.

ex: The bear didn't hear me approaching.

IsSubjectVerbMatch: Identifies that the two given word locations agree in number. This is valid only for simple number tests.

ex: The man with the pictures runs my business.

IsNeededPp: Identifies prepositional phrases that are attached to verbs and that are necessary for the proper thematic completion of the verb.

ex: He put the book on the table.

IsOfPpNeeded: Identifies possessive prepositional phrases that modify weak noun heads, where the prepositional phrase is necessary to the thematic completion of the main noun.

IsOkTheme: Identifies a particular word as being a valid thematic topic. A noun phrase that is strong or that has strong support in its modifying elements.

IsPassiveVbThisPred: Identifies the main verb phrases of the currently pointed to predicate, and returns TRUE when the verb phrase is a passive verb phrase.

ex: We were expected at the office.

IsPassiveVp: Identifies the current word position as being in a passive verb phrase.

ex: We were usually expected at the office.

IsPluralSubjectOfVerb: Identifies the subject of the verb currently being pointed to, and returns TRUE if this subject is plural.

ex: The boys who were at the store jumped into the car.

IsPosAppositive: Identifies the current word being pointed to as being an appositive for the previous noun phrase.

IsPosMainTopic: Identifies the current word being pointed to as being able to function as the main topic of the sentence. It must be strong or have strong support.

IsPrepPhrase: Identifies the current word being pointed to as part of a prepositional phrase.

ex: The rest of the group were hidden in the back of the house.

IsPreviousAs: Identifies when the current word being pointed to is part of an `as` subordinate clause.

ex: We need to implement the new plan now, as the old plan cannot be completed on time.

IsPreviousComparative: Identifies when the current word being pointed to is part of a comparative phrase in the predicate of the sentence.

IsPrevAuxNeg: Identifies if the current word being pointed to is a verb in a verb phrase that carries a negative modal verb.

ex: He could not usually talk that long.

IsReducedSubClause: Identifies that the current word being pointed to is part of a reduced subordinate clause.

ex: The bear walking in the woods is very noisy.

IsSameBaseClause: Identifies that the two words being pointed to are part of the same base clause.

IsSameClause: Identifies that the two words being pointed to are part of the same clause.

IsSameNounConstituent: Identifies that the two words being pointed to are part of the same noun constituent.

IsSamePp: Identifies that the two words being pointed to are part of the same prepositional phrase.

IsSectionHeading: Identifies the current sentence as being a heading only, not a complete grammatical sentence.

ex: Formatting New Sections

IsStartMc: Identifies the current word being pointed to as the first word of a main clause.

ex: The bear walked through the woods; Bob could not hear it.

IsSubjDeleted: Identifies that the subject for the clause that is being pointed to has been marked as not being essential to the meaning or to the grammatical integrity of the sentence.

ex: The list was not printed using the laser printer.

IsThereMainAction: Identifies that there is a main clause action in the sentence that has not been marked as weak or unnecessary.

ex: The bear walked through the woods.

IsThereMainFocus: Identifies that there is a main focus in the sentence.

ex: The employee master list was printed with a laser printer.

IsThereMainTopic: Identifies that there is a main topic in the sentence.

ex: The list was printed with a laser printer.

IsThereNcTopic: Identifies that the main topic of the sentence is being expressed by a noun clause.

ex: What the speaker said didn't make much sense.

IsTherePrevDo: Identifies that there is a direct object in the current predicate that occurs prior to the current position being pointed to.

ex: We heard the bear walking though the woods.

IsTherePrevPrepFrom: Identifies a prepositional phrase in the same basic thematic unit that is a `from` type prepositional phrase.

IsThereSupport: Identifies that the current noun being pointed to has strong modifying information.

ex: An economic decision is best.

IsThereWeakTopic: Identifies that the current word being pointed to is a weak, but usable, topic.

ex: The decision was made.

IsTrueAdj: Identifies that the current word being pointed to is a true adjective, not a participle.

ex: The linguistic program at the college was cancelled.

IsTrueNp: Identifies that the current word being pointed to is part of a valid noun phrase.

ex: The linguistic program at the college was cancelled.

IsThemePh: Identifies that the prepositional phrase being pointed to is part of the main theme of the sentence.

IsType11Quote: Identifies quoted material with the format--quoted main clause with comma+subject+speech act+comma:

ex: "We can do it," he said, and added that it would be difficult.

IsVerbThisClause: Returns TRUE when there is a lexical verb in the clause pointed to.

IsWeakCompoundNp: Identifies weak compound noun phrases.

ex: The line and the list were not long enough.

IsWeakPp: Identifies that the current word being pointed to is in a weak prepositional phrase.

ex: The name on the list was mine.

IsWhatTense: Returns the verb tense for the word being pointed to. Only `past` and `present` are valid.

IsProgressiveVp: Identifies the current word being pointed to as a progressive verb phrase.

IsRepeatTopic: Identifies a particular topic as one that has been established in the discourse recently.

ex: The bear was running through the woods. It stopped at a small pond and started to drink. Then the bear raised its head and started sniffing.

IsTooWeakThemeWord: Identifies a given word as one that is too weak to be a topic of the sentence.

ex: The list was printed on the laser printer.

LowAdverbialClauses: Identifies low priority adverbial clauses that are not necessary to the meaning.

MannerAdverb: Identifies `manner adverbs` that are not essential to the meaning or to the grammatical integrity of the sentence.

ex: He wrote the letter awkwardly.

McIntroConj: Identifies conjunctions starting main clauses where the conjunction is not essential to the meaning or to the grammatical integrity of the sentence. The conjunction would be replaced with a semicolon.

ex: The soldiers gave a great cheer, for he had won the victory.

Modal: Identifies `modal auxiliary verbs` that are not essential to the meaning or to the grammatical integrity of the sentence.

ex: We shall arrive on time.

ModDetAdv: Identifies adverbs that modify determiners that are not negative.

MoreAdverbial: Identifies the adverb `more` in contexts that are not essential to the meaning or to the grammatical integrity of the sentence. This usually indicates additional detail to follow that other theme routines would identify.

ex: Freud contributed more than anyone.

MoreThan: Identifies more . . . than constituents with than functioning as a preposition, with the prepositional phrase not essential to the meaning.

ex: It is more a fish than an animal.

NegativeAdj: Identifies negative adjectives that are not essential to the grammatical integrity of the sentence.

NounTimeAdverbial: Identifies noun time adverbials that are not essential to the grammatical integrity of the sentence.

ex: Ed signaled Thursday that he's tired.

ObjectAfterPp: Identifies syntactic direct objects that follow prepositional phrases, which are grammatically appositives or reduced clauses and not essential to the grammatical integrity of the sentence.

ex: The stock closed at 51/2, a gain of 1/8.

OfInNp: Identifies the `of` preposition as head of a prepositional phrase that, along with a weak noun it may modify, is not essential to the meaning or to the grammatical integrity of the sentence.

ex: One of the dogs

OneAdj: Identifies where `one`, when used as an adjective, is not essential to the meaning.

ex: We saw one bear running through the woods.

OnBeforeTime: Identifies where `on`, when used before `time` words, is not essential to the meaning.

ex: The party was held at the office on Tuesday.

OrphanAdjectivalClause: Identifies adjectival clauses whose noun head modifiers have been identified as not essential to the meaning or to the grammatical structure of the sentence.

OrphanAdv: Identifies adjuncts that are not part of verb phrases or noun phrases.

ex: The simple truth is often not simple at all.

OrphanPp: Identifies prepositions that do not have following noun phrases.

PersonalRef: Identifies personal references.

ex: I would expect other banks to follow suit.

PossProObj: Identifies possessive pronouns in prepositional phrases or objects, where the pronoun is not essential to the meaning or to the grammatical integrity of the sentence.

PossProSubj: Identifies possessive pronouns in subjects, where the pronoun is not essential to the meaning.

PreDetNp: Identifies `predeterminers` such as `just` that are not essential to the meaning.

ex: Bob thought that just three files were missing.

PrepPhrases: Identifies prepositional phrases that are not essential to the meaning or to the grammatical integrity of the sentence.

PrepPrep: Identifies a preposition followed by another preposition where the second preposition is not essential to the meaning or to the grammatical integrity of the sentence.

PseudoMcBreak: Identifies `in that` clauses where `in that` could be replaced by punctionation.

ex: We agreed with Bob, in that he was the expert.

PureCoordConj: Identifies `pure coordinating conjunctions` that could be replaced by commas or other punctuation.

Bob saw the bear, and the bear ran away.

QuoteSource: Identifies the quoted source of statements. Refer to the the individual IsQuote . . . theme routines for detail.

ReflexivePrn: Identifies `reflexive pronouns` that are not essential to the meaning or to the grammatical integrity of the sentence.

RelThat: Identifies `relative pronouns` that introduce relative clauses, where the pronoun is not essential to the grammatical integrity of the sentence.

SaveTopic: Identifies every word in the sentence that is not part of the main topic.

ex: The bear ran through the woods.

Semicolons: Identifies main clause boundaries where conjunctions could be replaced with punctuation.

ex: The bear ran through the woods, and Bob ran home.

StrandedInfinClause: Identifies syntactic infinitive clauses that are not essential to the meaning or to the grammatical integrity of the sentence.

StrandedNounClause: Identifies noun clauses that are not essential to the meaning or to the grammatical integrity of the sentence.

StrandedNounPhrase: Identifies temporal noun phrases that are not essential to the meaning or to the grammatical integrity of the sentence.

ex: The tiger at the circus performs twice a day.

StrayAdj: Identifies adjectives not in noun phrases or subject complements.

StrayAdverbial: Identifies adverbials that are not in traditional grammatical locations.

SubjAdvVerb: Identifies adverbs positioned between the subject and verb of a clause, where the adverb is not an orienter.

ex: Bob quickly ran away from the bear.

SubjectSplice: Identifies subordinate clause subjects that are acting as the subject of the main clause.

ex: As the term is used again in the same section of text, it loses importance. SweepNpTrash: Identifies noun phrases that appear stranded after the surrounding context has been identified as non essential.

ThanPrepPhrase: Identifies prepositional phrases beginning with `than` that are not essential to the meaning.

ex: It is more a fish than an animal.

ThatClauseAdj: Identifies adjectives in `that` clauses with weak verbs, where the entire clause is not essential to the meaning or to the grammatical integrity of the sentence.

ex: Be aware that similar products often come with different labels.

TimeAdj: Identifies `adjectives or adverbs of time` that are not essential to the meaning.

ex: Bob walked to the store daily.

TimeAdvInVp: Identifies time adverbs in verb phrases.

ex: Bob walked daily to the store.

TimeInObject: Identifies time noun phrases in objects.

ex: Bob went to Rome each Christmas.

TimeInSubjNp: Identifies time noun phrases in the subject of the sentence.

ex: Every Thursday is a hard day for Bob.

TimeSubject: Identifies simple time subjects, with following subject modifiers, where the time subject can be replaced with the following modifiers.

ex:

TimeTime: Identifies time words that follow other time words, where the second time word is not essential to the meaning.

ToInfinitive: Identifies infinitives marked by `to` where the `to` is not essential to the grammatical integrity of the sentence.

ToneAdv: Identifies `tone adverbs` indicated as `maximizers, emphasizers or diminishers` that are not essential to the meaning.

TopicalizerPhrase: Identifies topicalizers modifying before possessive prepositional phrases where the topicalizer and the following preposition are not necessary to the meaning or to the grammatical integrity of the sentence.

TopicalClause: Identifies introductions to topical clauses.

ex: It is dynamic in that it can provide feedback.

Transition: Identifies `transition words` that do not indicate `time` or `coordination`, and that are not essential to the meaning or to the grammatical integrity of the sentence.

TrashBogusMc: Identifies clauses begun with semicolons where there is not a full main clause and where the clause is not essential to the meaning or to the grammatical integrity of the sentence.

TrashMc: Identifies main clauses that have all of their major elements marked as non-essential to the meaning and to the grammatical integrity of the sentence, where the entire main clause is actually unnecessary.

TrashStraySubj: Identifies subjects that have become unattached because of insufficient strong information in the rest of the clause.

ex: The motivation for the research was the issue of how to teach pronunciation.

WhAdjClause: Identifies wh-element adjectival clauses that modify strong nouns or that do not carry supporting information.

ex: Boredom is especially trying for young people who have so few opportunities.

WhElement: Identifies wh-element clauses.

WhNounClause: Identifies noun clauses that are not essential to the grammatical integrity of the sentence.

ex: A model for the scientific investigation of language arose which took its problems almost exclusively from British sources.

Wordy: Identifies wordy expressions and single word replacements.

WhileSubordinators: Identifies `time-indicating` subordinating conjunctions, such as `while`, that are not essential to the meaning or that could be replaced with punctuation.

ex: Please get me some flour while you are at the store.

Theme-Relational Tagging

Theme-relational tagging looks for certain grammatical or thematic relationships and follows a particular line of processing which tags all of the words from a specifically identified start point to a specifically identified end point. There are approximately 15 of these routines.

DelAllAux: Flags each auxiliary verb in each verb phrase.

ex: Bob can leave as soon as he is cleared of the charges.

DelAllButNp: Flags each word in the sentence that is not in the current noun phrase being pointed to.

DelClause: Flags each word in the clause (and imbedded clauses) being identified by the given word.

DelCurrPp: Flags each word in the prepositional phrase being pointed to.

DelDo: Flags each word in the direct object being pointed to.

DeLogicBreak: Flags each word in the same logical constituent group indicated by the given word.

DelMc: Flags each word in the main clause being pointed to.

DelObj: Identifies any word in an object being identified by the given word.

DeIPp: Flags each prepositional phrase that is not essential to the meaning or to the grammatical integrity of the sentence.

DelRemainderSubj: Flags each word to the right of the current word that is part of the complete subject of the current clause.

DelStraySubj: Flags each word of the complete subject being pointed to when the subject is not essential to the meaning of the sentence.

DelToTheLeft: Flags each word to the left of the given word.

DelToTheRight: Flags each word to the right of the given word.

DelVerb: Flags the current word being pointed to if it is a verb.

DelVp: Flags all words if the verb phrase being pointed to.

Theme-Location Identification

Theme location identification searches for particular grammatical or thematic relationships and returns a location of where this word, phrase or clause starts in a sentence. There are approximately 35 of these routines.

FindIoThisPred: Returns the location of an indirect object in an identified predicate.

FindAllPp: Returns the location of a prepositional phrase where the last word of a string of phrases is needed to support any part of the prepositional phrase string from the beginning.

FindClauseType: Returns the type of subordinate clause at the given location.

FindClauseLevel: Returns the number of subordinate clause levels at the given location.

FindEndNp: Returns the location of the end of the given noun phrase.

FindEndLogicBreak: Returns the location of the end of the logical constituent group being pointed to.

FindEndObj: Returns the location of the end of the object being pointed to.

FindEndPp: Returns the location of the noun head of the prepositional phrase being pointed to.

FindEndSubj: Returns the location of the end of the complete subject being pointed to.

FindEndSc: Returns the location of the end of the subject complement being pointed to.

FindEndSubClause: Returns the location of the end of the subordinate clause being pointed to.

FindEndVp: Returns the location of the end of the verb phrase being pointed to.

FindLastNounInNp: Returns the location of the last noun head of the series of noun phrases identified by the given word.

FindLastVerbInVp: Returns the location of the last verb in the series of verb phrases identified by the given word.

FindNextMc: Returns the location of the start of the next main clause after the given word.

FindNextNoun: Returns the location of the next strong noun after the given word.

FindNextFirstNoun: Returns the location of the next noun after the given word.

FindNextKeptWd: Returns the location of the next word after the given word, where the word has not been marked as non-essential.

FindNounForThisAdj: Returns the location of the noun that the current adjective being pointed to modifies.

FindNounForThisPp: Returns the location of the noun head for the prepositional phrase being pointed to.

FindObject: Returns the location of the next object after the given word.

FindPrevNoun: Returns the location of the last noun before the current given word.

FindPrevNounVerb: Returns the location of the last noun or verb before the current given word.

FindPrepPrep: Returns the location of the last preposition before the current given word.

FindStartNp: Returns the location of the start of the noun phrase being pointed to.

FindPseudoVerbThisPred: Returns the location of the next participle in the predicate being pointed to.

FindStartMc: Returns the location of the start of the main clause being pointed to.

FindStartPp: Returns the location of the start of the prepositional phrase being pointed to.

FindStartSubClause: Returns the location of the start of the subordinate clause being pointed to.

FindStartVp: Returns the location of the start of the verb phrase being pointed to.

FindSubjThisPred: Returns the location of the simple subject after the current given word.

FindUndeletedWrd: Returns the location of the next word before the current given location that is not marked as non-essential to the meaning.

FindVerbThisPred: Returns the location of the first verb of the verb phrase for the current predicate being pointed to.

FindVerbThisSubj: Returns the location of the first verb of the verb phrase for the subject being pointed to.

Each of these assessments has its results stored for each word in the thematic context output area. Any application is now able to take advantage of this information, as well as the grammatical and stylistic information stored previously, to make intelligent observations about the grammar, theme and style of the text, and to perform some helpful operation against it, such as summarizing or outlining the text.

Sample Code

The following sample code shows how several typical theme tagging routines work. The theme parser works by setting a generalization of what each routine is looking for, followed by specific contexts that can either exclude certain sentences from the tagging or specifically include them.

* * * The above section tests that the current word being pointed to by word-- ctr is a first-person, personal pronoun, functioning as the subject of the clause, followed by a verb phrase. The clause must be a main clause, not a subordinate clause. If these tests pass, the routine continues, otherwise it returns. This test is the first general test to determine if a word is a personal reference type. It is followed by secondary tests the constrain this generalization in certain contextual conditions. Note in this sample routine that the constraints are fairly specific and if met return without doing any tagging. If the reference noun in question does not have these constraints, then it is flagged by default. * * *

______________________________________ { vbpos = FinfLastVerbInVp(word.sub.-- ctr+1); *** this locates the lastverbin the verb phrase following the word after the current pronoun *** if(IsNegVerbThisPred(vbpos) ∥ prep[vbpos+1]) *** this checks the verb phrase for a negativeelement anywhere in it, or for a preposition immedietely following thelastverb in the verb phrase *** { return 0; *** return when negative verb phrases encountered: WeCANNOT forsee any insurmountable problms. *** } ctr = vbpos+1; *** position to next word following the end of the verbphrase *** if(prn[ctr]) { return 0; *** return if a pronoun follows the verb phrase: I saw HIMthe following weekend. *** } while (ctr < number.sub.-- words-3 && predicate[ctr] && IsSameClause(vbpos,ctr)) { if(conj[ctr]) && IsWordCoordConj(ctr) && ctr < number.sub.-- words-2 && verb[ctr+1]) { vbpos = FindLastVerbInVp(ctr+1); if(IsNegVerbThisPred(vpos)) { return 0; *** Return when the predicate extends with the context of acoordinating conjunction followed by a verb phrase, and where the verbphrase contains a negative element. *** } break; } ctr++; } if(LEX(wd.sub.-- that.sub.-- clause.sub.-- verb,vbpos) ∥ LEX(wd.sub.-- emotion.sub.-- attitude,vbpos)) { if(LEX(wd.sub.-- factual.sub.-- know.sub.-- verb,vbpos)) { if(!(LEX(wd.sub.-- speech.sub.-- act,vbpos) && LEX(wd.sub.-- that.sub.-- clause.sub.-- verb,vbpos))) { return 0; *** Checks the last verb in the verb phrase for being eitherthat-clause verb (say, expect, see . . . ) or a verb of emotion orattitude(disappoint, amazed), and where the verb is a factual knowledge verb,butnot a speech act verb AND a that-clause verb. Verbs will be those suchas`hate, call . . . ` *** } } if(IsWordQuoteVerb(vbpos) && vbpos < number.sub.-- words-1 && !IsWordThat(vbpos+1)) { return 0; *** Returns when the verb position is a quotative verb, notthe last word of the sentence, and where the following word is NOTabstractly identified by the lexical flags set on `that`. I will WRITEassoon as I can. *** } endvp = FindEndVp(vbpos); if(endvp < number.sub.-- words-1 && IsInfinitiveClause(endvp+1)) { return 0; *** Returns when the end of the verb phrase (includesadverbs) is followed by an infinitive clause. *** } if(prn[endvp+1] && !LEX(wd.sub.-- nominative.sub.-- case.sub.-- prn,endvp+1)) { endvp++; *** Positions pointer to a subjective case pronoun *** } if(!noun.sub.-- phrase[endvp+1] && !conj[endvp+1])) { return 0; *** Returns if the following word is not in a noun phrase andnot a conjunction. *** } if(noun.sub.-- phrase[endvp+1]) { endnp = FindEndNp(endvp+1); if(!(conj[endnp+1] && IsWordTo(endnp+1))) { return 0; *** Returns when the following word in in a noun phrase, andwhen the next word after the end of the noun phrase is not the aninfini-tive clause (identified by the abstract features of the word `to` taggedin a conjunctio position, which signals the subordination in theparser). } } for(; word.sub.-- ctr <= endvp; word.sub.-- ctr++) { ThemeTag[word.sub.-- ctr][PersonalRefCode] = TRUE; *** Tags all of the words from word.sub.-- ctr through the end of theverbphrase as a personal reference: I believe that through revenue growth wewill make that goal. *** } if(IsWordThat(word.sub.-- ctr)) { ThemeTag[word.sub.-- ctr][PersonalRefCode] = TRUE; *** Tags the word that if in the following position after the previoustags. *** return 0; } else { word.sub.-- ctr--; *** Sets position at last tagged word. *** } } }}AdverbNpInit(word.sub.-- ctr)int word.sub.-- ctr;{int nounpos;if(noun.sub.-- phrase[word.sub.-- ctr] && !subordinate.sub.-- clause[word.sub.-- ctr] && IsStartMc(word.sub.-- ctr)){______________________________________

* * * The above code is the opening generalization that looks for a noun phrase that is not in a subordinate clause, and that starts a new main clause. This is the initial condition necessary for determining initial noun phrase adverbials. The following code will add constraints for particular contextual conditions. Notice that the constraints are fairly general, and that with a few basic tests being passed, and a few NOT conditions being met, the noun phrase will be tagged of this type. * * *

nounpos=FindLastNounInNP (word-- ctr); * * * Find the last noun in the noun phrase currently being pointed to from above. * * *

* * * if the noun head is a time word, not the simple subject of the clause, but is classified in the complete subject portion of the clause, then it is tagged as being an introductory adverbial of time. ex: Early next morning, before dawn, they fed the foxes. * * *

{* * * Opening generalization is to allow all prepositional phrases that are coded as adjectival types to be available for the useless prepositional phrase tagging. The following code will apply constraints to this generalization. Unlike the previous examples, this example does not return based on the constraints as much as it only allows for the prepositional tagging inside specific constraints. * * *

______________________________________ nounpos = FindNounForThisPp(word.sub.-- ctr); *** find the noun headforthe prepositional phrase. *** if (nounpos == NOT.sub.-- FOUND) { return 0; *** return if a valid noun head is not found for thepreposition. *** } if(IsGoodNounThisPp(word.sub.-- ctr)) { return 0; *** return of the noun head is listed as an importantsupporting word for other phrases. It cannot be flagged as useless ifthisis so. *** } endpp = FindEndPp(word.sub.-- ctr); *** Find the end of theprepositionalphrase (last word). *** if(endpp < number.sub.-- words-1 && IsWordThan(endpp+1)) { return 0; *** If the following word has the abstract characteristics of`than` then return. *** } if(predicate[word.sub.-- ctr]) { vbpos = FindVerbThisPred(word.sub.-- ctr); if(vbpos < number.sub.-- words && IsDitransNeedPp(vbpos)) { return 0; *** if the word is in the predicate, and the main lexicalverbfor the predicate is ditransitive, and is the type of word that needssupporting prepositional information, then return. ex: The statedeclared the land as one of its natural resources. *** }if(LEX(wd.sub.-- personal.sub.-- prn,nounpos) ∥ IsWordDemonstrative(nounpos) ∥ IsWordNeuterPrn(nounpos))______________________________________

{* * * A second generalization is made above. This states that the noun head identified earlier should be a personal pronoun, a demonstrative pronoun, or a neuter gender pronoun to be considered in this section. * * *

{* * * This routine allows another generalization to attempt the weak prep phrase tagging. If the word is a preposition and functioning adverbially, and of the prior word is an adjective and is not followed by any punctuation mark, and if the prior word is also a comparative adjective, then the routine continues. ex: It is better for you than for me. * * *

{* * * This constraint will allow for the weak prep phrase tagging. If the noun head of the preposition is followed by the abstract nature of the word `than` and does not have any punctuation mark, then the prep phrase is tagged as weak * * *

There are three primary uses of the thematic information stored in the output section:

1. Kernel Sentence Generation

2. Topic Extraction

3. Content Extraction

Kernel Sentence Generation

A sentence can be said to have a main point, or kernel, that embodies the major pieces of information that the writer is communicating to the reader The kernel is generally a subset of the sentence, with additional supporting detail mostly enforcing the main point. Much of the supporting information can be removed without detracting from either the logical truth of the sentence or the general understanding of the point being communicated. The grammar, style and theme of the sentence are used to make the determination of which words can be removed without violating either of the above guidelines. In addition, there is often not a single but a number of reductions that can be made, each moving towards the main kernel in small steps, the last step being the most tersely worded kernel sentence.

To generate these kernel sentences, certain thematic output settings will be checked, and certain low-content, grammatically neutral words removed. The correct thematic assessments are checked to give the desired kernel reduction level. Each of the following tags will be checked against each word in the sentence. Any word that has been thematically tagged with any of the assessments listed here will be removed from the sentence. The words that are left will form the new, reduced sentence.

Levels of Reduction

When a new sentence is generated, thematically-tagged functionality is removed, as opposed to reducing thematic aspects until a certain percent of the sentence remains. Four reduction levels are sufficient to represent summarized forms of sentences. Any more and the noticeable differences between levels becomes insignificant. The individual thematic contextual elements that are tested at each level should also be tested in the order given. If they are not, the reductions may vary. For example, some theme assessments look for `stranded` clauses, where the prior word removals have caused a clause to be stranded from the main clause. In this case, it should be tested after most other tests, or it may be stranded after the test is made. Some of these routines are using the run-time theme assessments, since they cannot be tested in isolation. The four reduction levels are:

1. Contextual Reduction

2. Base Thematic Reduction

3. Secondary Thematic Reduction

4. Headline Thematic Reduction

Contextual Reduction

Contextual reduction is a different type of reduction from the three thematic reductions. Thematic reductions function hierarchically, with each reduction level having potentially more information removed than did the previous reduction level. The contextual reduction may be smaller or larger than any of the thematic reductions, depending on the writing style of the sentence. From the original sentence, the following thematic contextual elements are tested and, if present, the corresponding words are removed from the sentence in this reduction type.

QuoteSource

ThatClauseAdj

TopicalClause

TrashStraySubj

OrphanAdjectivalClause

CryptoAdjClause

PrepPhrases

CryptoPrepPhrase

ThanPrepPhrase

PrepPrep

UselessPrepPhrase

AdverbInit

OrphanPp

AdverbialBetweenCommas

WeakSubjComp

ElliptedPassive

Adverbs

TopicalizerPhrase

TimeObject

PossProSubj

AdjDeterminer-- b

DemonstrativeSubject

WhElement

ComparativeInSubjComp

MoreThan

WeakAdj

AdvInNp

DemonstrativeModifier

AgoAdverbial

PersonalRef

BogusSubject

StrayAdj

TimeSubject

NonRestrictiveRel

PureCoordConj

Article

PossProObj

BeVerb

SubjAdvVerb

Modal

DoVerb

RelThat

AdverbAfterVerb

NeuterProSubj

DemonsSubjBe

HaveAux

DemonsAdj

OneAdj

PreDetNp

OfInNp

ToInfinitive

ToneAdv

FocusAdv

AddAdv

Factive

HaveTo

HedgingWd

AttitudeAdv

ConcessiveAdv

OnBeforeTime

TimeAdj

ApproxPrep

ReflexivePrn

UniversalPrn

EmptyVerb

WhileSubordinator

TimeTime

Determiner-- d

AdverbSplitInfin

NounTimeAdverbial

AdjSubjComp

Compromiser

CorrelConj

McIntroConj

PronounSubjPassive

FinalPrep

MannerAdverb

ModDetAdv

ComparativeInSubject

AdverbEndMc

CryptoAdv

WeakPrepSeq

HedgingVerb

VerbInit

TimeInSubjNp

Wordy

Base Thematic Reduction

This is the first of three hierarchical reductions for a sentence. It is intended that the resulting new sentence is both grammatical and logically correct. It should also be relatively easy to read. The following thematic contextual elements in the original sentence are tested and, if present, the corresponding words removed from the sentence at this reduction level.

QuoteSource

ThatClauseAdj

TopicalClause

TrashStraySubj

AdvClauseInit

TrashBogusMc

Appositive

AdjectivalClause

AdverbialClause

CryptoAdverbialInit

AdverbialNpInit

CryptoAdjClause

StrayAdverbial

PseudoMcBreak

CommentInit

ObjectAfterPp

StrandedInfinClause

StrandedNounClause

StrandedNounPhrase

WeakEquation

SubjectSplice

PersonalRef

ThanPrepPhrase

BogusSubject

StrayAdj

AdverbInit

PrepPrep

TimeSubject

AdverbialBetweenCommas

NonRestrictiveRel

PureCoordConj

Article

PossProObj

BeVerb

SubjAdvVerb

Modal

DoVerb

RelThat

AdverbAfterVerb

NeuterProSubj

DemonsSubjBe

HaveAux

DemonsAdj

OneAdj

PreDetNp

OfInNp

ToInfinitive

ToneAdv

FocusAdv

AddAdv

Transition

Factive

HaveTo

HedgingWd

AttitudeAdv

ConcessiveAdv

OnBeforeTime

TimeAdj

ApproxPrep

ReflexivePrn

UniversalPrn

EmptyVerb

WhileSubordinator

TimeTime

Determiner-- d

AdverbSplitInfin

NounTimeAdverbial

AdjSubjComp

Compromiser

OrphanPp

UselessPrepPhrase

CorrelConj

McIntroConj

PronounSubjPassive

FinalPrep

MannerAdverb

ModDetAdv

ComparativeInSubject

AdverbEndMc

CryptoAdv

WeakPrepSeq

HedgingVerb

VerbInit

TimeInSubjNp

Wordy

SweepNpTrash

VerbAEnd

InfinInfin

TrashMc

Semicolons

TrashWholeSent

StrayAdj

StrayAdverbial

CorrelConj

Secondary Thematic Reduction

This is the second of three hierarchical reductions for a sentence. It is intended that the resulting new sentence is both grammatical and logically correct. It removes additional information that begins to send the new sentence into a headline mode, but not quite as terse. The following thematic contextual elements in the original sentence are tested and, if present, the corresponding words removed from the sentence at this reduction level.

QuoteSource

ThatClauseAdj

TopicalClause

TrashStraySubj

AdvClauseInit

TrashBogusMc

Appositive

AdjectivalClause

AdverbialClause

CryptoAdverbialInit

AdverbialNpInit

CryptoAdjClause

StrayAdverbial

PseudoMcBreak

CommentInit

ObjectAfterPp

StrandedInfinClause

StrandedNounClause

StrandedNounPhrase

WeakEquation

SubjectSplice

AdjAdvSubordination

PrepPhrases

WeakSubjComp

ElliptedPassive

Adverbs

InfinClauseAfterObj

TopicalizerPhrase

TimeInObject

PossProSubj

AdjDeterminer-- b

DemonstrativeSubject

CryptoClause

WhElement

ComparativeInSubjComp

MoreThan

AdjectivalPrepPhrase

WeakAdj

AdvInNp

DemonstrativeModifier

AgoAdverbial

CryptoPrepPhrase

AdjectiveNotDet

PersonalRef

ThanPrepPhrase

BogusSubject

StrayAdj

AdverbInit

PrepPrep

TimeSubject

AdverbialBetweenCommas

NonRestrictiveRel

PureCoordConj

Article

PossProObj

BeVerb

SubjAdvVerb

Modal

DoVerb

RelThat

AdverbAfterVerb

NeuterProSubj

DemonsSubjBe

HaveAux

DemonsAdj

OneAdj

PreDetNp

OfInp

ToInfinitive

ToneAdv

FocusAdv

AddAdv

Transition

Factive

HaveTo

HedgingWd

AttitudeAdv

ConcessiveAdv

OnBeforeTime

TimeAdj

ApproxPrep

ReflexivePrn

UniversalPrn

EmptyVerb

WhileSubordinator

TimeTime

Determiner-- d

AdverbSplitInfin

NounTimeAdverbial

AdjSubjComp

Compromiser

OrphanPp

UselessPrepPhrase

CorrelConj

McIntroConj

PronounSubjPassive

FinalPrep

MannerAdverb

ModDetAdv

ComparativeInSubject

AdverbEndMc

CryptoAdv

WeakPrepSeq

HedgingVerb

VerbInit

TimeInSubjNp

Wordy

SweepNpTrash

VerbAtEnd

InfinInfin

TrashMc

Semicolons

TrashWholeSent

StrayAdj

StrayAdverbial

CorrelConj

Headline Thematic Reduction

This is the last of three hierarchical reductions for a sentence. The new sentence is now reduced to a headline-style sentence, that is not necessarily grammatical nor logically correct. The following thematic contextual elements in the original sentence are tested and, if present, the corresponding words removed from the sentence at this reduction level.

QuoteSource

ThatClauseAdj

TopicalClause

TrashStraySubj

AdvClauseInit

TrashBogusMc

Appositive

AdjectivalClause

AdverbialClause

CryptoAdverbialInit

AdverbialNpInit

CryptoAdjClause

StrayAdverbial

PseudoMcBreak

CommentInit

ObjectAfterPp

StrandedInfinClause

StrandedNounClause

StrandedNounPhrase

WeakEquation

SubjectSplice

AdjAdvSubordination

PrepPhrases

WeakSubjComp

ElliptedPassive

Adverbs

InfinClauseAfterObj

TopicalizerPhrase

TimeInObject

PossProSubj

AdjDeterminer-- b

DemonstrativeSubject

CryptoClause

WhElement

ComparativeInSubjComp

MoreThan

AdjectivalPrepPhrase

WeakAdj

AdvInNp

DemonstrativeModifier

AgoAdverbial

CryptoPrepPhrase

AdjectiveNotDet

PersonalRef

ThanPrepPhrase

BogusSubject

StrayAdj

AdverbInit

PrepPrep

TimeSubject

AdverbialBetweenCommas

NonRestrictiveRel

PureCoordConj

Article

PossProObj

BeVerb

SubjAdvVerb

Modal

DoVerb

RelThat

AdverbAfterVerb

NeuterProSubj

DemonsSubj

HaveAux

DemonsAdj

OneAdj

PreDetNp

OfInNp

ToInfinitive

ToneAdv

FocusAdv

AddAdv

Transition

Factive

HaveTo

HedgingWd

AttitudeAdv

ConcessiveAdv

OnBeforeTime

TimeAdj

ApproxPrep

ReflexivePrn

UniversalPrn

EmptyVerb

WhileSubordinator

TimeTime

Determiner-- d

AdverbSplitInfin

NounTimeAdverbial

AdjSubjComp

Compromiser

OrphanPp

UselessPrepPhrase

CorrelConj

McIntroConj

PronounSubjPassive

FinalPrep

MannerAdverb

ModDetAdv

ComparativeInSubject

AdverbEndMc

CryptoAdv

WeakPrepSeq

HedgingVerb

VerbInit

TimeInSubjNp

Wordy

SweepNpTrash

VerbAtEnd

InfinInfin

TrashMc

Semicolons

TrashWholeSent

LowAdverbialClauses

WeakPrepPhrase

NegativePrnSubj

WbNounClause

BeVp

NegativeAdj

WhAdjClause

MoreAdverbial

SweepNpTrash

UselessAdv

OrphanAdv

UselessPrnSubject

UselessPrnObj

TimeAdvInVp

StrayAdverbial

As a final stage of processing in the kernel generation section, the punctuation for the sentence is rewritten in order to best reflect the new sentence structure.

Topic Extraction

After the new kernel sentences have been generated, five topic extraction routines will be generated. They locate the main, new topic in the sentence, extract its supporting context, and place the result in one or more of the five topic extraction areas. The five topic extraction areas are:

1. Main Thematic Topic Group

2. Main Thematic Topic

3. Secondary Thematic Topic

4. Main Developed Topic

5. Main Proximity-Developed Topic

Main Thematic Topic Group

This topic extraction routine looks for the main topic in the sentence, along with its most important supporting context. If the main topic has already been developed, it looks for a secondary topic. If there is not a suitable secondary topic, or if the secondary topic has also already been developed, then the original main topic is selected. There are three processing phases used in establishing the main topic. First, certain thematic assessments are checked, and any associated words removed if they contain the tested assessments. These tests are:

QuoteSource

ThatClauseAdj

TopicalClause

AdverbInit

CommentInit

Appositive

WeakSubjComp

Second, the main topic is extracted from the sentence elements that remain after the previous reductions:

SaveTopic

Last, contextual elements of specific types are removed from the main topic:

PrepPrep

PrepPhrases

UselessPrepPhrase

SweepNpTrash

WeakAdj

PureCoordConj

UniversalPrn

ConjInNp

Transition

Factive

StrayAdj

DemonsAdj

DemonstrativeModifier

AdverbAfterVerb

AdvInNp

Compromiser

FocusAdv

The result is now placed in the main topic extraction output area.

Main Thematic Topic

The main thematic topic is an extended classification of the previous thematic group. If the topic group is located in the actual `thematic topic` position of the sentence, and not in a secondary focus position, then the main topic group is copied to this output area. This identifies the topic group not only as the main thematic topic of the sentence, but also indicates that it was in the strongest thematic position within the sentence.

Secondary Thematic Topic

The main thematic topic is copied to this output area, and any non-critical supporting information is removed. This moves the topic to just its main head, if possible. This is determined by checking the theme assessments for a `strong noun` classification. If the topic's head noun is classified as a strong noun, then the supporting information is removed. Otherwise, it stays at this level. If there is nothing in the main thematic topic output area, this output area will also be empty.

Main Developed Topic

This output area copies the main thematic topic into it as long as the main thematic topic head has been a main thematic topic head within the last 20 topics. This indicates that this main topic is one that is not only prominent in the sentence, but also in the discourse at this point.

Main Proximity-Developed Topic

Whenever a main developed topic appears for a second time with a user specified range of text, it is output to the main proximity-developed topic. This output indicates that it is not only a main focal point within the document, but is being reinforced through the writing.

Content Extraction

The final phase of thematic output processing is to identify certain major thematic points in a sentence. This is a superset of the detailed thematic elements, being those that are notably important for turning free form text into structured database fields. The following outputs are produced:

Thematic Head Words

Proper Names

Descriptions

Named Topics

Topic Indicators

Definitions

Developed Proper Names

Thematic Head Words

This output indicates that the identified word locations is a main focus point for a strong noun phrase. A strong noun phrase can either be a strong noun head or a noun head with strong support. Only the actual head word is specifically identified. Certain words that were initially flagged as strong or strong with support are removed from this list. The logic for this output is as follows:

If this condition is evaluated as true, then the word position is output to this area. Additionally, any adverbs that are marked as topicalizers are also flagged in this area. An example of these words is:

linguistically

aerodynamically

Proper Names

In this output area all of the proper names and places in the sentence are stored. Time nouns are excluded.

Descriptions

The `description` output specifically identifies every set of noun plus descriptor. These appear as an appositive. Both sides of the description are stored. They must be able to express an equation of `term1 is a term2`. An example of such a sentence that would generate these conditions is:

John Smith, a market analyst at Big Company, said . . .

This sentence will generate:

Term1(John Smith) isa Term2(market analysts)

Named Topics

This output area indicates topics that are specifically named in the context of a sentence. An example is:

This is a story about bears.

`Bears` is assigned to this output area.

Topic Indicators

This output area contains all strong orienter words. These are words that indicate a field of study or industry, such as:

computer software

prime interest rate

terrorist abduction

These words indicate the highest possible thematic significance in sentences.

Definitions

This output stores words that are defined in the context of the sentence with a `be` verb relationship. An example of such a sentence is:

A bear is an animal that lives in the forest.

This would generate two terms with an `isa` relationship:

Term1(bears) isa Term2(animals)

Developed Proper Names

This output indicates each proper name identified in `Proper Names` above that mentioned more than one time within a user specified length of text.

Claims (9)

What is claimed is:

1. A computer implemented method for processing words for classification, said method comprising the steps of:

storing, in memory of said computer system, a plurality of categories to classify at least one word;

generating a nominalized form for said word if said nominalized form exists for said word;

generating a noun form for said word if a noun form exists for said word;

generating a mass sense for said word if a mass sense exists for said word;

generating a count sense for said word if a count sense exists for said word; and

referencing said memory to associate, if generated, said nominalized form, said noun form, said mass sense, and said count sense of said word to said categories.

2. The method as set forth in claim 1, wherein the step of generating a nominalized form for said word comprises the steps of:

determining whether said word is an adjective, adverb or verb; and

generating a nominalized form for adjectives, adverbs and verbs.

3. The method as set forth in claim 1, further comprising the step of referencing said memory to classify phrases of words to said categories to provide a more specific designation for classification.

4. A computer readable medium comprising a set of instructions stored therein, which when executed by a computer, causes the computer to perform the steps of:

storing, in memory of said computer system, a plurality of categories to classify at least one word;

generating a nominalized form for said word if said nominalized form exists for said word;

generating a noun form for said word if a noun form exists for said word;

generating a mass sense for said word if a mass sense exists for said word;

generating a count sense for said word if a count sense exists for said word; and

referencing said memory to associate, if generated, said nominalized form, said noun form, said mass sense, and said count sense of said word to categories of said classification hierarchy.

5. The computer readable medium as set forth in claim 4, wherein instructions for generating a nominalized form for said word comprise instructions for:

determining whether said word is an adjective, adverb or verb; and

generating a nominalized form for adjectives, adverbs and verbs.

6. The computer readable medium as set forth in claim 5, further comprising instructions for referencing said memory to classify phrases of words to said knowledge catalog to provide a more specific designation for classification.

7. A computer system comprising:

memory for storing a plurality of categories to classify at least one word; and

processing unit coupled to said memory for generating a nominalized form for said word if said nominalized form exists for said word, for generating a noun form for said word if a noun form exists for said word, for generating a mass sense for said word if a mass sense exists for said word, for generating a count sense for said word if a count sense exists for said word, and for referencing said memory to associate, if generated, said nominalized form, said noun form, said mass sense, and said count sense of said word to said categories.

8. The computer system as set forth in claim 7, further comprising said processor unit for determining whether said word is an adjective, adverb or verb, and for generating a nominalized form for adjectives, adverbs and verbs to generate said nominalized form for said word.

9. The computer system as set forth in claim 7, further comprising said processor unit for referencing said memory to classify phrases of words to said categories to provide a more specific designation for classification.