Skip to content
/ plint Public

patent claim proofreader and analyzer for 112(b) issues, restrictions, and other issues

License

Notifications You must be signed in to change notification settings

btrettel/plint

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

plint: patent claim proofreader and analyzer

NOTE: This software is overdue for a complete rewrite in a more maintainable and testable way. It's essentially a prototype of a bunch of ideas I had, when I wasn't sure which data structures would be appropriate. Apologies to anyone extending this.

Current version: 0.32.2

plint can proofread and analyze a text file containing patent claims for the following:

The specification can be analyzed for the following:

By default, plint will emulate a nitpicky examiner. When making the default claims warning file (claims.csv), before adding a line related to patent prosecution, I ask whether 1% or more of examiners or judges would reject a claim based on the presence of a particular word or phrase. I don't ask whether the rejection would be valid. claims.csv is meant to be conservative in that it will have far more warnings than rejections any examiner or judge would actually make. It represents rejections (valid or not) that an applicant possibly faces. If this is too nitpicky for your tastes, you're welcome to filter out warnings you don't want, modify the existing warnings file, or make your own warnings file. plint is highly customizable.

Legal

Copyright 2022-2023 Ben Trettel. plint is licensed under the GNU Affero General Public License v3.0, a copy of which has been provided with the software. This work comes with no warranty. If you want a different license for your use, you're welcome to contact me at http://trettel.us/contact.html.

How I use plint

As an example, I could save the claims to claims.txt and the specification to spec.txt. I will then create a JSON file containing plint's configuration for this application. The JSON file in this example is:

{
    "claims": "claims.txt",
    "ant_basis": true,
    "title": "Example title",
    "spec": "spec.txt",
    "uspto": true,
    "endings": true,
    "restriction": true,
    "debug": true,
    "filter": ["fluidly", "supplying"]
}

In this example, I'm saving the JSON file to app.json. I then mark the claims for the antecedent basis checker as described below. Ideally I only have to mark claim elements the first time they are introduced. If you set your text editor to highlight text matching the following regex, it will help identify where plint thinks new claim elements start:

\b(a|an|at least one|one or more|more than one|two or more|two|three|four|five|six|seven|eight|nine|ten)\b

This will require some iteration to get right, so I will run plint as follows, modify the claim marking in response to the warnings and parsing errors displayed, and repeat until plint parses the independent claims properly:

plint .\app.json

The marked claims will be written to claims.txt.marked in this example. Once plint runs through all the claims without parsing errors, I check the .marked file to identify anything plint missed, manually mark up claims.txt to account for the missed element(s), and rerun plint. For example, a claim might say "wherein air circulation unit is configured", which plint won't mark correctly as the article is missing due to a typographical error. So I mark that text in claims.txt as wherein [air circulation unit] is configured because the article is supposed to be "the", indicating that this is not the first time the claim element "air circulation unit" appeared. (Otherwise the term would be marked up in curly brackets: { and }.) Typos are one reason plint won't necessarily mark claims correctly.

Another reason plint might not mark claims correctly is that not all valid claim elements will necessarily be preceded with an article or one of the phrases listed above. This will often appear as plint complaining about nested claim elements. When the first appearance of a claim element was not marked, plint can not automatically mark subsequent appearances of that claim element, causing a parsing error. When this sort of parsing error occurs, look for the first appearance of the claim element causing trouble and manually mark it with { and }.

As discussed below, debug mode is enabled, which will enable verbose mode as well. Debug and verbose modes display more information, and this extra information may be useful when iteratively marking the claims. Once the claims are marked up, I typically remove the debug line in the JSON file.

Once I am confident that I marked the claims for antecedent basis properly, I will remove the debug flag and add the outfile flag to save the output to a file, so the JSON file is now:

{
    "claims": "claims.txt",
    "ant_basis": true,
    "title": "Example title",
    "spec": "spec.txt",
    "uspto": true,
    "endings": true,
    "restriction": true,
    "outfile": true,
    "filter": ["fluidly", "supplying"]
}

