发明名称 Range-based text editing
摘要 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.
申请公布号 US9286278(B2) 申请公布日期 2016.03.15
申请号 US201213675221 申请日期 2012.11.13
申请人 International Business Machines Corporation 发明人 Nakamura Koichoi;Naruse Yuko
分类号 G06F17/24 主分类号 G06F17/24
代理机构 Cantor Colburn LLP 代理人 Cantor Colburn LLP ;Uddin Rahan
主权项 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; andin 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.
地址 Armonk NY US