WO2009091917A1 - Processing of phrases and clauses in documents - Google Patents

Processing of phrases and clauses in documents Download PDF

Info

Publication number
WO2009091917A1
WO2009091917A1 PCT/US2009/031143 US2009031143W WO2009091917A1 WO 2009091917 A1 WO2009091917 A1 WO 2009091917A1 US 2009031143 W US2009031143 W US 2009031143W WO 2009091917 A1 WO2009091917 A1 WO 2009091917A1
Authority
WO
WIPO (PCT)
Prior art keywords
phrases
clauses
phrase
clause
documents
Prior art date
Application number
PCT/US2009/031143
Other languages
French (fr)
Other versions
WO2009091917A9 (en
Inventor
Kingsley Martin
Trace Liggett
Gary Berosik
Thomas Zielund
Dietmar Dorr
Jochen Leidner
Original Assignee
Kingsley Martin
Trace Liggett
Gary Berosik
Thomas Zielund
Dietmar Dorr
Jochen Leidner
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Kingsley Martin, Trace Liggett, Gary Berosik, Thomas Zielund, Dietmar Dorr, Jochen Leidner filed Critical Kingsley Martin
Publication of WO2009091917A1 publication Critical patent/WO2009091917A1/en
Publication of WO2009091917A9 publication Critical patent/WO2009091917A9/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/33Querying
    • G06F16/3331Query processing
    • G06F16/3332Query translation
    • G06F16/3334Selection or weighting of terms from queries, including natural language queries

Definitions

  • Various embodiments of the present invention concern systems, methods, and software for detecting and/or correlating phrases in documents, such as legal contracts.
  • a common legal task for lawyers and other legal professionals entails drafting, analyzing, and/or negotiating transactional documents, such as legal contracts.
  • caselaw documents which include citations to other legal cases, that can inform lawyers about the validity, reliability, and origins of the legal text and reasoning within a given judicial opinion
  • contracts typically lack such indicators. Nevertheless, lawyers and other legal professionals often seek information about the precedential value and the reliability of contract (deal) documents, particularly clauses, definitions, and key phrases within these documents.
  • One exemplary system includes a phrase discovery engine or module, which automatically processes one or more documents, such as legal contracts, and identifies and groups phrases and clauses (super phrases or uberphrases) within the documents.
  • the phrase discovery engine can be used to assist in referencing industry standard clauses or phrases, to obtain alternative clause and/or phrase languages, or to obtain negotiation leverage.
  • Figure 1 is a diagram of an exemplary desktop platform corresponding to one or more embodiments of the present invention.
  • Figure 2 is a diagram of an exemplary web service platform corresponding to one or more embodiments of the present invention.
  • Figure 3 is a flow chart of an exemplary method corresponding to one or more embodiments of the present invention.
  • Figure 4 is a flow chart of an exemplary method corresponding to one or more embodiments of the present invention.
  • Figure 5 is a conceptual illustration of an action within a phrase discovery engine corresponding to one or more embodiments of the present invention.
  • Figure 6 is a conceptual illustration of another action within a phrase discovery engine corresponding to one or more embodiments of the present invention.
  • Figure 7 is a conceptual illustration of another action within a phrase discovery engine corresponding to one or more embodiments of the present invention.
  • Figure 8 is a conceptual illustration of another action within a phrase discovery engine corresponding to one or more embodiments of the present invention.
  • Figure 9 is an illustration of a document profile corresponding to one or more embodiments of the present invention.
  • Figure 10 is a facsimile of a graphical user interface portion of an exemplary multi-functional document draft and analysis system corresponding to one or more embodiments of the present invention.
  • Various embodiments of the present invention are useful in helping lawyers and other legal professionals address risk relating to drafting and/or entering into legal contracts.
  • risk is the risk of illegality or unenforceability which relates to violating legal principles.
  • An agreement creates a private law between the parties; however, this private law is subservient to the laws (both statutory and common law) of the jurisdiction that govern the agreement, often dictated by where the agreement is executed.
  • Such examples include statutory requirements, (e.g. trust principle that distribution of principal may be permitted only for "health, support, education and maintenance") and common law principles, (e.g. non-compete clauses).
  • Another risk concerns failure to comply with external (regulatory) or internal (contractual) requirements.
  • An additional risk is failing to secure the best terms (negotiation risk).
  • An agreement is a bargain between parties in which each party seeks to secure the best terms for themselves, which can be measured by other similar documents executed between parties having similar bargaining power.
  • Business norms vary by bargaining power and change over time.
  • Related to the previous risk is the risk of deviating from business norms and market standards (uncertainty risk).
  • An agreement between parties is a quantifiable expression of risk that each party is willing to bear; uncertainty or unpredictability increases the risk. In order to correctly assess the level of risk, the parties must understand the value of the assets affected and their future state (asset-specific risk).
  • One scenario allows the user to select a group of merger agreements, statutes, etc. to compare against each other or against a specific merger agreement, statute, etc.
  • Another scenario entails a user selecting a paragraph from a merger agreements, statutes, etc. to compare against a group of merger agreements, statutes, etc.
  • Yet another scenario entails a user drafting a merger agreement, and automatically receiving phrase or clause suggestions during the drafting process, with the phrase or clause suggestions automatically determined in the background based on a group of merger agreements, statutes, etc.
  • a group could be a user-defined set, a set defined by and/or for a particular law firm or corporation, or a set defined by the provider of the phrase processing engine or other third-party.
  • FIG. 1 shows that one such platform takes the form of web data service such as Westlaw.com (FIG. 1), desktop and/or firm side software (FIG. 2), multiple monitor UI, and/or a combination.
  • web data service such as Westlaw.com (FIG. 1)
  • desktop and/or firm side software FIG. 2
  • multiple monitor UI FIG. 1
  • FIG. 1 shows that one such platform takes the form of web data service such as Westlaw.com (FIG. 1), desktop and/or firm side software (FIG. 2), multiple monitor UI, and/or a combination.
  • One embodiment includes a transactional negotiation leverage and research tool which benchmarks deal documents against market standards or other reference sets, which distinguishes market standard language from deal- specific or negotiated language, which links to judicial interpretation of contractual language, and/or validates codified (statutory and regulatory) language.
  • Another embodiment involves a transactional drafting and review tool which finds alternative clauses and phrases and provides a taxonomic framework for editorial links and procedural guidance.
  • Yet another embodiment of the present invention exemplifies prototypical documents which could include master (non-negotiated) documents for a first draft and reference documents (e.g. buyer weighted sales agreement).
  • Other embodiments include alert functions to identify and report documents that have been affected by a change in the law, providing automated document and clause type classification with clause, definition and deal term libraries, and document vetting to identify valuable, reusable deal documents through processing-efficient phrase matching.
  • FIG. 3 shows a flow chart 300 of an exemplary phrase discovery and processing method.
  • Flow chart 300 includes process blocks 310-380, which in addition to being representative of exemplary processing activity are also representative of an exemplary functional partitioning or architecture. The flow chart is therefore applicable to software, firmware, and hardware implementations.
  • the exemplary method begins with annotating one or more documents, such a set of documents from a legal corpus.
  • Figure 4 shows an exemplary annotation method 310 via process blocks 31 1-316.
  • Block 31 1 entails sentence splitting.
  • Block 312 entails tokenizing the document.
  • Block 313 entails stemming and lemmatization of the document(s).
  • Block 314 entails tagging parts of speech within the documents.
  • Block 315 a named entity extractor, replaces named entities (numbers, dates, orgs, etc.) with a placeholder. This could also be done for pronouns with option of some co- reference analysis.
  • Block 316 performs a chunking function, which entails identifying various non-recursive phrases within the document, such as noun phrases, verb phrases, adjective phrases, adverb phrases, etc. Chunker may not work well with the placeholders but could use a dummy name to get around this aspect.
  • this parser is shallow in that it typically segments the text in a manner that uses only a single level of depth, meaning that there is no recursive nature to the resulting parsed elements.
  • Benefits include matching or relating things that are grammatically related in addition to words that are related, eliminating a lot of statistically determined phrases because they aren't meaningful in the language of choice (speeds up the process by not having to include many of the candidates). For example, the phrase "sound mind and body" would have a bracket indicating a phrase instead of going through all different word combination scenarios to identify the phrase. This would also reduce dramatically or potentially even replace phrase identification. Chunking adds annotations on the document the same way a tokenizer does.
  • Phrase identification could look for sequences of tokens ignoring chunks, sequences of chunks ignoring tokens, or sequence of tokens respecting certain aspects of chunk boundaries to improve several performance measures (precision, accuracy, speed, memory). Some of the document annotators might be useful only in the English language and maybe a few others. However, using only a tokenizer can be theoretically applied to any language.
  • the outputs of all these formatting techniques are annotated/tagged documents.
  • Block 320 entails identifying co-occurring phrases within the set of documents.
  • a phrase is defined as a sequence of two or more semi-contiguous tokens that are found in two or more documents (identical matching).
  • Semi-contiguous takes into account that several stop words may occur between the tokens of a phrase within the document. Once these stop words are removed, the tokens in an identified phrase would become continuous.
  • Some embodiments provide an upper limit of the number of tokens in a row (example, 5 tokens in a row) or a statistical cut-off in defining or identifying phrases.
  • One exemplary embodiment is based on an n-gram model to identify phrases.
  • an additional exemplary embodiment of the present invention could use a variation of n-grams without a maximum (e.g. 5 tokens in a row maximum) and use a confidence-based threshold (n-grams with pruning the search).
  • the pruned n-grams approach would cease identifying a phrase when there is no longer enough support for the token sequence. For example if beer and diaper are not a phrase, this approach can determine that beer, diaper, president are not going to be a phrase either.
  • Another exemplary embodiment utilizes a sequence alignment technique to identify phrases occurring in two or more documents. Sequence alignment looks at all tokens sequences between two documents simultaneously and decides where the phrases reside. Examples of sequence alignment algorithms include Needleman-Wunsch algorithm, BLAST, or a multiple alignment technique that can be used for more than two documents simultaneously. Once the phrases are identified, they are also associated with a number indicating the number of documents they occur in, the type of document they occur, for example, will, trust, contract, contract type, end-user license agreement, etc. execution continues at block 330.
  • Block 330 entails linking or clustering the identified phrases into equivalence classes or families.
  • phrase linkage occurs when two or more phrases are similar enough to represent the same phrase.
  • Several techniques can be utilized for linking including simple, complete and average linkage.
  • an exemplary embodiment uses external corpus/resources such as Wikipedia, Westlaw® Headnotes with KeyNumbers, Black's Law dictionary (corpus of conceptual entities) to determine the linkage between two or more phrases.
  • the exemplary embodiment uses an algorithm that looks at the words in the phrase and associates the phrase with a concept. It then associates the phrase with a surrogate identifier, trying to match that with other surrogate identifiers that it has found in Wikipedia, for example. If two of the phrases that have not otherwise been linked are found to have a common concept according to the external resource, then an assumption is made that the two phrases are sufficiently similar to be linked or clusters into the same equivalence class. When phrase linkage is complete, execution proceeds to block 340.
  • Block 340 entails grouping or clustering the phrase clusters or equivalence classes based on phrase co-occurrence into larger phrase groupings.
  • the exemplary embodiment deems phrase co-occurrence to occur when sets of equivalent classes show up together frequently enough, that is within a threshold number of documents together.
  • Exemplary thresholds include support thresholds, confidence thresholds, strength, and interestingness even when you don't know what you are searching for.
  • An additional exemplary embodiment includes the method of frequent item-set mining (FIM). It is important to note that proximity between phrases does not matter nor does order for this step.
  • phrase proximity plays a role in defining and utilizing super-phrases.
  • Block 350 entails defining a set of clauses (super phrases or uber phrases) based on phrase proximity and uniqueness.
  • a super-phrase is a collection of text areas that are associated with a phrase set. More particularly, a superphrase is a region of text bounded by two phrases in close proximity.
  • One exemplary embodiment uses association rules mining (ARM) to find associations within a set of equivalence classes.
  • the result is inference rules - rules to arrive at inferences from a set of clauses, and make statements about those clauses. For example, the inference rules say 90% of the contracts clauses also had these clauses as well.
  • This embodiment also provides recommendation rules based on inference rules to be used in risk-avoidance recommendations and drafting recommendations given the proximity and uniqueness constraints. These recommendation rules could provide for benchmarking or best practices standards to compare to user's work product or even a checklist for certain documents. If high thresholds of certain sets are met, a comparison of those sets to what user has drafted in order to provide recommendations.
  • Other exemplary embodiments for determining and generating super-phrases/uberphrases include tf-idf, indexing, clustering.
  • the parameters for system could be user defined or a machine learning technique could be used to automatically determine the optimal parameters.
  • Another feature allows for suffix arrays as a data structure choice when given large sequences of text to quickly access substrings.
  • the suffix array of a string can be used as an index to quickly locate every occurrence of a substring within the string. Finding every occurrence of the substring is equivalent to finding every suffix that begins with the substring. Thanks to the lexicographical ordering, these suffixes are grouped together in the suffix array, and can be found efficiently with a binary search.
  • an index of phrases, phrase clusters, groups of phrase clusters, and superphrases (or clauses) is available for use.
  • each of the phrases, groups, and superphrases is associated not only with a document identifier and document positional information for the associated text, but also metadata regarding the origin, authors, law firms, dates, jurisdictions, type of document (will, real estate agreement, mergers and acquisition agreement, confidentiality agreement, license agreement, etc.) (Some embodiments tag one or more of the phrases or clauses from the document corpus as good or bad (valid or invalid). This tagging may be done automatically based on a classifier (for example, an support vector machine) trained with known good or bad phrases or clauses, or manually by legal experts.)
  • a classifier for example, an support vector machine
  • Block 360 entails receiving user text input.
  • the input text is presented from an active edit window of a word processing application such as the Word or WordPerfect application.
  • the input is a set of documents, such as agreements, from a law firm.
  • the input takes the form of a single agreement or clause or paragraph of an agreement.
  • the input may be provided by a browser application. For example, a user may encounter an end-user license agreement (EULA) and an application program interface may automatically or with specific user direction identify the EULA as input. Exemplary execution continues at block 370.
  • EULA end-user license agreement
  • Block 370 entails processing the input text against the index structure created using process blocks 310-350.
  • this entails essentially processing the input text using blocks 310-350 to identify phrases, phrase groups, and superphrases and then identifying a ranked list of most similar phrases, phrase groups, and superphrases from the index structure.
  • corresponding documents, phrases, and associated meta data for the most similar phrases will be available.
  • Block 380 entails outputting results of the processing in block 370.
  • the results can take a variety for forms, such as listing of similar clauses or phrases and associated metadata; a listing of links for a set of documents having phrases or clauses most similar to the put one; and/or an annotated version of the input text indicating portions in conformity with known standard phrases as well as clauses that have deviated from such norms.
  • the norms may be a specific set of documents or clauses that have for example preapproved for use by law department for a given corporation or by a given law firm.
  • FIGS. 5-9 show a more conceptual version of an exemplary phrase discovery methodology.
  • FIG. 5 illustrates building a unique word list from any corpus of documents.
  • FIG. 6 represents an act of detecting common phrases. Phrase detection uses common word sequences appearing in two or more documents with defined proximity to generate candidate phrase lists. Phrase detection rules combine parsers for filtering, comparing and scoring candidate phrases. The rules may be adjusted for different document domains and include minimum number and/or percentage of matching words and maximum number or percentage of unmatched or stop words. In addition, some embodiments take into consideration word alternatives in phrases. Within a phrase some words or shorter phrases may appear and are identified as common word alternatives. Given the basic rules that the user has inputted, common phrases are discovered. Once these common phrases are recognized, a phrase list is created and the common phrases are saved within the list. Then phrase matching compares phrase lists across multiple documents to identify common phrases.
  • FIG. 7 shows an act of grouping or clustering common phrases. Since phrases may be overlapping, phrase group rules identify individual and phrase groups. Some embodiments allow for non-overlapping clusters, whereas others allow for overlapping clusters.
  • the fourth step includes grouping common clauses or super phrases. Rules are applied to further improve precision and recall and to group into clauses. For example, in 10,000 documents two phrases were always near each other, but in the 100 documents where only one of the phrases appeared, it had a low score and manual review showed they were not good matches. Therefore, those phrases are not considered to be like phrases.
  • FIG. 9 shows that after grouping, the exemplary method identifies the names of clauses. At this point, a solid collection of clauses in, for example - merger agreements - can be used as an index file or profile for future merger agreement comparison. This set of profiles simply improves performance and reduces processing time; however the option to choose a set and compare documents is still available.
  • a profile of the document set has been created.
  • the profiles are saved and in future processing, the user can utilize just this profile as a "document", and/or utilize a set of preclassified profiles to train a classifier that categorizes a given document or clause.
  • a profile can be used to "name” clauses manually for a document type, and deconstruct other documents based off of that set.
  • Scoring defaults can be set for document types and are always manually and programmatically adjustable. Some sample scoring metrics are listed:
  • Phrase Detection Identity and matching based on word commonality, proximity and uniqueness
  • Phrase Grouping phrase groups based on phrase commonality
  • Uberphrases phrase sets based on phrase group commonality and potentially proximity
  • blocks 160 have been executed for a corpus of documents, for example, from a law firm or from across multiple law firms, such in a collection of agreement for an online legal research service, one can repeat the methodology for a given document and identify related phrases and clauses and documents from the phrases using similarity metrics. Also, one may simply run a query against the phrase families, phrase family groupings, and/or phrase groupings to identity similar phrases as well as their corresponding documents and associated meta data, such as jurisdiction, location of author, date of addition to the corpus, etc.
  • various embodiments of systems incorporating the present invention provide a graphical user interface for defining or controlling user preferences regarding operation of a phrase processing engine.
  • FIG. 10 shows exemplifies a user preference interface for controlling phrase discovery in some embodiments of the present invention.
  • Some of these results include highlighting of negotiated/deal specific text versus boilerplate versus other (e.g. statutory), indicating degrees of variance, providing summary of risks for document overall and specific clauses, suggesting alternative clauses/ additional clauses based on degrees of similarity or dissimilarity, and suggesting relevant caselaw/statutes and other materials.
  • these results provide dynamic document analysis and form creation.

Abstract

Exemplary systems for processing a corpus of documents, such as legal contracts or agreements, are disclosed. The systems include a phrase discovery engine which derives statistics and phrase equivalence classes, groups of phrase equivalence classes, and uberphrases (clauses) bounded by phrases. These can be used to determine origins of phrases or clauses within given legal contract or to suggest alternative phrases and clauses.

Description

PROCESSING OF PHRASES AND CLAUSES IN DOCUMENTS
Copyright Notice and Permission
A portion of this patent document contains material subject to copyright protection. The copyright owner has no objection to the facsimile reproduction by anyone of the patent document or the patent disclosure, as it appears in the Patent and Trademark Office patent files or records, but otherwise reserves all copyrights whatsoever. The following notice applies to this document: Copyright © 2007, Thomson Reuters Global Resources.
Related Application
The present application claims priority to U.S. Provisional Patent Application 61/011,147, which was filed on January 15, 2008 and which is incorporated herein by reference.
Technical Field
Various embodiments of the present invention concern systems, methods, and software for detecting and/or correlating phrases in documents, such as legal contracts.
Background
A common legal task for lawyers and other legal professionals entails drafting, analyzing, and/or negotiating transactional documents, such as legal contracts. Unlike caselaw documents, which include citations to other legal cases, that can inform lawyers about the validity, reliability, and origins of the legal text and reasoning within a given judicial opinion, contracts typically lack such indicators. Nevertheless, lawyers and other legal professionals often seek information about the precedential value and the reliability of contract (deal) documents, particularly clauses, definitions, and key phrases within these documents.
Accordingly, the present inventors identified a need for better tools to help lawyers and other legal professionals work with and analyze phrases and clauses within transactional documents. Summary
To address this and/or other needs, the present inventors devised, among other things, systems, methods, and software that support authoring and/or review of documents, such as legal contracts. One exemplary system includes a phrase discovery engine or module, which automatically processes one or more documents, such as legal contracts, and identifies and groups phrases and clauses (super phrases or uberphrases) within the documents. The phrase discovery engine can be used to assist in referencing industry standard clauses or phrases, to obtain alternative clause and/or phrase languages, or to obtain negotiation leverage.
Brief Description of Drawings
Figure 1 is a diagram of an exemplary desktop platform corresponding to one or more embodiments of the present invention. Figure 2 is a diagram of an exemplary web service platform corresponding to one or more embodiments of the present invention.
Figure 3 is a flow chart of an exemplary method corresponding to one or more embodiments of the present invention.
Figure 4 is a flow chart of an exemplary method corresponding to one or more embodiments of the present invention.
Figure 5 is a conceptual illustration of an action within a phrase discovery engine corresponding to one or more embodiments of the present invention.
Figure 6 is a conceptual illustration of another action within a phrase discovery engine corresponding to one or more embodiments of the present invention.
Figure 7 is a conceptual illustration of another action within a phrase discovery engine corresponding to one or more embodiments of the present invention. Figure 8 is a conceptual illustration of another action within a phrase discovery engine corresponding to one or more embodiments of the present invention. Figure 9 is an illustration of a document profile corresponding to one or more embodiments of the present invention.
Figure 10 is a facsimile of a graphical user interface portion of an exemplary multi-functional document draft and analysis system corresponding to one or more embodiments of the present invention.
Detailed Description of Exemplary Embodiment(s)
This description, which incorporates the Figures and the appended claims, describes one or more specific embodiments of an invention. These embodiments, offered not to limit but only to exemplify and teach the invention, are shown and described in sufficient detail to enable those skilled in the art to implement or practice the invention. Thus, where appropriate to avoid obscuring the invention, the description may omit certain information known to those of skill in the art.
Legal Risk and Usage Scenarios
Various embodiments of the present invention are useful in helping lawyers and other legal professionals address risk relating to drafting and/or entering into legal contracts. There are several types of risk regarding legal contracts. One type of risk is the risk of illegality or unenforceability which relates to violating legal principles. An agreement creates a private law between the parties; however, this private law is subservient to the laws (both statutory and common law) of the jurisdiction that govern the agreement, often dictated by where the agreement is executed. Such examples include statutory requirements, (e.g. trust principle that distribution of principal may be permitted only for "health, support, education and maintenance") and common law principles, (e.g. non-compete clauses).
Another risk, known as procedural risk, concerns failure to comply with external (regulatory) or internal (contractual) requirements. An additional risk is failing to secure the best terms (negotiation risk). An agreement is a bargain between parties in which each party seeks to secure the best terms for themselves, which can be measured by other similar documents executed between parties having similar bargaining power. Business norms vary by bargaining power and change over time. Related to the previous risk is the risk of deviating from business norms and market standards (uncertainty risk). An agreement between parties is a quantifiable expression of risk that each party is willing to bear; uncertainty or unpredictability increases the risk. In order to correctly assess the level of risk, the parties must understand the value of the assets affected and their future state (asset-specific risk).
To help legal professionals manage and understand such contractual risk, the present invention is designed to function within a variety of usage scenarios. One scenario allows the user to select a group of merger agreements, statutes, etc. to compare against each other or against a specific merger agreement, statute, etc. Another scenario entails a user selecting a paragraph from a merger agreements, statutes, etc. to compare against a group of merger agreements, statutes, etc. Yet another scenario entails a user drafting a merger agreement, and automatically receiving phrase or clause suggestions during the drafting process, with the phrase or clause suggestions automatically determined in the background based on a group of merger agreements, statutes, etc. Note: A group could be a user-defined set, a set defined by and/or for a particular law firm or corporation, or a set defined by the provider of the phrase processing engine or other third-party.
Exemplary System Platforms Incorporating Phrase Discovery Engine
The present invention can be implemented on a number of exemplary platforms. FIG. 1 shows that one such platform takes the form of web data service such as Westlaw.com (FIG. 1), desktop and/or firm side software (FIG. 2), multiple monitor UI, and/or a combination.
One embodiment includes a transactional negotiation leverage and research tool which benchmarks deal documents against market standards or other reference sets, which distinguishes market standard language from deal- specific or negotiated language, which links to judicial interpretation of contractual language, and/or validates codified (statutory and regulatory) language. Another embodiment involves a transactional drafting and review tool which finds alternative clauses and phrases and provides a taxonomic framework for editorial links and procedural guidance. Yet another embodiment of the present invention exemplifies prototypical documents which could include master (non-negotiated) documents for a first draft and reference documents (e.g. buyer weighted sales agreement). Other embodiments include alert functions to identify and report documents that have been affected by a change in the law, providing automated document and clause type classification with clause, definition and deal term libraries, and document vetting to identify valuable, reusable deal documents through processing-efficient phrase matching.
Exemplary Phrase Discovery Method and Software Architecture Figure 3 shows a flow chart 300 of an exemplary phrase discovery and processing method. Flow chart 300 includes process blocks 310-380, which in addition to being representative of exemplary processing activity are also representative of an exemplary functional partitioning or architecture. The flow chart is therefore applicable to software, firmware, and hardware implementations.
At block 310, the exemplary method begins with annotating one or more documents, such a set of documents from a legal corpus. Figure 4 shows an exemplary annotation method 310 via process blocks 31 1-316.
Block 31 1 entails sentence splitting. Block 312 entails tokenizing the document. Block 313 entails stemming and lemmatization of the document(s). Block 314 entails tagging parts of speech within the documents. Block 315, a named entity extractor, replaces named entities (numbers, dates, orgs, etc.) with a placeholder. This could also be done for pronouns with option of some co- reference analysis. Block 316 performs a chunking function, which entails identifying various non-recursive phrases within the document, such as noun phrases, verb phrases, adjective phrases, adverb phrases, etc. Chunker may not work well with the placeholders but could use a dummy name to get around this aspect. In the exemplary embodiment, this parser is shallow in that it typically segments the text in a manner that uses only a single level of depth, meaning that there is no recursive nature to the resulting parsed elements. Benefits include matching or relating things that are grammatically related in addition to words that are related, eliminating a lot of statistically determined phrases because they aren't meaningful in the language of choice (speeds up the process by not having to include many of the candidates). For example, the phrase "sound mind and body" would have a bracket indicating a phrase instead of going through all different word combination scenarios to identify the phrase. This would also reduce dramatically or potentially even replace phrase identification. Chunking adds annotations on the document the same way a tokenizer does. Phrase identification could look for sequences of tokens ignoring chunks, sequences of chunks ignoring tokens, or sequence of tokens respecting certain aspects of chunk boundaries to improve several performance measures (precision, accuracy, speed, memory). Some of the document annotators might be useful only in the English language and maybe a few others. However, using only a tokenizer can be theoretically applied to any language. The outputs of all these formatting techniques are annotated/tagged documents. After the documents are annotated or tagged, exemplary execution continues at block 320 of Figure 3. Block 320 entails identifying co-occurring phrases within the set of documents. In the exemplary embodiment, a phrase is defined as a sequence of two or more semi-contiguous tokens that are found in two or more documents (identical matching). Semi-contiguous takes into account that several stop words may occur between the tokens of a phrase within the document. Once these stop words are removed, the tokens in an identified phrase would become continuous. Some embodiments provide an upper limit of the number of tokens in a row (example, 5 tokens in a row) or a statistical cut-off in defining or identifying phrases. One exemplary embodiment is based on an n-gram model to identify phrases. Furthermore, an additional exemplary embodiment of the present invention could use a variation of n-grams without a maximum (e.g. 5 tokens in a row maximum) and use a confidence-based threshold (n-grams with pruning the search). The pruned n-grams approach would cease identifying a phrase when there is no longer enough support for the token sequence. For example if beer and diaper are not a phrase, this approach can determine that beer, diaper, president are not going to be a phrase either. Another exemplary embodiment utilizes a sequence alignment technique to identify phrases occurring in two or more documents. Sequence alignment looks at all tokens sequences between two documents simultaneously and decides where the phrases reside. Examples of sequence alignment algorithms include Needleman-Wunsch algorithm, BLAST, or a multiple alignment technique that can be used for more than two documents simultaneously. Once the phrases are identified, they are also associated with a number indicating the number of documents they occur in, the type of document they occur, for example, will, trust, contract, contract type, end-user license agreement, etc. execution continues at block 330.
Block 330 entails linking or clustering the identified phrases into equivalence classes or families. In the exemplary embodiment, phrase linkage occurs when two or more phrases are similar enough to represent the same phrase. Several techniques can be utilized for linking including simple, complete and average linkage. Additionally, an exemplary embodiment uses external corpus/resources such as Wikipedia, Westlaw® Headnotes with KeyNumbers, Black's Law dictionary (corpus of conceptual entities) to determine the linkage between two or more phrases.
More particularly, the exemplary embodiment uses an algorithm that looks at the words in the phrase and associates the phrase with a concept. It then associates the phrase with a surrogate identifier, trying to match that with other surrogate identifiers that it has found in Wikipedia, for example. If two of the phrases that have not otherwise been linked are found to have a common concept according to the external resource, then an assumption is made that the two phrases are sufficiently similar to be linked or clusters into the same equivalence class. When phrase linkage is complete, execution proceeds to block 340.
Block 340 entails grouping or clustering the phrase clusters or equivalence classes based on phrase co-occurrence into larger phrase groupings. The exemplary embodiment deems phrase co-occurrence to occur when sets of equivalent classes show up together frequently enough, that is within a threshold number of documents together. Exemplary thresholds include support thresholds, confidence thresholds, strength, and interestingness even when you don't know what you are searching for. An additional exemplary embodiment includes the method of frequent item-set mining (FIM). It is important to note that proximity between phrases does not matter nor does order for this step.
However, phrase proximity plays a role in defining and utilizing super-phrases.
Block 350 entails defining a set of clauses (super phrases or uber phrases) based on phrase proximity and uniqueness. In the exemplary embodiment, a super-phrase (uberphrase) is a collection of text areas that are associated with a phrase set. More particularly, a superphrase is a region of text bounded by two phrases in close proximity.
One exemplary embodiment uses association rules mining (ARM) to find associations within a set of equivalence classes. The result is inference rules - rules to arrive at inferences from a set of clauses, and make statements about those clauses. For example, the inference rules say 90% of the contracts clauses also had these clauses as well. This embodiment also provides recommendation rules based on inference rules to be used in risk-avoidance recommendations and drafting recommendations given the proximity and uniqueness constraints. These recommendation rules could provide for benchmarking or best practices standards to compare to user's work product or even a checklist for certain documents. If high thresholds of certain sets are met, a comparison of those sets to what user has drafted in order to provide recommendations. Other exemplary embodiments for determining and generating super-phrases/uberphrases include tf-idf, indexing, clustering.
The parameters for system could be user defined or a machine learning technique could be used to automatically determine the optimal parameters. Another feature allows for suffix arrays as a data structure choice when given large sequences of text to quickly access substrings. The suffix array of a string can be used as an index to quickly locate every occurrence of a substring within the string. Finding every occurrence of the substring is equivalent to finding every suffix that begins with the substring. Thanks to the lexicographical ordering, these suffixes are grouped together in the suffix array, and can be found efficiently with a binary search. When block 350 finishes, an index of phrases, phrase clusters, groups of phrase clusters, and superphrases (or clauses) is available for use. In this index or data structure, each of the phrases, groups, and superphrases is associated not only with a document identifier and document positional information for the associated text, but also metadata regarding the origin, authors, law firms, dates, jurisdictions, type of document (will, real estate agreement, mergers and acquisition agreement, confidentiality agreement, license agreement, etc.) (Some embodiments tag one or more of the phrases or clauses from the document corpus as good or bad (valid or invalid). This tagging may be done automatically based on a classifier (for example, an support vector machine) trained with known good or bad phrases or clauses, or manually by legal experts.)
Block 360 entails receiving user text input. In the exemplary embodiment, the input text is presented from an active edit window of a word processing application such as the Word or WordPerfect application. However, in some embodiments , the input is a set of documents, such as agreements, from a law firm. In other embodiments, the input takes the form of a single agreement or clause or paragraph of an agreement. In some embodiments, the input may be provided by a browser application. For example, a user may encounter an end-user license agreement (EULA) and an application program interface may automatically or with specific user direction identify the EULA as input. Exemplary execution continues at block 370.
Block 370 entails processing the input text against the index structure created using process blocks 310-350. In the exemplary embodiment, this entails essentially processing the input text using blocks 310-350 to identify phrases, phrase groups, and superphrases and then identifying a ranked list of most similar phrases, phrase groups, and superphrases from the index structure. At this point, corresponding documents, phrases, and associated meta data for the most similar phrases (based on one or more computed similarity metrics) will be available.
Block 380 entails outputting results of the processing in block 370. In the exemplary embodiment, the results can take a variety for forms, such as listing of similar clauses or phrases and associated metadata; a listing of links for a set of documents having phrases or clauses most similar to the put one; and/or an annotated version of the input text indicating portions in conformity with known standard phrases as well as clauses that have deviated from such norms. In some embodiments, the norms may be a specific set of documents or clauses that have for example preapproved for use by law department for a given corporation or by a given law firm. FIGS. 5-9 show a more conceptual version of an exemplary phrase discovery methodology. FIG. 5 illustrates building a unique word list from any corpus of documents. In creating this word list, any standard search indexing techniques such as stemming, synonyms, etc. may be used. FIG. 6 represents an act of detecting common phrases. Phrase detection uses common word sequences appearing in two or more documents with defined proximity to generate candidate phrase lists. Phrase detection rules combine parsers for filtering, comparing and scoring candidate phrases. The rules may be adjusted for different document domains and include minimum number and/or percentage of matching words and maximum number or percentage of unmatched or stop words. In addition, some embodiments take into consideration word alternatives in phrases. Within a phrase some words or shorter phrases may appear and are identified as common word alternatives. Given the basic rules that the user has inputted, common phrases are discovered. Once these common phrases are recognized, a phrase list is created and the common phrases are saved within the list. Then phrase matching compares phrase lists across multiple documents to identify common phrases.
FIG. 7 shows an act of grouping or clustering common phrases. Since phrases may be overlapping, phrase group rules identify individual and phrase groups. Some embodiments allow for non-overlapping clusters, whereas others allow for overlapping clusters.
Once the common phrases are found and grouped, the fourth step (FIG. 8) includes grouping common clauses or super phrases. Rules are applied to further improve precision and recall and to group into clauses. For example, in 10,000 documents two phrases were always near each other, but in the 100 documents where only one of the phrases appeared, it had a low score and manual review showed they were not good matches. Therefore, those phrases are not considered to be like phrases. FIG. 9 shows that after grouping, the exemplary method identifies the names of clauses. At this point, a solid collection of clauses in, for example - merger agreements - can be used as an index file or profile for future merger agreement comparison. This set of profiles simply improves performance and reduces processing time; however the option to choose a set and compare documents is still available.
Now a profile of the document set has been created. The profiles are saved and in future processing, the user can utilize just this profile as a "document", and/or utilize a set of preclassified profiles to train a classifier that categorizes a given document or clause. In addition, a profile can be used to "name" clauses manually for a document type, and deconstruct other documents based off of that set.
The following factors may be taken into account when defining phrase, clause or super phrase:
• # of matching words
• # of unmatched words between words
• Order of matching words
• Distinguishing words • Length of phrase o And comparative length to matches
• # of documents containing phrase o E.g. 10,000 merger agreements processed, only 2 files contain a certain phrase, it is likely not a phrase. • Proximity of phrases
• Frequency of phrase groups in super phrase
Scoring defaults can be set for document types and are always manually and programmatically adjustable. Some sample scoring metrics are listed:
• Length of phrase • # of words matched
• # of distinguishing words
• Order of words
• # of documents matched
• # of words across documents • Proximity to other typically associated phrases (e.g. a sample set of
10,000 merger agreements, 9,000 have phrases A & B within 2 paragraphs of each other. While processing a new merger agreement, we discover phrases similar to A&B within 2 paragraphs of each other, so these are almost certainly variations of A&B). o Order of words can also be tabulated in a similarly
• Percent of total text in paragraph that matches phrases. Those of skill will appreciate that the exemplary embodiment in a sense provides three types of parsers: Phrase Detection (Identification and matching based on word commonality, proximity and uniqueness); Phrase Grouping (phrase groups based on phrase commonality); and Uberphrases (phrase sets based on phrase group commonality and potentially proximity)
Once blocks 160 have been executed for a corpus of documents, for example, from a law firm or from across multiple law firms, such in a collection of agreement for an online legal research service, one can repeat the methodology for a given document and identify related phrases and clauses and documents from the phrases using similarity metrics. Also, one may simply run a query against the phrase families, phrase family groupings, and/or phrase groupings to identity similar phrases as well as their corresponding documents and associated meta data, such as jurisdiction, location of author, date of addition to the corpus, etc. Indeed, if the corpus is assembled based on user submission, user data such as attorney name, state, jurisdiction, licensure, experience, and so forth can become part of the metadata associated with each document and thus each phrase or clause it contains, enabling one to discern likely origin or pedigree of phrases or clauses as well as popularity or rarity and other metrics.
Exemplary Interface for Controlling Phrase Discovery
Given the variety of use scenarios, various embodiments of systems incorporating the present invention provide a graphical user interface for defining or controlling user preferences regarding operation of a phrase processing engine.
FIG. 10 shows exemplifies a user preference interface for controlling phrase discovery in some embodiments of the present invention. Some of these results include highlighting of negotiated/deal specific text versus boilerplate versus other (e.g. statutory), indicating degrees of variance, providing summary of risks for document overall and specific clauses, suggesting alternative clauses/ additional clauses based on degrees of similarity or dissimilarity, and suggesting relevant caselaw/statutes and other materials. In addition, these results provide dynamic document analysis and form creation.