Note the filter line of the JSON file. I will add filters as appropriate if I'm finding the output contains many false positives for a particular term, for example. I have a plint JSON file template with a filter line that removes many warnings that I don't want to see.

Then I will check each line in claims.txt.out. Most of the warnings will not lead to rejections or objections, but all should be checked. After reading the warnings, I may decide to mark the claim differently if plint is still not interpreting the claim properly.

If any of the settings aren't seen as relevant, for example, endings or restriction, I remove them from the JSON file.

Hard-coded checks

The following hard-coded checks are made:

  • A check that the claim number is formatted with a period after the number, for example: "1."
  • A check that the claim number is an integer.
  • A check that the claims are in numerical order.
  • A check that the claim ends with a period. See MPEP 608.01(m)
  • A check that each independent claim starts with 'A' or 'An'. This is not required but is typical. See MPEP 608.01(m) for the requirements.
  • A check that each dependent claim starts with 'The'. This is not required but is typical. See MPEP 608.01(m) for the requirements.
  • A check for multiple dependent claims to manually check.
  • A check that dependent claims do not refer back to themselves.
  • A check that dependent claims refer back to existing claims.
  • A check that claim 1 is the shortest claim as a spot check for 37 CFR 1.75(g) compliance. See MPEP 608.01(i).
  • A check for method claims that do not contain the word step or any words ending in "ing". These are possibly use claims.

Warnings file

A warnings file is used to identify possibly problematic claim language.

The standard warnings file (claims.csv) can be modified to add or remove warnings as desired by the user. The format of this file is as follows: The first column is "regex", which contains regular expressions to match against the claims. The second column is "message", which lists the message displayed when the regex is matched. The file must start with a line listing the columns as "regex" and "message".

As an example, consider the following line:

\belement\b,Possible 112(f) invocation. See MPEP 2181.

The \b code means word boundary in regular expressions, so this line will match the word element but not match elemental. After the comma is the message displayed, including a convenient MPEP reference useful to determine whether claim language caught by this line meets 112(f).

An external warnings file can be called with the --warnings flag.

Specific warnings can be disabled in a warnings file without the line being deleted by adding "#" to the beginning of the regex column of a warning. Comments can be added in the warning column; all text after "#" will not be printed in plint.

Warnings with warning text containing the terms "112(d)" or "DEPONLY" will only apply to dependent claims. This is true even if "DEPONLY" is only printed in a comment.

Filtering out warnings

Warnings can be disabled from the command line by filtering out any part of the warning message printed using the --filter flag followed by one or more regular expressions. For example, to filter out all warnings containing the text "112(f)":

plint claims.txt --filter "112\(f\)"

Then no warnings where the text contains "112(f)" will be printed. (The quotes are necessary to prevent the shell from interpreting the parentheses. And the parentheses are escaped as parentheses have a special function in regular expressions.) Multiple filters can be applied as well:

plint claims.txt --filter "112\(f\)" antecedent

(As can be seen, no quotes or parentheses are necessary for single words without any special characters like "antecedent". However, multiple words will require quotes, for example: "antecedent basis" should be quoted.)

The filtering applies to all warnings, not just warnings from a warnings file.

Forced mode

Commented out warnings can be forcibly reenabled from the command line with the -F or --force flag. The user can see whether any warnings are commented out from the command line output. For example, the following shows that 5 warnings are commented out:

410 claim warnings loaded, 5 suppressed.

When plint is run with the --force flag, none of the warnings will be suppressed:

415 claim warnings loaded, 0 suppressed.

Antecedent basis checking

Checking for antecedent basis issues requires using the optional flag -a or --ant-basis. This is optional because antecedent basis checking requires the claims file to use a special syntax because it is difficult to automatically recognize the start and end of claim elements. See below for notes on the syntax.

plint will recognize that the terms "a", "an", "at least one", and "one or more" will appear before new claim elements and that the words "the" or "said" will appear before previously introduced claim elements. plint will also know that a claim element ends when a semi-colon, comma, or colon appear, and at the end of a claim. plint can recognize previously marked claim elements to reduce the time needed to mark a claim.

To check the demo claims on Linux:

./plint.py -a demo-claims.txt

The antecedent basis checker will make sure that all "previously introduced" claim elements (preceded with "the", "said", or [) were introduced earlier in the claim, or in one of the claims the current claim depends on.

If a specific claim element is introduced more than once, a warning will be printed. For example, the following claim will produce a warning:

1. A device comprising:
a widget;
a widget.

Special syntax for antecedent basis analysis

  • When the start of a new element is not detected, add { before the element.
  • When the start of an element previously introduced is not detected, add the [ before the element.
  • When the end of a new element is not detected, add } after the element.
  • When the end of an element previously introduced is not detected, add ] after the element.
  • Alternatively, if you want plint to automatically determine which type of element is ending, use |.
  • Claim elements previously introduced are automatically marked. For example, if a claim states "a widget", this will be interpreted as a {widget}. plint will then automatically interpret "the widget" as the [widget] in the claim being analyzed and its dependents. If desired, automatic marking can be disabled with the --manual-marking command line argument.
  • When an article should not create an element, add # to the beginning of that word. For terms that introduce multiple elements that contain multiple words (like "at least one"), it is necessary to place the # not at the first term (for example: at #least one) for the moment.
  • When a claim element was introduced properly as a singular element but later referred to as plural, the character ! can be used to erase the plural. For example, [expected traffic delays!; will be interpreted as [expected traffic delay];. More broadly, ! simply removes the character preceding it.
  • Sometimes getting plint to properly parse claim elements requires adding text. Text put between backticks (`) will be added to the claim for the antecedent basis check but not used otherwise. Here are some examples:
    • The limitation "upper and lower nozzles" should introduce an "upper nozzle" and a "lower nozzle". So, "upper and lower nozzles" could be marked as {upper `nozzle| `and {lower nozzles!|.
    • Sometimes claim elements are introduced properly as a plural element but later referred to as singular. For example, a claim may introduce "adjacent TMEs" but later refer to "each adjacent TME". The latter can be marked as each {adjacent TME`s`| to add the plural for the antecedent basis checker.
  • Sometimes claim elements contain a semi-colon, comma, or colon. For example, a claim may introduce "a fully deployed, closed position". The comma can be ignored by adding ~ after it: a fully deployed,~ closed position|.

See demo-claims.txt below for the basic notation (|) in use.

1. A contraption| comprising:
an enclosure,
a display,
a display handle,
at least one button, and
at least one widget| mounted on the enclosure,
wherein the enclosure is green,
the display handle is on a top of #the display,
the at least one button is yellow, and
the at least one widget is blue.

As previously introduced claim elements are automatically marked, and commas, semi-colons, colons, and the end of a claim terminate claim elements, it is not necessary to mark claims like the following, though doing so is harmless:

1. A contraption| comprising:
an enclosure|,
a display|,
a display handle|,
at least one button|, and
at least one widget| mounted on the enclosure|,
wherein the enclosure| is green,
the display handle| is on a top of #the display|,
the at least one button| is yellow, and
the at least one widget| is blue.

.marked file

plint will write how it is interpreting claims in the antecedent basis analysis to a text file with a filename the same as that of the claims but with ".marked" at the end. plint will automatically add line returns to this file after colons and semi-colons to make the text file easier to read.

Verbose mode

Verbose mode can be enabled with the -V or --verbose flag, which will print how plint is interpreting the claim when doing the antecedent basis analysis. For example, plint's interpretation of the first demo claim is:

Claim 1 marked: A {contraption} comprising: an {enclosure}, a {display}, a {display handle}, {at least one button}, and {at least one widget} mounted on the [enclosure], wherein the [enclosure] is green, the [display handle] is on a {top of the display}, the [at least one button] is yellow, and the [at least one widget] is blue.

Shortcomings of the antecedent basis checker

The antecedent basis checker is fragile and will likely require some iteration until a claim is marked in a way that plint likes. This is not necessarily an issue with plint, as there are many ambiguities in claim language that make a fully automated analysis difficult. Even a human examiner is going to have to choices when interpreting the claim, and plint asks that these choices be made by the user of plint.

At present, plint won't work with nested elements. For example: a center of the widget| would ideally be interpreted as a {center of the [widget]}, but that's not how plint will work at the moment. That'll need to be marked like this: a center of #the widget|, interpreted as a {center of the widget}. Then plint will think it's all just one element.

Specification checking

If the optional -s or --spec flag is provided with a text file containing the specification of the patent application, plint will perform additional checks against the specifications.

The specification will be checked for paragraphs containing possible lexicographic definitions.

If both the specification checking and antecedent basis checking features are used, plint will check to make sure that all elements mentioned in the claims are present in the specification.

Restriction checking

Analysis possibly useful to identify restrictions will be performed if the -r or --restriction flag is enabled. This requires that the claims be marked for antecedent basis and will automatically enable antecedent basis checking. Each independent claim and its dependents form a claim set. Claim sets will be analyzed to identify elements common to the combination and elements unique to each claim being compared. Based on the elements common and unique to each claim set, plint will identify possible restrictions based on the claims being unrelated/independent, related as combination-subcombination, or related as a distinct product and process pair. plint is not capable of recognizing other forms of restriction at the moment.

This analysis is incomplete. First, for US restrictions, plint obviously is unaware of what has search burden, so that needs to be factored in by the user. plint can make identifying where the search burden is easier by highlighting differences between independent claims and their dependents. Second, plint's restriction checking only looks at claim elements, and not descriptions of or relationships between the elements. So it's possible that all the elements could be present but described or related differently, making the claim scope differ.

If both the -s/--spec and -r/--restriction flags are enabled, a rudimentary analysis of the specification will be made to identify possible species elections.

Writing the output to a file

The optional -o or --outfile flag will write the warnings and DAV claims viewer search string to {file}.out, where file is the input file. For example, the following will write to claims.txt.out:

plint claims.txt --outfile

Other features of plint

Endings mode

The -e or --endings flag will enable some checks based on word endings:

  • Checks for adverbs by identifying words that end in -ly. These are frequently ambiguous.
  • Checks for present participle words by identifying words that end in -ing. These often are functional terms that need to be checked for indefiniteness.

These checks are disabled by default as they return a large number of false positives.

USPTO examiner mode

Some messages which are only relevant to USPTO patent examiners are displayed with the -u or --uspto flags.

When this flag is enabled, if any warnings are printed, plint will display a string which can be pasted into the DAV claims viewer to highlight the terms found to have issues in the claims.

Nitpick mode

For my own convenience, -n or --nitpick is equivalent to --ant-basis --endings --restriction --uspto.

Verbose and debug modes

A verbose mode which prints additional information can be enabled with -V or --verbose. At the moment, this will only display how plint is interpreting the claim when doing the antecedent basis analysis. A debug mode which will print even more information can be enabled with -d or --debug.

JSON input file

For convenience, rather than keeping track of a large number of command line arguments, a JSON input file can be used where the names correspond to the (long) command line arguments. For example, plint --ant-basis demo-claims.txt is equivalent to running plint demo.json where demo.json is as follows:

{
    "claims": "demo-claims.txt",
    "ant_basis": true
}

The short command line arguments will not work in the JSON file. For example, replacing ant_basis with "a": true

If command line arguments conflict with the JSON file, the command line argument will be used, not what is written in the JSON file. The command line arguments override the JSON file.

Title checking

The -t or --title command line flag will enable checking the title, which is given as the command line argument:

plint --title "A novel title" demo-claims.txt

Per MPEP 606, titles should not start with "A" or contain the word "novel", so this example would return two warnings.

Exit statuses

  • 0 means the claims pass all tests.
  • 1 means that a fatal error occurred in the parsing of the claims. Typically the claims will be written in a way that violates plint's expectations for how a claim will be structured.
  • 2 means that one or more warnings were made.

About

patent claim proofreader and analyzer for 112(b) issues, restrictions, and other issues

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages