Range-based text editing
First Claim
1. A method for editing text, comprising:
- in response to an instruction to apply editing to at least one sentence within a document that is displayed on a display screen changing a first word or phrase in the at least one sentence for a second word or phrase while maintaining semantic content of the first word or phrase and such that the at least one sentence falls within a predetermined range, wherein the changing the first word or phrase comprises one of;
in response to the second word or phrase having more characters or words than the first word or phrase, changing a third word or phrase within the at least one sentence including the second word or phrase for a fourth word or phrase, such that the at least one sentence including the second word or phrase falls within the predetermined range; and
in response the second word or phrase having fewer characters or words than the first word or phrase, changing a fifth word or phrase within the at least one sentence including the second word or phrase for a sixth word or phrase, such that the at least one sentence including the second word or phrase falls within the predetermined range; and
displaying the at least one sentence including the second word or phrase, and one of the fourth word or phrase and the sixth word or phrase, on the display screen.
1 Assignment
0 Petitions
Accused Products
Abstract
Embodiments relate to text editing. An aspect includes changing a first word or phrase in a sentence for a second word or phrase while maintaining semantic content of the first word or phrase and such that the sentence falls within a predetermined range by, in response to the second word or phrase having more characters or words than the first word or phrase, changing a third word or phrase within the sentence for a fourth word or phrase, such that the sentence falls within the predetermined range; and in response the second word or phrase having fewer characters or words than the first word or phrase, changing a fifth word or phrase within the sentence for a sixth word or phrase, such that the sentence falls within the predetermined range. Another aspect includes displaying the sentence including the second word or phrase on the display screen.
-
Citations
20 Claims
-
1. A method for editing text, comprising:
-
in response to an instruction to apply editing to at least one sentence within a document that is displayed on a display screen changing a first word or phrase in the at least one sentence for a second word or phrase while maintaining semantic content of the first word or phrase and such that the at least one sentence falls within a predetermined range, wherein the changing the first word or phrase comprises one of; in response to the second word or phrase having more characters or words than the first word or phrase, changing a third word or phrase within the at least one sentence including the second word or phrase for a fourth word or phrase, such that the at least one sentence including the second word or phrase falls within the predetermined range; and in response the second word or phrase having fewer characters or words than the first word or phrase, changing a fifth word or phrase within the at least one sentence including the second word or phrase for a sixth word or phrase, such that the at least one sentence including the second word or phrase falls within the predetermined range; and displaying the at least one sentence including the second word or phrase, and one of the fourth word or phrase and the sixth word or phrase, on the display screen. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16)
-
-
17. A system for editing text, the system comprising:
-
a processor; and a display screen, the system configured to perform a method comprising; in response to an instruction to apply editing to at least one sentence within a document that is displayed on a display screen, changing, by the processor, a first word or phrase in the at least one sentence for a second word or phrase while maintaining semantic content of the first word or phrase and such that the at least one sentence falls within a predetermined range, wherein the changing the first word or phrase comprises one of; in response to the second word or phrase having more characters or words than the first word or phrase, changing a third word or phrase within the at least one sentence including the second word or phrase for a fourth word or phrase, such that the at least one sentence including the second word or phrase falls within the predetermined range; and in response the second word or phrase having fewer characters or words than the first word or phrase, changing a fifth word or phrase within the at least one sentence including the second word or phrase for a sixth word or phrase, such that the at least one sentence including the second word or phrase falls within the predetermined range; and displaying, by the processor, the at least one sentence including the second word or phrase, and one of the fourth word or phrase and the sixth word or phrase, on the display screen. - View Dependent Claims (18)
-
-
19. A computer program product for editing text, the computer program product comprising a non-transitory computer readable storage medium having computer readable program code embodied therewith, the computer readable program code comprising computer readable program code configured to:
-
in response to an instruction to apply editing to at least one sentence within a document that is displayed on a display screen, changing a first word or phrase in the at least one sentence for a second word or phrase while maintaining semantic content of the first word or phrase and such that the at least one sentence falls within a predetermined range, wherein the changing the first word or phrase comprises one of; in response to the second word or phrase having more characters or words than the first word or phrase, changing a third word or phrase within the at least one sentence including the second word or phrase for a fourth word or phrase, such that the at least one sentence including the second word or phrase falls within the predetermined range; and in response the second word or phrase having fewer characters or words than the first word or phrase, changing a fifth word or phrase within the at least one sentence including the second word or phrase for a sixth word or phrase, such that the at least one sentence including the second word or phrase falls within the predetermined range; and displaying the at least one sentence including the second word or phrase, and one of the fourth word or phrase and the sixth word or phrase, on the display screen. - View Dependent Claims (20)
-
Specification