Claims

CLAIMSWhat is claimed is:
1. A method comprising: receiving an electronic text; parsing the electronic text in a plurality of phrases or clauses; comparing the phrase or clause to two or more phrases or clauses from a corpus of other electronic documents; and identifying one or more of the extracted phrases or clauses or other electronic documents based on the comparison.
2. The method of claim 1, wherein receiving the electronic document comprises: identifying a portion of text from a document within an active edit window of a word processing application; transmitting the portion of text over a network; and receiving the identified portion at a server configured to parse the electronic text into the plurality of phrases or clauses.
3. The method of claim 1, wherein comparing the phrase or clause to two or more phrases or clauses from a corpus of other electronic documents comprises providing an index of phrases or clauses, with each phrase or clause associated with jurisdiction information.
4. The method of claim 3, wherein each phrase or clause is associated with a document class identifier.
5. The method of claim 4, wherein the document class identifier indicates at least one of a set of legal agreement types.
6. The method of claim 1 , wherein comparing the phrase or clause to two or more phrases or clauses from a corpus of other electronic documents comprises: computing a first similarity metric based on the phrase or clause and a first one of the phrases or clauses from the corpus of other electronic documents; and computing a second similarity metric based on the phrase or clause and a second one of the phrases or clauses from the corpus of other electronic documents.
7. The method of claim 6, further comprising ranking the first one of the phrases or clauses relative to the second one of the phrases or clauses based on the first and second similarity metrics.
8. The method of claim 7, wherein identifying one or more of the extracted phrases or clauses or other electronic documents based on the comparison comprises outputting a ranked listing of the first and second ones of the phrases or clauses.
9. The method of claim 1 , further comprising flagging one or more phrases or clauses of the received electronic text as deviating from or conforming with one or more phrases or clauses extracted from the corpus of other documents.
10. A system comprising: means for receiving an electronic text; means for parsing the electronic text in a plurality of phrases or clauses; means for comparing the phrase or clause to two or more phrases or clauses from a corpus of other electronic documents; and means for identifying one or more of the extracted phrases or clauses or other electronic documents based on the comparison.
1 1. The system of claim 10, wherein the means for receiving the electronic document comprises: means for identifying a portion of text from a document within an active edit window of a word processing application; means for transmitting the portion of text over a network; and means for receiving the identified portion at a server configured to parse the electronic text into the plurality of phrases or clauses.
12. The system of claim 1 1, wherein the means for comparing the phrase or clause to two or more phrases or clauses from a corpus of other electronic documents comprises an index of phrases or clauses, with each phrase or clause associated with jurisdiction information.
13. The system of claim 12, wherein each phrase or clause is associated with a document class identifier.
14. The system of claim 12, wherein the document class identifier indicates at least one of a set of legal agreement types.
15. The system claim 11, wherein one or more of the recited means is implemented using one or more processors operatively coupled to one or more memory devices, wherein each of the memory devices includes one or more machine executable instructions sets for causing the processor to perform the recited function.
16. The system of claim 15, wherein one or more of the processor resides on a web server operatively coupled to a legal research database and one or more of the processors resides on a client access device communicatively coupled to the server via a wide or local area network.
PCT/US2009/031143 2008-01-15 2009-01-15 Processing of phrases and clauses in documents WO2009091917A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US1114708P 2008-01-15 2008-01-15
US61/011,147 2008-01-15

