Automatic comment creation for computer files

US9430231B1 · US · B1

Patent metadata
FieldValue
Publication numberUS-9430231-B1
Application numberUS-201514982377-A
CountryUS
Kind codeB1
Filing dateDec 29, 2015
Priority dateJun 15, 2015
Publication dateAug 30, 2016
Grant dateAug 30, 2016

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

Embodiments of the present invention include a method, computer program product, and system for inserting text content into a computer file as a comment in a determined comment convention. In an embodiment, a comment convention is determined in a file. The file includes at least one file line. A text content is received. A comment is inserted into the file. The comment includes the comment convention and the text content.

First claim

Opening claim text (preview).

What is claimed is: 1. A method for inserting text into a file as a comment in a determined comment convention, the method comprising: determining, by one or more computer processors, at least one file line of a file that has a special character as the first non-space character; determining, by one or more computer processors, one or more character sequences in the determined at least one file line; determining, by one or more computer processors, a start comment sequence as a most frequently identified character sequence of the determined one or more character sequences; determining, by one or more computer processors, an end comment sequence as the reverse order of the start comment sequence in a file line in which the start comment sequence is identified; determining, by one or more computer processors, if a first appearance of the start comment sequence and a file line immediately preceding the start comment sequence have a same character in a same character location; responsive to determining the first appearance of the start comment sequence and the file line immediately preceding the start comment sequence have a same character in a same character location; determining, by one or more computer processors, a header line as the file line immediately preceding the start comment sequence; determining, by one or more computer processors, if a last appearance of the start comment sequence and a file line immediately succeeding the start comment sequence have a same character in a same character location; responsive to determining the last appearance of the start comment sequence and the file line immediately succeeding the start comment sequence have a same character in a same character location, determining, by one or more computer processors, a trailer line as the file line immediately succeeding the start comment sequence; receiving, by one or more computer processors, a text content; and inserting, by one or more computer processors, a comment into the file, wherein the comment includes the start comment sequence, the end comment sequence, the header line, the trailer line, and the text content.

Assignees

Inventors

Classifications

  • G06F8/73Primary

    Program documentation · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US9430231B1 cover?
Embodiments of the present invention include a method, computer program product, and system for inserting text content into a computer file as a comment in a determined comment convention. In an embodiment, a comment convention is determined in a file. The file includes at least one file line. A text content is received. A comment is inserted into the file. The comment includes the comment conv…
Who is the assignee on this patent?
IBM
What technology area does this patent fall under?
Primary CPC classification G06F8/73. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Aug 30 2016 00:00:00 GMT+0000 (Coordinated Universal Time) (B1). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 1 related publication on this page (citations in our corpus or others sharing the same primary CPC).