System and method to minimally reduce characters in character limiting scenarios
First Claim
1. A computer-implemented method for minimally reducing text characters in a field having a character limit, the computer-implemented method comprising:
- receiving, by a computer, text, comprising a plurality of textual characters and having a character count, in the field having the character limit;
analyzing, by the computer, the text for an emotional tone and a social tendencies tone, the analysis comprising;
applying a machine learning algorithm that classifies a set of emotion categories to the text to produce an emotional tone score, and testing the text against a social tone databank to produce a social tone score;
identifying, by the computer, a set of character reduction opportunities in the text, each character reduction opportunity of the set of character reduction opportunities comprising a plurality of characters that can be rewritten as a reduced set of characters;
analyzing, by the computer, each reduced set of characters of each character reduction opportunity for conformity with a writing tone profile of a user, the writing tone profile of the user comprising an ordered priority of character reduction techniques;
creating, by the computer connected to a character reduction database, based on the analyzed conformity with the writing tone profile of the user, a plurality of character-reduced texts from the received text using at least one analyzed reduced set of characters in each of the plurality of character-reduced texts, wherein the creating comprises matching an emotional tone or a social tendency tone of the received text in at least one of the plurality of character-reduced texts, wherein the plurality of character-reduced texts each incorporated only a sufficient set of reduced sets of characters that, when traded for a corresponding plurality of characters of the set of character reduction opportunities, brings the character count of the text to within the character limit, and wherein the set of character reduction opportunities in the text are identified and applied to the plurality of character-reduced texts according to the ordered priority;
analyzing each of the plurality of character-reduced texts for an emotional tone and a social tendencies tone, the analysis comprising;
applying a machine learning algorithm that classifies a set of emotion categories to the character-reduced text to produce a character-reduced text emotional tone score, and testing the character-reduced text against a social tone databank to produce a character-reduced text social tone score;
presenting, by a user interface, the plurality of character-reduced texts to the user to bring the character count of the text to within the character limit, the presenting comprising displaying a comparison of the emotional and social tone scores associated with the received text against the emotional and social tone scores associated with each character-reduced text of the plurality of character-reduced texts;
receiving, by the computer, a selection by the user of one character-reduced text of the plurality of character-reduced texts;
replacing, by the computer, the text with the selected character-reduced text;
submitting, by the computer, the character-reduced text; and
adding the character-reduced text selection by the user to the writing tone profile of the user.
1 Assignment
0 Petitions
Accused Products
Abstract
Approaches presented herein enable reduction of characters in a character-limited scenario by minimally editing a text to remain within a character limit while maintaining a tone of a user'"'"'s writing. More specifically, as a user enters text into a character-limited field, character reduction opportunities for shortening words or phrases are identified in the text. These identified opportunities for shortening words or phrases are compared with a historical writing tone profile of the user in order to preserve a tone and style of the user. Words or phrases that are presented and implemented to shorten the text entered by the user are only sufficient to bring a character count of the entered text within the character limit of the character-limited field. Once the text is within the character limit, no further character reduction is applied.
75 Citations
20 Claims
-
1. A computer-implemented method for minimally reducing text characters in a field having a character limit, the computer-implemented method comprising:
-
receiving, by a computer, text, comprising a plurality of textual characters and having a character count, in the field having the character limit; analyzing, by the computer, the text for an emotional tone and a social tendencies tone, the analysis comprising;
applying a machine learning algorithm that classifies a set of emotion categories to the text to produce an emotional tone score, and testing the text against a social tone databank to produce a social tone score;identifying, by the computer, a set of character reduction opportunities in the text, each character reduction opportunity of the set of character reduction opportunities comprising a plurality of characters that can be rewritten as a reduced set of characters; analyzing, by the computer, each reduced set of characters of each character reduction opportunity for conformity with a writing tone profile of a user, the writing tone profile of the user comprising an ordered priority of character reduction techniques; creating, by the computer connected to a character reduction database, based on the analyzed conformity with the writing tone profile of the user, a plurality of character-reduced texts from the received text using at least one analyzed reduced set of characters in each of the plurality of character-reduced texts, wherein the creating comprises matching an emotional tone or a social tendency tone of the received text in at least one of the plurality of character-reduced texts, wherein the plurality of character-reduced texts each incorporated only a sufficient set of reduced sets of characters that, when traded for a corresponding plurality of characters of the set of character reduction opportunities, brings the character count of the text to within the character limit, and wherein the set of character reduction opportunities in the text are identified and applied to the plurality of character-reduced texts according to the ordered priority; analyzing each of the plurality of character-reduced texts for an emotional tone and a social tendencies tone, the analysis comprising;
applying a machine learning algorithm that classifies a set of emotion categories to the character-reduced text to produce a character-reduced text emotional tone score, and testing the character-reduced text against a social tone databank to produce a character-reduced text social tone score;presenting, by a user interface, the plurality of character-reduced texts to the user to bring the character count of the text to within the character limit, the presenting comprising displaying a comparison of the emotional and social tone scores associated with the received text against the emotional and social tone scores associated with each character-reduced text of the plurality of character-reduced texts; receiving, by the computer, a selection by the user of one character-reduced text of the plurality of character-reduced texts; replacing, by the computer, the text with the selected character-reduced text; submitting, by the computer, the character-reduced text; and adding the character-reduced text selection by the user to the writing tone profile of the user. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A computer system for minimally reducing text characters in a field having a character limit, the computer system comprising:
-
a memory medium comprising program instructions; a bus coupled to the memory medium; and a processor, for executing the program instructions, coupled to a minimal character reduction engine via the bus that when executing the program instructions causes the system to; receive text, comprising a plurality of textual characters and having a character count, in the field having the character limit; analyze the text for an emotional tone and a social tendencies tone by causing the system to apply a machine learning algorithm that classifies a set of emotion categories to the text to produce an emotional tone score, and to test the text against a social tone databank to produce a social tone score; identify a set of character reduction opportunities in the text, each character reduction opportunity of the set of character reduction opportunities comprising a plurality of characters that can be rewritten as a reduced set of characters; analyze each reduced set of characters of each character reduction opportunity for conformity with a writing tone profile of a user, the writing tone profile of the user comprising an ordered priority of character reduction techniques; create, based on the analyzed conformity with the writing tone profile of the user, a plurality of character-reduced texts from the received text using at least one analyzed reduced set of characters in each of the plurality of character-reduced texts, the creating comprising maintaining an emotional tone or a social tendency tone of the received text in at least one of the plurality of character-reduced texts, the plurality of character-reduced texts each incorporating only a sufficient set of reduced sets of characters that, when traded for a corresponding plurality of characters of the set of character reduction opportunities, brings the character count of the text to within the character limit, and the set of character reduction opportunities in the text being identified and applied to the plurality of character-reduced texts according to the ordered priority; analyze each of the plurality of character-reduced texts for an emotional tone and a social tendencies tone by causing the system to apply a machine learning algorithm that classifies a set of emotion categories to the character-reduced text to produce a character-reduced text emotional tone score, and to test the character-reduced text against a social tone databank to produce a character-reduced text social tone score; present the plurality of character-reduced texts to the user to bring the character count of the text to within the character limit, the presenting comprising displaying a comparison of the emotional and social tone scores associated with the received text against the emotional and social tone scores associated with each character-reduced text of the plurality of character-reduced texts; receive a selection by the user of one character-reduced text of the plurality of character-reduced texts; replace the text with the selected character-reduced text; submit the character-reduced text; and adding the character-reduced text selection by the user to the writing tone profile of the user. - View Dependent Claims (10, 11, 12, 13, 14, 15, 16)
-
-
17. A computer program product for minimally reducing text characters in a field having a character limit, the computer program product comprising a computer readable storage device, and program instructions stored on the computer readable storage device, to:
-
receive text, comprising a plurality of textual characters and having a character count, in the field having the character limit; analyze the text for an emotional tone and a social tendencies tone, by;
applying a machine learning algorithm that classifies a set of emotion categories to the text to produce an emotional tone score, and testing the text against a social tone databank to produce a social tone score;identify a set of character reduction opportunities in the text, each character reduction opportunity of the set of character reduction opportunities comprising a plurality of characters that can be rewritten as a reduced set of characters; analyze each reduced set of characters of each character reduction opportunity for conformity with a writing tone profile of a user, the writing tone profile of the user comprising an ordered priority of character reduction techniques; create, based on the analyzed conformity with the writing tone profile of the user, a plurality of character-reduced texts from the received text using at least one analyzed reduced set of characters in each of the plurality of character-reduced texts, the creating comprising matching an emotional tone or a social tendency tone of the received text in at least one of the plurality of character-reduced texts, the plurality of character-reduced texts each incorporating only a sufficient set of reduced sets of characters that, when traded for a corresponding plurality of characters of the set of character reduction opportunities, brings the character count of the text to within the character limit, and the set of character reduction opportunities in the text being identified and applied to the plurality of character-reduced texts according to the ordered priority; analyze each of the plurality of character-reduced texts for an emotional tone and a social tendencies tone by;
applying a machine learning algorithm that classifies a set of emotion categories to the character-reduced text to produce a character-reduced text emotional tone score, and testing the character-reduced text against a social tone databank to produce a character-reduced text social tone score;present the plurality of character-reduced texts to the user to bring the character count of the text to within the character limit, the presenting comprising displaying a comparison of the emotional and social tone scores associated with the received text against the emotional and social tone scores associated with each character-reduced text of the plurality of character-reduced texts; receive a selection by the user of one character-reduced text of the plurality of character-reduced texts; replace the text with the selected character-reduced text; submit the character-reduced text; and adding the character-reduced text selection by the user to the writing tone profile of the user. - View Dependent Claims (18, 19, 20)
-
Specification