Publications (2)

Publication Number Publication Date
WO2009091917A1 true WO2009091917A1 (en) 2009-07-23
WO2009091917A9 WO2009091917A9 (en) 2009-12-17

Family

ID=40474653

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/US2009/031143 WO2009091917A1 (en) 2008-01-15 2009-01-15 Processing of phrases and clauses in documents

Country Status (2)

Country Link
AR (1) AR070182A1 (en)
WO (1) WO2009091917A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9904662B2 (en) 2015-06-23 2018-02-27 International Business Machines Corporation Real-time agreement analysis

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11625421B1 (en) * 2020-04-20 2023-04-11 GoLaw LLC Systems and methods for generating semantic normalized search results for legal content

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06318202A (en) * 1993-05-06 1994-11-15 Sharp Corp Document storage system, document managing system and document display system
US20030172066A1 (en) * 2002-01-22 2003-09-11 International Business Machines Corporation System and method for detecting duplicate and similar documents
EP1622053A1 (en) * 2004-07-26 2006-02-01 Google, Inc. Phrase identification in an information retrieval system
WO2006023542A2 (en) * 2004-08-23 2006-03-02 Lexisnexis, A Division Of Reed Elsevier Inc. Point of law search system and method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06318202A (en) * 1993-05-06 1994-11-15 Sharp Corp Document storage system, document managing system and document display system
US20030172066A1 (en) * 2002-01-22 2003-09-11 International Business Machines Corporation System and method for detecting duplicate and similar documents
EP1622053A1 (en) * 2004-07-26 2006-02-01 Google, Inc. Phrase identification in an information retrieval system
WO2006023542A2 (en) * 2004-08-23 2006-03-02 Lexisnexis, A Division Of Reed Elsevier Inc. Point of law search system and method

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
ALLAN J: "Building hypertext using information retrieval", INFORMATION PROCESSING & MANAGEMENT, ELSEVIER, BARKING, GB, vol. 33, no. 2, 1 March 1997 (1997-03-01), pages 145 - 159, XP004091792, ISSN: 0306-4573 *
C. COLLBERG, S. G. KOBOUROV, J. LOUIE, AND T. SLATTERY: "SPLAT: A System for Self-Plagiarism Detection", IADIS CONFERENCE ON WWW/INTERNET, 8 November 2003 (2003-11-08), Algarve, Portugal, pages 508 - 514, XP002522342, Retrieved from the Internet <URL:https://www.cs.arizona.edu/~kobourov/icwi_plag.pdf> [retrieved on 20090402] *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9904662B2 (en) 2015-06-23 2018-02-27 International Business Machines Corporation Real-time agreement analysis
US9904661B2 (en) 2015-06-23 2018-02-27 International Business Machines Corporation Real-time agreement analysis

