CN109740128B - Text editing auxiliary method, device and equipment - Google Patents

Text editing auxiliary method, device and equipment Download PDF

Info

Publication number
CN109740128B
CN109740128B CN201810349227.5A CN201810349227A CN109740128B CN 109740128 B CN109740128 B CN 109740128B CN 201810349227 A CN201810349227 A CN 201810349227A CN 109740128 B CN109740128 B CN 109740128B
Authority
CN
China
Prior art keywords
user
data information
keyword
content
text editing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810349227.5A
Other languages
Chinese (zh)
Other versions
CN109740128A (en
Inventor
朱萧木
马优
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing ByteDance Network Technology Co Ltd
Original Assignee
Beijing ByteDance Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing ByteDance Network Technology Co Ltd filed Critical Beijing ByteDance Network Technology Co Ltd
Priority to CN201810349227.5A priority Critical patent/CN109740128B/en
Publication of CN109740128A publication Critical patent/CN109740128A/en
Application granted granted Critical
Publication of CN109740128B publication Critical patent/CN109740128B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Document Processing Apparatus (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The application discloses a text editing auxiliary method, a text editing auxiliary device and text editing auxiliary equipment, wherein the method comprises the steps of firstly receiving contents input by a user; then, detecting the content input by the user to determine whether a preset keyword exists in the content, and if the preset keyword exists, locally inquiring data information corresponding to the keyword; and finally, displaying the inquired data information to the user to assist the user in text editing. According to the method and the device, in the process of text editing of the user, the text editor can automatically provide data information for assisting text editing for the user based on the content input by the user, and the user does not need to manually search the data information by means of an information search tool while editing the text, so that compared with the prior art, the method and the device can improve the efficiency and quality of text editing.

Description

Text editing auxiliary method, device and equipment
Technical Field
The application relates to the field of internet, in particular to a text editing auxiliary method, a text editing auxiliary device and text editing auxiliary equipment.
Background
With the development of internet technology and word processing technology, people increasingly use text editors such as Microsoft Office for text editing in learning and work. How to improve the experience of people in text editing becomes a problem of great concern.
At present, when a user edits a text, some data information is acquired by using an information search tool such as a search engine and the like to assist the text editing work of the user. For example, when a user edits news contents, it is usually necessary to search for the latest information to assist the news content editing work. The above-mentioned method of performing auxiliary data information search while the user performs text editing is time-consuming, which results in a decrease in efficiency of text editing performed by the user. In addition, when the user edits the text, the user searches the data information at the other side, which greatly affects the consistency of the user's thinking during the text editing, and may cause the quality of the text editing of the user to be reduced.
Therefore, how to improve the editing efficiency and quality of the user in the text editing process becomes a problem to be solved urgently at present.
Disclosure of Invention
In order to solve the above problems, the present application provides a text editing assistance method, apparatus, and device, and the specific technical solution is as follows:
in a first aspect, the present application provides a text editing assistance method, including:
receiving content input by a user;
detecting the content to determine whether preset keywords exist in the content;
if the keywords exist, data information corresponding to the keywords is inquired locally;
and displaying the data information to the user to assist the user in text editing.
In an optional implementation manner, before detecting the content to determine whether a preset keyword exists in the content, the method further includes:
setting the content with the input frequency greater than the preset first frequency as a keyword according to the input content record of a user in a text editor;
and/or (c) and/or,
and setting the content with the searching frequency greater than the preset second frequency as the keyword according to the searching content record of the user in the searching engine.
In an optional implementation manner, before locally querying the data information corresponding to the keyword, the method further includes: and acquiring data information corresponding to the keywords in advance, and storing the corresponding relation between the keywords and the data information locally.
In an optional implementation manner, the method further includes: and acquiring data information corresponding to the keywords again at a preset frequency, and updating the corresponding relation between the keywords and the data information stored locally according to the acquired data information.
In an optional implementation manner, after displaying the data information to the user to assist the user in text editing, the method further includes:
and responding to the selection operation of the user on the data information, and applying the data information to the text editor.
In a second aspect, the present application provides a text editing assistance apparatus, comprising:
a receiving unit for receiving contents input by a user;
the detection unit is used for detecting the content to determine whether preset keywords exist in the content;
the query unit is used for locally querying data information corresponding to the keyword when the detection unit detects that the keyword exists;
and the display unit is used for displaying the data information to the user so as to assist the user in text editing.
In an optional implementation, the apparatus further includes:
the first setting unit is used for setting the content with the input frequency greater than the preset first frequency as a keyword according to the input content record of a user in the text editor;
and/or (c) and/or,
and the second setting unit is used for setting the content with the searching frequency greater than the preset second frequency as the keyword according to the searching content record of the user in the search engine.
In an optional implementation, the apparatus further includes:
and the first acquisition unit is used for acquiring data information corresponding to the keyword in advance and storing the corresponding relation between the keyword and the data information locally.
In an optional implementation, the apparatus further includes:
and the second acquisition unit is used for acquiring the data information corresponding to the keyword again at a preset frequency and updating the corresponding relation between the keyword and the data information stored locally according to the acquired data information again.
In an optional implementation, the apparatus further includes:
and the application unit is used for responding to the selection operation of the user on the data information and applying the data information to the text editor.
In a third aspect, the present application provides a text editing assistance apparatus, the apparatus comprising a memory and a processor,
the memory is used for storing the program codes and transmitting the program codes to the processor;
the processor is configured to execute any one of the text editing assisting methods provided by the first aspect according to instructions in the program code.
In the text editing auxiliary method provided by the application, when a user edits a text, the text editor can automatically detect the keywords based on the content input by the user, and query the locally stored data information corresponding to the keywords according to the detected keywords, so that the final user can edit the text by using the data information provided by the text editor. According to the method and the device, in the process of text editing of the user, the text editor can automatically provide data information for assisting text editing for the user based on the content input by the user, and the user does not need to manually search the data information by means of an information search tool while editing the text, so that compared with the prior art, the method and the device can improve the efficiency and quality of text editing.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive labor.
Fig. 1 is a flowchart of a text editing assisting method according to an embodiment of the present application;
fig. 2 is a flowchart of another text editing assistance method provided in an embodiment of the present application;
fig. 3 is a schematic structural diagram of a text editing assisting apparatus according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of a text editing assisting apparatus according to an embodiment of the present application.
Detailed Description
Based on the background technology, the method for acquiring the data information for assisting the text editing of the user by using the information search tool consumes time and reduces the text editing efficiency of the user when the user edits the text. In view of this, embodiments of the present application provide a method, an apparatus, and a device for assisting text editing, which can provide data information for a user to assist text editing, so as to improve text editing efficiency and text editing quality of the user.
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The embodiment of the present application provides a text editing assisting method, and a specific implementation manner of the embodiment is described in detail below with reference to fig. 1.
Fig. 1 is a flowchart of a text editing assisting method according to an embodiment of the present application. The method comprises the following steps:
s101: content input by a user is received.
The text editing assisting method provided by the embodiment of the application can be applied to text editors, such as microsoft word, irerk, notepad and the like. The user can input and present characters and symbols in the text editor by means of an external character input device or an input method application program, and the text editor can edit the texts by utilizing the functions provided by the text editor.
In the method provided by the embodiment, the auxiliary requirement for the text editing of the user is based on the text content input by the user in the text editor. The text content referred to herein may be a currently input content or a content stored in a document after being input by a user at a non-current time. The content input by the user can be input letter by letter and character, or copied and pasted in a text editor from files in the same or different formats or on a webpage, wherein the text editor comprises characters, pictures in various formats and the like. In addition, if the text editor has the function of converting pictures into words, the content input by the user can also be the text content converted and presented by the text editor from the pictures input by the user.
S102: and detecting the content to determine whether preset keywords exist in the content.
This step detects the content of the user input received in S101 described above. The triggering manner of the detection may be automatic or manual, and the two triggering manners of the detection are respectively exemplified below.
The user can set in advance the detection frequency and the text range for detecting the input content. As an example, the detection frequency is set in advance by the user to check whether a preset keyword exists in 200 words before the current cursor staying position every 10 minutes. Furthermore, the system can automatically perform the detection every ten minutes according to the setting of the user. The mode of trigger detection can provide a more automatic document editing auxiliary function for a user. It can be understood that if the preset detection frequency is increased and/or the detection text range is enlarged, the missed detection content can be effectively reduced, and the detection comprehensiveness is improved.
The user can also manually select the content to be detected from the content input by the user in the text editor, for example, a plurality of paragraphs in a certain page, and the detection is manually triggered by using the shortcut key for triggering the detection. The triggering detection mode has relatively strong pertinence, so that the data information for assisting the user in text editing can be searched out rapidly in a targeted manner, the interference caused by excessive assistance in the text editing process of the user is reduced, and the burden of a system can be reduced.
Before this step, a keyword to be detected in the detection process is set in advance. There are various ways to preset keywords, and the following describes specific embodiments of the preset keywords.
As a specific implementation of the preset keyword, a content with an input frequency greater than a preset first frequency may be set as the keyword according to an input content record of the user in the text editor. Taking the first frequency as 10 times per day as an example, if the number of times the user inputs a word "Qianlong" in the previous day is 12 times according to the input content record in the text editor, then "Qianlong" can be used as a preset keyword for assisting the user in text editing. Similarly, the content whose accumulated input times is greater than a preset first value may be set as the keyword according to the input content record of the user in the text editor. Taking the first value as 10 as an example, if the user cumulatively inputs the word "Qianlong" 12 times according to the input content record in the text editor, then "Qianlong" can be used as a preset keyword for assisting the user in text editing.
As another specific implementation of the preset keyword, a content with a search frequency greater than a preset second frequency may be set as the keyword according to a search content record of a user in a search engine. Taking 3 times within 30 days as an example of the second frequency, if the number of times that the user searches for the word "nuclear magnetic resonance" within the last 30 days is 5 times according to the search content record of the user in the search engine, "nuclear magnetic resonance" is taken as a preset keyword for assisting the user in editing the text. Similarly, the content of which the accumulated search times is larger than the preset second value can be set as the keyword according to the search content record of the user in the search engine. Taking the second numerical value as 3 as an example, if the cumulative search times for the word "nuclear magnetic resonance" searched by the user is 5 times according to the search content record of the user in the search engine, the word "nuclear magnetic resonance" is taken as a preset keyword for assisting the user in editing the text.
As another specific embodiment of the preset keyword, the manner of presetting the keyword in the above two embodiments can be simultaneously used as the manner of presetting the keyword in the present embodiment. Therefore, the sources of the preset keywords are wider, so that the text editing auxiliary method provided by the embodiment is better in auxiliary function of text editing of the user.
Optionally, a keyword library or a keyword table may be established according to preset keywords, so as to facilitate classification and centralized management of the keywords.
It should be noted that, because the preset keywords can reflect the input habits and the search habits of the user, the private information of the user is exposed to a certain extent, and in addition, the interference of text editing is also caused to other users, for this reason, the text editing auxiliary method and the preset keywords provided by the embodiment of the present application can be implemented for different users.
For example, both user a and user B have the right to edit text in a text editor on the same computer. Setting the content with the input frequency greater than the preset first frequency as a keyword in a keyword library A according to the input content record of the user A in the text editor; and/or setting the content with the searching frequency greater than the preset second frequency as the keyword in the keyword library A according to the searching content record of the user A in the search engine. Setting the content with the input frequency greater than the preset first frequency as a keyword in a keyword library B according to the input content record of the user B in the text editor; and/or setting the content with the searching frequency greater than the preset second frequency as the keyword in the keyword library B according to the searching content record of the user B in the search engine. Thus, when the text editing assisting method provided by this embodiment is used to provide an assisting function for a user, the identity of the user, for example, the user B, is first determined, and when the user B edits a text in a text editor, this step detects the input content of the user B to determine whether a keyword in the preset keyword library B exists in the content, but does not detect and determine whether a keyword in the preset keyword library a exists in the content. Therefore, the private information of the user A is not exposed, and unnecessary auxiliary functions are provided for the user B due to the keywords in the keyword bank A, so that the text editing of the user B is not interfered.
S103: and if the keywords exist, locally inquiring data information corresponding to the keywords.
If it is determined that the preset keyword exists in the content input by the user according to the detection result in S102, that is, the keyword matched with the preset keyword is detected in the content input by the user, data information corresponding to the keyword needs to be provided for the user to assist the user in editing the text.
If a user relates to a keyword in the text editing process, it is likely that other related contents besides the contents memorized and mastered about the keyword need to be utilized to ensure the accuracy and comprehensiveness of the edited text, for example, under the scenes of writing textbooks, scoring articles at the time of writing, writing a paper review part, and the like, the requirement for the auxiliary function of text editing is extremely high.
In order to improve the text editing efficiency of the user, the text editing assisting method provided in this embodiment further includes, before this step:
and acquiring data information corresponding to the keywords in advance, and storing the corresponding relation between the keywords and the data information locally. The correspondence between the keyword and the data information may be in the form of a mapping table.
The content of the data information corresponding to the keyword may be data information input by the user when editing the content related to the preset keyword in the text editor in the past, or may be related data information recorded in a page browsed by the user after searching the preset keyword in the search engine in the past. The data information corresponding to the keywords may be in the form of characters and pictures, and may be links of audio and video.
When browsing the related data information recorded in the page, the user may browse a large amount of text and pictures, and play audio and video with a large data amount. It can be understood that, in order to save the local storage space, the related data information recorded in the page browsed by the user after searching the preset keyword in the search engine in the past can be screened and used as the data information corresponding to the keyword. As an example, data information with browsing duration exceeding a preset time threshold or data information with browsing duration arranged in the top 10 digits may be obtained as the data information corresponding to the keyword according to browsing duration when the user browses the data information in the same format in the page. As another example, an article with an article approval number exceeding a preset number or an article approval number ranked in the top ten may be acquired as the data information corresponding to the keyword according to the quality of the data information related to the keyword in the user browsing page.
After the data information corresponding to the keyword is acquired, the corresponding relationship between the keyword and the data information is locally stored, so that the data information corresponding to the keyword can be locally inquired and acquired by detecting the preset keyword based on the content input by the user and the corresponding relationship between the keyword and the data information which is stored locally in advance.
In addition, in the text editing assistance method provided in the embodiment of the present application, in order to improve the effectiveness of the data information corresponding to the keyword for assisting the user in editing the text, it is necessary to periodically or manually select and complete updating of the data information corresponding to the keyword cached locally and the corresponding relationship between the keyword and the data information. Therefore, the text editing assisting method provided by the embodiment of the application further includes:
and acquiring data information corresponding to the keywords again at a preset frequency, and updating the corresponding relation between the keywords and the data information stored locally according to the acquired data information.
As an example, the preset frequency may be once every two days. And if the preset keywords are newly added within two days, acquiring the newly added keywords, acquiring data information corresponding to the newly added keywords, and storing the corresponding relation between the newly added keywords and the data information locally. If no new preset keyword is added within two days, only part of the data information corresponding to the keyword is updated, for example, the acquired data information about the Qianlong entry is replaced by the Qianlong entry data information after the encyclopedic correction, and then the corresponding relationship between the keyword Qianlong and the Qianlong entry data information after the encyclopedic correction is locally updated.
S104: and displaying the data information to the user to assist the user in text editing.
The data information corresponding to the keyword has a plurality of display modes, which may be, for example: on a text page of a text editor, an auxiliary information prompt box pops up at the position of the tail of a keyword in input content of a user, and one or more items of data information corresponding to the keyword are displayed in the auxiliary information prompt box. Optionally, the auxiliary information prompt box is in a floating form and is always kept at the position of the tail of the keyword along with the rolling of the page of the text editor; in addition, the auxiliary information prompt box can be controlled by the user to be dragged to other positions of the text editor page.
As another example, the data information display mode corresponding to the keyword may further be: the text editor has a functional area dedicated to displaying data information to assist the user in text editing. After the data information corresponding to the keyword is queried locally in the S103, the keyword is highlighted in a special text form in the input content of the user, which is different from the text content of the non-keyword, and after the user clicks the keyword in a preset manner, a functional window for displaying the data information corresponding to the keyword appears on the interface of the text editor.
As another example, the data information display mode corresponding to the keyword may further be: and popping up a link of the data information corresponding to the keyword in the text editor interface. After clicking the link, the user can acquire data information corresponding to the link, for example, data information such as articles or videos which can assist the user in perfecting text editing.
The text editing auxiliary method provided by the embodiment of the application comprises the steps of firstly receiving contents input by a user; then, detecting the content input by the user to determine whether a preset keyword exists in the content, and if the preset keyword exists, locally inquiring data information corresponding to the keyword; and finally, displaying the inquired data information to the user to assist the user in text editing. In the text editing auxiliary method provided by the application, when a user edits a text, the text editor can automatically detect the keywords based on the content input by the user, and query the locally stored data information corresponding to the keywords according to the detected keywords, so that the final user can edit the text by using the data information provided by the text editor. According to the method and the device, in the process of text editing of the user, the text editor can automatically provide data information for assisting text editing for the user based on the content input by the user, and the user does not need to manually search the data information by means of an information search tool while editing the text, so that compared with the prior art, the method and the device can improve the efficiency and quality of text editing.
In addition, the embodiment also provides a text editing assisting method shown in fig. 2. Fig. 2 is a flowchart of the text editing assistance method.
The method is based on S101-S104 shown in fig. 1, and further includes:
s105: and responding to the selection operation of the user on the data information, and applying the data information to the text editor.
The user can make a selection operation of applying the necessary data information to the text editor with respect to the data information displayed in S104. For example, 5 items of data information corresponding to the keyword D are displayed, and the user views the 5 items of data information and finds that only the 1 st item and the 4 th item are available for the text editing of this time, and thus performs an operation such as a checkup operation on the two items. Further, in response to a selection operation of the data information by the user, the selected data information is applied to the text editor. By way of example, the specific application form of the data information may be the position where the cursor is inserted, or may be the position where the keyword is inserted in a special text format. In addition, the user can perform operations such as absorption, induction, sorting and analysis on the selected data information and then apply the data information to text editing, which is also a specific application mode of the data information.
In addition, if the data information corresponding to the keyword is displayed in a link form, the user can obtain the data information corresponding to the keyword according to the link and select the data information which can be used for the text editing. Further, in response to a selection operation of the data information by the user, the selected data information is applied to the text editor. By way of example, the specific application form of the data information may be the position where the cursor is inserted, or may be the position where the keyword is inserted in a special text format. In addition, the user can perform operations such as absorption, induction, sorting and analysis on the selected data information and then apply the data information to text editing, which is also a specific application mode of the data information.
In the text editing assisting method provided in the above embodiment, the keywords are preset after being extracted in advance according to the past search and/or editing habits of the user, and the data information corresponding to the keywords is cached locally after the keywords are preset, so that whether the data information available for assisting the user in performing the current text editing is locally available can be determined by detecting whether the preset keywords exist in the content input by the user. The data information is displayed to a user, and the data information is applied to the selection operation of the user in a text editor, so that the assistance of text editing of the user can be realized. The method effectively expands the value brought by the search and/or editing habits of the user by utilizing the preset keywords. In addition, the method avoids the links of repeatedly searching, screening and acquiring the related content of the key words, saves time, reduces interference on thinking consistency during text editing of the user, and further can improve the text editing efficiency and the text editing quality.
Based on the text editing assisting method provided by the embodiment of the application, correspondingly, the embodiment of the application also provides a text editing assisting device. A specific embodiment of the text editing assisting apparatus according to the present application will be described below with reference to fig. 3.
Referring to fig. 3, which is a schematic structural diagram of a text editing assisting apparatus provided in the embodiment of the present application, the apparatus is applied to a text editor, and the apparatus may specifically include:
a receiving unit 31 for receiving a content input by a user;
a detection unit 32, configured to detect content to determine whether a preset keyword exists in the content;
the query unit 33 is used for locally querying data information corresponding to the keyword when the detection unit 32 detects that the keyword exists;
and the display unit 34 is used for displaying the data information to the user so as to assist the user in text editing.
In the embodiment of the present invention, the detecting unit 32 needs to detect whether there is a preset keyword in the content input by the user, so how to set the keyword becomes a key element for determining the assisting function of the text editing assisting apparatus provided in the embodiment. For this reason, the text editing assisting apparatus provided in this embodiment may further include:
a first setting unit 35, configured to set, as a keyword, a content with an input frequency greater than a preset first frequency according to an input content record of a user in a text editor;
and/or (c) and/or,
and a second setting unit 36, configured to set, as the keyword, the content with the search frequency greater than the preset second frequency according to the search content record of the user in the search engine.
The key of the text editing assisting apparatus provided in the present embodiment for providing the user with the text editing assisting function is that data information corresponding to the keyword can be directly displayed and provided to the user. The data information corresponding to the keywords needs to be acquired in advance for standby, and cannot be indexed in real time when the user really needs the data information. For this reason, the text editing assisting apparatus provided in this embodiment may further include:
the first obtaining unit 37 is configured to obtain data information corresponding to the keyword in advance, and store a correspondence between the keyword and the data information locally.
It is understood that the data information corresponding to the keyword acquired in advance by the first acquiring unit 37 may have a corresponding updated version of a part of the content on the internet as time passes. In order to provide more comprehensive, perfect and accurate data information for the user, the text editing assisting device provided by this embodiment may further include:
the second obtaining unit 38 is configured to obtain the data information corresponding to the keyword again at a preset frequency, and update the corresponding relationship between the keyword and the data information stored locally according to the obtained data information.
In addition, for the data information displayed to the user by the display unit 34, the user can perform the required filtering on the data information, so that the data information can be more effectively applied to assist the user in text editing. For this reason, the text editing assisting apparatus provided in this embodiment may further include:
and an application unit 39 for applying the data information to the text editor in response to a selection operation of the data information by the user.
In this way, in the text editing assisting device provided by the application, the receiving unit is used for receiving the content input by the user; the detection unit detects the content input by the user to determine whether a preset keyword exists in the content, and if the preset keyword exists, the query unit queries data information corresponding to the keyword locally; and finally, the display unit displays the inquired data information to the user so as to assist the user in text editing. According to the method and the device, the text editor can automatically provide the data information for assisting text editing for the user in the process of text editing of the user, and the user does not need to manually search the data information by means of an information search tool while editing the text, so that compared with the prior art, the method and the device can improve the efficiency and quality of text editing.
In addition, in the text editing assisting apparatus provided in the above embodiment, the keyword is preset by the setting unit after being extracted in advance according to the past search and/or editing habits of the user, and the data information corresponding to the keyword is cached locally by the first obtaining unit after the keyword is preset, so that whether the data information available for assisting the current text editing of the user is locally available can be determined by detecting whether the preset keyword exists in the content input by the user by the detecting unit. The display unit displays the data information for the user, and the application unit applies the data information to the text editor according to the selection operation of the user, so that the text editor of the user can be assisted. The device utilizes the preset keywords, and effectively enlarges the value brought by the search and/or editing habits of the user. In addition, the device avoids the links of repeated searching, screening and obtaining of the related content of the key words, saves time, reduces interference on thinking consistency during text editing of the user, and further can improve text editing efficiency and text editing quality.
Correspondingly, the embodiment of the application also provides a text editing auxiliary device, which comprises a memory and a processor, wherein the memory is used for storing the program codes and transmitting the program codes to the processor; the processor is used for executing the text editing assisting method provided by the above embodiment according to the instructions in the program codes. Fig. 4 is a schematic structural diagram of a text editing assisting apparatus according to an embodiment of the present application. The apparatus may include:
a processor 41, a memory 42, an input device 43 and an output device 44. The number of the processors 41 in the text editing assistance device may be one or more, and one processor is exemplified in fig. 4. In some embodiments of the present invention, the processor 41, the memory 42, the input device 43 and the output device 44 may be connected by a bus or other means, wherein the connection by the bus is exemplified in fig. 4.
The memory 42 may be used to store software programs and modules, and the processor 41 executes various functional applications and data processing of the text editing assisting apparatus by operating the software programs and modules stored in the memory 42. The memory 42 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required for at least one function, and the like. Further, the memory 42 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. The input device 43 may be used to receive entered numeric or character information and to generate signal inputs relating to user settings and functional control of the text editing aid.
Specifically, in this embodiment, the processor 41 loads the executable file corresponding to the process of one or more application programs into the memory 42 according to the instruction, and the processor 41 runs the application program stored in the memory 42, thereby implementing various functions in the text editing assistance method.
For the device embodiments, since they substantially correspond to the method embodiments, reference may be made to the partial description of the method embodiments for relevant points. The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The text editing assisting method, device and equipment provided by the embodiment of the application are introduced in detail, a specific example is applied in the text to explain the principle and the implementation of the application, and the description of the embodiment is only used for helping to understand the method and the core idea of the application; meanwhile, for a person skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (9)

1. A text editing assistance method applied to a text editor, the method comprising:
receiving content input by a user;
detecting the content to determine whether preset keywords corresponding to the user exist in the content;
if the keyword exists, locally inquiring data information corresponding to the keyword;
displaying the data information to the user to assist the user in text editing;
the preset keywords are realized aiming at different users, the input content of the users is detected to determine whether the preset keywords aiming at the users exist in the content, and whether the preset keywords aiming at other users exist in the content is not detected and determined;
before the detecting the content to determine whether a preset keyword exists in the content, the method further includes:
setting the content with the input frequency greater than a preset first frequency as a keyword according to the input content record of the user in the text editor;
and/or (c) and/or,
and setting the content with the searching frequency greater than the preset second frequency as a keyword according to the searching content record of the user in the search engine.
2. The text editing assisting method according to claim 1, wherein before the local query of the data information corresponding to the keyword, the method further comprises:
and acquiring data information corresponding to the keywords in advance, and storing the corresponding relation between the keywords and the data information locally.
3. The text editing assistance method according to claim 2, characterized by further comprising:
and re-acquiring data information corresponding to the keyword at a preset frequency, and updating the corresponding relation between the keyword and the data information stored locally according to the re-acquired data information.
4. The method for assisting text editing according to claim 1, wherein after displaying the data information to the user to assist the user in text editing, the method further comprises:
and responding to the selection operation of the user on the data information, and applying the data information to the text editor.
5. A text editing assistance apparatus, applied to a text editor, the apparatus comprising:
a receiving unit for receiving contents input by a user;
the detection unit is used for detecting the content to determine whether preset keywords corresponding to the user exist in the content;
the query unit is used for locally querying data information corresponding to the keyword when the detection unit detects that the keyword exists;
the display unit is used for displaying the data information to the user so as to assist the user in text editing;
the preset keywords are realized aiming at different users, the input content of the users is detected to determine whether the preset keywords aiming at the users exist in the content, and whether the preset keywords aiming at other users exist in the content is not detected and determined;
the device further comprises:
the first setting unit is used for setting the content with the input frequency greater than the preset first frequency as a keyword according to the input content record of the user in the text editor;
and/or (c) and/or,
and the second setting unit is used for setting the content with the searching frequency greater than the preset second frequency as the keyword according to the searching content record of the user in the search engine.
6. The text editing assistance apparatus according to claim 5, further comprising:
and the first acquisition unit is used for acquiring data information corresponding to the keyword in advance and storing the corresponding relation between the keyword and the data information locally.
7. The text editing assistance apparatus according to claim 6, further comprising:
and the second acquisition unit is used for acquiring the data information corresponding to the keyword again at a preset frequency and updating the corresponding relation between the keyword and the data information stored locally according to the acquired data information.
8. The text editing assistance apparatus according to claim 5, further comprising:
and the application unit is used for responding to the selection operation of the user on the data information and applying the data information to the text editor.
9. A text editing assistance apparatus, characterized in that the apparatus comprises a memory and a processor,
the memory is used for storing program codes and transmitting the program codes to the processor;
the processor is configured to execute the text editing assisting method according to any one of claims 1 to 4 according to instructions in the program code.
CN201810349227.5A 2018-04-18 2018-04-18 Text editing auxiliary method, device and equipment Active CN109740128B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810349227.5A CN109740128B (en) 2018-04-18 2018-04-18 Text editing auxiliary method, device and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810349227.5A CN109740128B (en) 2018-04-18 2018-04-18 Text editing auxiliary method, device and equipment

Publications (2)

Publication Number Publication Date
CN109740128A CN109740128A (en) 2019-05-10
CN109740128B true CN109740128B (en) 2020-07-03

Family

ID=66354403

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810349227.5A Active CN109740128B (en) 2018-04-18 2018-04-18 Text editing auxiliary method, device and equipment

Country Status (1)

Country Link
CN (1) CN109740128B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111552896B (en) * 2020-04-21 2022-07-08 北京字节跳动网络技术有限公司 Information updating method and device
CN113448461A (en) * 2020-06-24 2021-09-28 北京新氧科技有限公司 Information processing method, device and equipment
CN111880696B (en) * 2020-08-07 2022-05-17 北京搜狗科技发展有限公司 Encyclopedic-based data processing method and device
CN113672134A (en) * 2021-07-30 2021-11-19 北京搜狗科技发展有限公司 Media information editing method and device, computer readable medium and electronic equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102591475A (en) * 2011-12-29 2012-07-18 北京百度网讯科技有限公司 Content input method and system for online editor
CN102915380A (en) * 2012-11-19 2013-02-06 北京奇虎科技有限公司 Method and system for carrying out searching on data
CN107506343A (en) * 2017-07-27 2017-12-22 北京金堤科技有限公司 The processing method and platform of a kind of information editing

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006137563A1 (en) * 2005-06-24 2006-12-28 Justsystems Corporation Data processing device and data processing method
CN101290580A (en) * 2008-05-27 2008-10-22 浙江大学 SmartC editor synchronous on-line searching method based on model
CN104462279B (en) * 2014-11-26 2018-05-18 北京国双科技有限公司 Analyze the acquisition methods and device of characteristics of objects information
CN105721538A (en) * 2015-12-30 2016-06-29 东莞市青麦田数码科技有限公司 Data access method and apparatus
CN106649562A (en) * 2016-11-10 2017-05-10 深圳市金立通信设备有限公司 Information search method and terminal
CN106776990B (en) * 2016-12-06 2020-04-14 北京搜狗科技发展有限公司 Information processing method and device and electronic equipment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102591475A (en) * 2011-12-29 2012-07-18 北京百度网讯科技有限公司 Content input method and system for online editor
CN102915380A (en) * 2012-11-19 2013-02-06 北京奇虎科技有限公司 Method and system for carrying out searching on data
CN107506343A (en) * 2017-07-27 2017-12-22 北京金堤科技有限公司 The processing method and platform of a kind of information editing

Also Published As

Publication number Publication date
CN109740128A (en) 2019-05-10

Similar Documents

Publication Publication Date Title
CN109740128B (en) Text editing auxiliary method, device and equipment
US20120233152A1 (en) Generation of context-informative co-citation graphs
US20120102427A1 (en) Systems and methods for automated claim chart generation
CN110955428A (en) Page display method and device, electronic equipment and medium
WO2008091095A1 (en) Apparatus and method for integration search of web site
JP2004139304A (en) Hyper text inspection device, its method, and program
CN111753064B (en) Man-machine interaction method and device
CN106156111B (en) Patent document retrieval method, device and system
CN107870915B (en) Indication of search results
CN110968989A (en) Method and device for displaying error correction information on front-end page
US8584001B2 (en) Managing bookmarks in applications
CN104765849A (en) Method and system for acquiring copied data source information
CN110750627A (en) Material retrieval method and device, electronic equipment and storage medium
CN111813443A (en) Method and tool for automatically filling code sample by JavaFX
CN101714145B (en) Website news analyzing system and method thereof
CN113918789A (en) Web page element searching method and device and computing equipment
CN111935552A (en) Information labeling method, device, equipment and medium
CN115577694B (en) Intelligent recommendation method for standard writing
CN111159408A (en) Text data labeling method and device, computer device and computer readable storage medium
US7386794B2 (en) Apparatus and method for performing the management of operation history
CN110515618B (en) Page information input optimization method, equipment, storage medium and device
US9426237B2 (en) Web navigation using web navigation pattern histories
CN113569132A (en) Information retrieval display method and system
CN112667502A (en) Page testing method, device and medium
CN111782958A (en) Recommendation word determining method and device, electronic device and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant