Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only the first line of claim text is read in #8

Open
softwaregravy opened this issue May 12, 2024 · 2 comments · Fixed by softwaregravy/uspto-patent-data-parser#1
Open

Comments

@softwaregravy
Copy link

When looking for claim data, only the first line of claim data is ingested.

Claims can contain many lines of text. An example:

<claim id="CLM-00001" num="00001">
<claim-text>1. An imaging lens system including, in order from an object side to an image side:
<claim-text>a first lens element having a concave image-side surface;</claim-text>
<claim-text>a second lens element;</claim-text>
<claim-text>a third lens element with negative refractive power having a convex object-side surface and a concave image-side surface, the object-side and image-side surfaces thereof being aspheric;</claim-text>
<claim-text>a fourth lens element with positive refractive power having a convex image-side surface; and</claim-text>
<claim-text>a fifth lens element with negative refractive power having a convex object-side surface and a concave image-side surface, the object-side and image-side surfaces thereof being aspheric, each of the object-side and image-side surfaces thereof being provided with at least one inflection point;</claim-text>
<claim-text>wherein there are a total of five lens elements in the imaging lens system, and a gap exists between every two adjacent lens elements along an optical axis of the imaging lens system.</claim-text>
</claim-text>
</claim>

Results in claim data being the following:

'claim_information': [{'id': 'CLM-00001', 'num': '00001', 'claim_text': ['1. An imaging lens system including, in order from an object side to an image side:\n']}
@softwaregravy
Copy link
Author

I fixed this for myself on a forked branch. Let me know if this is something you'd like to pull in

softwaregravy#1

@softwaregravy softwaregravy reopened this May 12, 2024
@softwaregravy
Copy link
Author

And this fixes an error: softwaregravy#3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant