Patent ID: 11934781
Assignee: SALESFORCE, INC.
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 5:
6. A system of controllable text summarization of a document, the system comprising:
a communication interface that receives an input text document;
a memory that stores a language model that is trained by a training dataset of a plurality of documents and a plurality of corresponding keywords; and
one or more hardware processors that:
extracts, via the language model, one or more keywords by sequence labeling the one or more keywords from the input text document;
receives, via the communication interface, a control token sequence and one or more control parameters relating to a characteristic of a summary to be generated, wherein the characteristic of the summary includes any of: an entity mentioned in the input text document, a target length of the summary, and a type of the input text document, and wherein the one or more control parameters comprises a prompt corresponding to the type of the input text document;
modifies the one or more keywords based on the received control token sequence; and
generates, by the language model, the summary for the input text document based on the modified one or more keywords according to the one or more control parameters.