Also Published As

Publication number Publication date
AR070182A1 (en) 2010-03-17
WO2009091917A9 (en) 2009-12-17

Similar Documents

Publication Publication Date Title
US9811518B2 (en) Systems, methods, and software for questionbased sentiment analysis and summarization
Verspoor et al. A corpus of full-text journal articles is a robust evaluation tool for revealing differences in performance of biomedical natural language processing tools
Resnik et al. The web as a parallel corpus
Bagheri et al. Care more about customers: Unsupervised domain-independent aspect detection for sentiment analysis of customer reviews
US8285541B2 (en) System and method for handling multiple languages in text
Kazemi et al. Claim matching beyond English to scale global fact-checking
Pertile et al. Comparing and combining C ontent‐and C itation‐based approaches for plagiarism detection
Bhatia et al. Mining privacy goals from privacy policies using hybridized task recomposition
Li et al. Bridging semantic gaps between natural languages and APIs with word embedding
US20140180934A1 (en) Systems and Methods for Using Non-Textual Information In Analyzing Patent Matters
US20150356181A1 (en) Effectively Ingesting Data Used for Answering Questions in a Question and Answer (QA) System
Kim et al. Two-step cascaded textual entailment for legal bar exam question answering
Yalcin et al. An external plagiarism detection system based on part-of-speech (POS) tag n-grams and word embedding
Hollenstein et al. Inconsistency detection in semantic annotation
Nassif et al. Automatically categorizing software technologies
Rodríguez-González et al. Extracting diagnostic knowledge from MedLine Plus: a comparison between MetaMap and cTAKES Approaches
An et al. Exploring characteristics of highly cited authors according to citation location and content
Rakian et al. A Persian fuzzy plagiarism detection approach
Andersson et al. Insight to Hyponymy Lexical Relation Extraction in the Patent Genre Versus Other Text Genres.
Karnalim Language-agnostic source code retrieval using keyword & identifier lexical pattern
Mirrezaei et al. The triplex approach for recognizing semantic relations from noun phrases, appositions, and adjectives
WO2009091917A1 (en) Processing of phrases and clauses in documents
Rinaldi et al. Ranking of CTD articles and interactions using the OntoGene pipeline
Sundareswara et al. A large-scale exploration of terms of service documents on the web
Treude et al. Challenges in analyzing software documentation in Portuguese

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 09702520

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 09702520

Country of ref document: EP

Kind code of ref document: A1