CN110309517A - Expression official documents and correspondence processing method, device, system and storage medium - Google Patents

Expression official documents and correspondence processing method, device, system and storage medium Download PDF

Info

Publication number
CN110309517A
CN110309517A CN201910587840.5A CN201910587840A CN110309517A CN 110309517 A CN110309517 A CN 110309517A CN 201910587840 A CN201910587840 A CN 201910587840A CN 110309517 A CN110309517 A CN 110309517A
Authority
CN
China
Prior art keywords
expression
correspondence
official documents
text
target
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.)
Granted
Application number
CN201910587840.5A
Other languages
Chinese (zh)
Other versions
CN110309517B (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 Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and 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 Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201910587840.5A priority Critical patent/CN110309517B/en
Publication of CN110309517A publication Critical patent/CN110309517A/en
Application granted granted Critical
Publication of CN110309517B publication Critical patent/CN110309517B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/40Information retrieval; Database structures therefor; File system structures therefor of multimedia data, e.g. slideshows comprising image and additional audio data
    • G06F16/44Browsing; Visualisation therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/40Processing or translation of natural language
    • G06F40/58Use of machine translation, e.g. for multi-lingual retrieval, for server-side translation for client devices or for real-time translation

Abstract

The present invention provides a kind of expression official documents and correspondence processing method, device, system and storage medium, this method, comprising: obtains the text information in expression official documents and correspondence;It is the corresponding target text of the target language type by the translating words information if the language form of the text information and target language type be not identical;The target text is added in the expression official documents and correspondence.The official documents and correspondence of expression can be translated into object language automatically and shown by the present invention during using input method;So as to avoid IMPAIRED VERBAL COMMUNICATION, so that user is linked up glibly by the user of expression and other language environments, user experience is good.

Description

Expression official documents and correspondence processing method, device, system and storage medium
Technical field
The present invention relates to technical field of image processing more particularly to a kind of expression official documents and correspondence processing method, device, system and deposit Storage media.
Background technique
Expression is that user compares text richer expression-form during using input method, and the defeated of family can be used in it Enter process become more to enrich it is interesting.
Currently, the official documents and correspondence in expression is collectively constituted by image and text, wherein word segment content is used for The meaning of expression is explained or aided in illustrating, in order to which user can clearly know the meaning of expression.
But in practical applications, when user exchanges with the other users of different language environment, other users are past Toward the meaning for being difficult to understand for word segment in expression, so that exchange influences the communication between user, user's body there are obstacle It tests bad.
Summary of the invention
The present invention provides a kind of expression official documents and correspondence processing method, device, system and storage medium, can use input method mistake The official documents and correspondence of expression is translated into object language automatically and shown by Cheng Zhong;So as to avoid IMPAIRED VERBAL COMMUNICATION, so that user passes through The user of expression and other language environments is linked up glibly, and user experience is good.
In a first aspect, the embodiment of the present invention provides a kind of expression official documents and correspondence processing method, comprising:
Obtain the text information in expression official documents and correspondence;
It is institute by the translating words information if the language form of the text information and target language type be not identical State the corresponding target text of target language type;
The target text is added in the expression official documents and correspondence.
In a kind of possible design, the text information obtained in expression official documents and correspondence, comprising:
Receive the operation information that user is directed to expression panel;
According to the operation information, expression official documents and correspondence is determined;
The text information in the expression official documents and correspondence is extracted by the character identification function in input method.
It is being the corresponding target text of the target language type by the translating words information in a kind of possible design Before word, further includes:
Determine the currently used target language type of terminal.
In a kind of possible design, the currently used target language type of the determining terminal, comprising:
The currently used target language type of the terminal is identified by input method;Alternatively,
The language form that user is arranged in language setting frame is as the target language type.
It is the corresponding target text of the target language type by the translating words information in a kind of possible design Word, comprising:
The text information is converted into the corresponding mesh of the target language type by the interpretive program that input method carries Mark text;Alternatively,
The text information is converted into the corresponding mesh of the target language type by the translation application that third party provides Mark text.
In a kind of possible design, the target text is added in the expression official documents and correspondence, comprising:
Remove the text information in the expression official documents and correspondence;
The target text is added in the corresponding position of the text information, obtains target expression.
In a kind of possible design, after the target text is added in the expression official documents and correspondence, further includes:
It is following to target text progress any, or appoint multioperation:
The modification of word content;
The modification of font;
The modification of font size;
The modification of text importing position.
Second aspect, the embodiment of the present invention provide a kind of expression official documents and correspondence processing unit, comprising:
Module is obtained, for obtaining the text information in expression official documents and correspondence;
Translation module, if the language form and target language type for the text information is not identical, by the text Word information is translated as the corresponding target text of the target language type;
Adding module, for the target text to be added in the expression official documents and correspondence.
In a kind of possible design, the acquisition module is specifically used for:
Receive the operation information that user is directed to expression panel;
According to the operation information, expression official documents and correspondence is determined;
The text information in the expression official documents and correspondence is extracted by the character identification function in input method.
In a kind of possible design, further includes: determining module, for determining the currently used object language class of terminal Type.
In a kind of possible design, the determining module is specifically used for:
The currently used target language type of the terminal is identified by input method;Alternatively,
The language form that user is arranged in language setting frame is as the target language type.
In a kind of possible design, the translation module is specifically used for:
The text information is converted into the corresponding mesh of the target language type by the interpretive program that input method carries Mark text;Alternatively,
The text information is converted into the corresponding mesh of the target language type by the translation application that third party provides Mark text.
In a kind of possible design, the target text is added in the expression official documents and correspondence, comprising:
Remove the text information in the expression official documents and correspondence;
The target text is added in the corresponding position of the text information, obtains target expression.
In a kind of possible design, further includes: editor module, it is following any for being carried out to the target text, or Person appoints multioperation:
The modification of word content;
The modification of font;
The modification of font size;
The modification of text importing position.
The third aspect, the embodiment of the present invention provide a kind of expression official documents and correspondence processing system, comprising: memory and processor are deposited The executable instruction of the processor is stored in reservoir;Wherein, the processor is configured to via the execution executable finger It enables to execute expression official documents and correspondence processing method described in any one of first aspect.
Fourth aspect, the embodiment of the present invention provide a kind of computer readable storage medium, are stored thereon with computer program, Expression official documents and correspondence processing method described in any one of first aspect is realized when the program is executed by processor.
5th aspect, the embodiment of the present invention provide a kind of program product, and described program product includes: computer program, institute It states computer program to be stored in readable storage medium storing program for executing, at least one processor of server can be from the readable storage medium storing program for executing The computer program is read, at least one described processor executes the computer program and server is made to execute first aspect In any expression official documents and correspondence processing method.
The present invention provides a kind of expression official documents and correspondence processing method, device, system and storage medium, by obtaining in expression official documents and correspondence Text information;If the language form of the text information and target language type be not identical, by the translating words information For the corresponding target text of the target language type;The target text is added in the expression official documents and correspondence.The present invention can The official documents and correspondence of expression is translated into object language automatically and is shown during using input method;So as to avoid language communication Obstacle, so that user is linked up glibly by the user of expression and other language environments, user experience is good.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is this hair Bright some embodiments for those of ordinary skill in the art without any creative labor, can be with It obtains other drawings based on these drawings.
Fig. 1 is the schematic illustration of an application scenarios of the invention;
Fig. 2 is the flow chart for the expression official documents and correspondence processing method that the embodiment of the present invention one provides;
Fig. 3 is the schematic diagram of original expression official documents and correspondence provided in an embodiment of the present invention;
Fig. 4 is the schematic diagram of target expression official documents and correspondence provided in an embodiment of the present invention;
Fig. 5 is the flow chart of expression official documents and correspondence processing method provided by Embodiment 2 of the present invention;
Fig. 6 is the schematic diagram of modified target expression official documents and correspondence provided in an embodiment of the present invention;
Fig. 7 is the structural schematic diagram for the expression official documents and correspondence processing unit that the embodiment of the present invention three provides;
Fig. 8 is the structural schematic diagram for the expression official documents and correspondence processing unit that the embodiment of the present invention four provides;
Fig. 9 is the structural schematic diagram for the expression official documents and correspondence processing system that the embodiment of the present invention five provides.
Through the above attached drawings, it has been shown that the specific embodiment of the disclosure will be hereinafter described in more detail.These attached drawings It is not intended to limit the scope of this disclosure concept by any means with verbal description, but is by referring to specific embodiments Those skilled in the art illustrate the concept of the disclosure.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art Every other embodiment obtained without creative efforts, shall fall within the protection scope of the present invention.
Description and claims of this specification and term " first ", " second ", " third ", " in above-mentioned attached drawing The (if present)s such as four " are to be used to distinguish similar objects, without being used to describe a particular order or precedence order.It should manage The data that solution uses in this way are interchangeable under appropriate circumstances, so that the embodiment of the present invention described herein for example can be to remove Sequence other than those of illustrating or describe herein is implemented.In addition, term " includes " and " having " and theirs is any Deformation, it is intended that cover it is non-exclusive include, for example, containing the process, method of a series of steps or units, system, production Product or equipment those of are not necessarily limited to be clearly listed step or unit, but may include be not clearly listed or for this A little process, methods, the other step or units of product or equipment inherently.
Technical solution of the present invention is described in detail with specifically embodiment below.These specific implementations below Example can be combined with each other, and the same or similar concept or process may be repeated no more in some embodiments.
Expression is that user compares text richer expression-form during using input method, and the defeated of family can be used in it Enter process become more to enrich it is interesting.Currently, the official documents and correspondence in expression is collectively constituted by image and text, wherein Word segment content is for explaining or aiding in illustrating to the meaning of expression, in order to which user can clearly know expression Meaning.But in practical applications, when user exchanges with the other users of different language environment, other users are past Toward the meaning for being difficult to understand for word segment in expression, so that exchange influences the communication between user, user's body there are obstacle It tests bad.
In view of the above technical problems, the present invention provides a kind of expression official documents and correspondence processing method, device, system and storage medium, The official documents and correspondence of expression can be translated into object language automatically and shown during using input method;So as to avoid language ditch Logical obstacle, so that user is linked up glibly by the user of expression and other language environments, user experience is good.Fig. 1 is this The schematic illustration of an application scenarios is invented, as shown in Figure 1, to be that user compares text during using input method richer for expression Rich expression-form, the input process that family can be used in it becomes more to enrich interesting.Currently, the official documents and correspondence in expression is all often It being collectively constituted by image and text, wherein word segment content is used to that the meaning of expression to be explained or be aided in illustrating, In order to which user can clearly know the meaning of expression.The purpose of the present invention is the official documents and correspondence of expression is translated into target language automatically Speech is shown, to realize the transmission of the expression under different language environment;So as to avoid IMPAIRED VERBAL COMMUNICATION, so that user passes through The user of expression and other language environments is linked up glibly, promotes user experience.Expression official documents and correspondence processing provided by the invention Device, comprising: obtain module, translation module, adding module.Firstly, module is obtained, for obtaining the letter of the text in expression official documents and correspondence Breath.Obtaining module can receive the operation information that user is directed to expression panel;According to operation information, expression official documents and correspondence is determined;Pass through Character identification function in input method extracts the text information in expression official documents and correspondence.Specifically, in the equipment such as mobile phone, Yong Huke Specific expression is selected by operations such as clicks to use in expression panel.Mobile phone, can be by defeated after getting expression Enter the character identification function in method and extracts text information in expression official documents and correspondence.Then, translation module, if for text information Language form is not identical as target language type, then is the corresponding target text of target language type by translating words information.It can Selection of land, before being the corresponding target text of target language type by translating words information, further includes: determine that terminal is currently used Target language type.Optionally, the target language type currently used by input method identification terminal;Alternatively, user is existed The language form being arranged in language setting frame is as target language type.Specifically, the target language type of terminal can be manual Setting, can also be with automatic identification.Manual setting refers to the target language type that user is arranged in language setting frame, for example, setting Setting English is target language type.Automatic identification refers to the target language type that terminal automatic identification user uses.For example, terminal System language type be the language form of English or input method be English, then can determine what user used with automatic identification Target language type is English.It is English as explanation using target language type in the present embodiment, it is subsequent to repeat no more.It is optional Translating words information is the corresponding target text of target language type, comprising: carry text information by input method by ground Interpretive program is converted to the corresponding target text of target language type;Alternatively, the translation that text information is provided by third party Using being converted to the corresponding target text of target language type.Finally, adding module, for target text to be added to expression text In case.During specific implementation, adding module removes the text information in expression official documents and correspondence first.Then, in text information pair The position addition target text answered, obtains target expression.Translation module there may be translation inaccuracy, do not meet speech habits etc. Problem.It therefore,, can also be to text in order to more clearly express meaning after target text is added in expression official documents and correspondence Content modify.It is also possible to modify to font, font size, font color, text importing position etc..The present invention The method of offer can be applied to mobile phone, tablet computer, navigator etc. and be loaded with input method, and the terminal that can send expression is set It is standby.With no restrictions to the type of terminal, terminal takes the mobile phone as an example in the present embodiment is illustrated the present invention, the reality of other terminals It is identical to apply principle, details are not described herein again.
The official documents and correspondence of expression can be translated into object language exhibition automatically during using input method using the above method Show;So as to avoid IMPAIRED VERBAL COMMUNICATION, so that user carries out smooth trench by the user of expression and other language environments Logical, user experience is good.
How to be solved with technical solution of the specifically embodiment to technical solution of the present invention and the application below above-mentioned Technical problem is described in detail.These specific embodiments can be combined with each other below, for the same or similar concept Or process may repeat no more in certain embodiments.Below in conjunction with attached drawing, the embodiment of the present invention is described.
Fig. 2 is the flow chart for the expression official documents and correspondence processing method that the embodiment of the present invention one provides, as shown in Fig. 2, the present embodiment In method may include:
Text information in S101, acquisition expression official documents and correspondence.
In the present embodiment, expression is that user compares text richer expression-form during using input method, it can So that the input process of user become more to enrich it is interesting.Currently, the official documents and correspondence in expression is all often common by image and text Composition, wherein word segment content is for explaining or aiding in illustrating to the meaning of expression, in order to which user can be clear Know to Chu the meaning of expression.The purpose of the present invention is the official documents and correspondence of expression is translated into object language automatically to show, to realize The transmission of expression under different language environment;So as to avoid IMPAIRED VERBAL COMMUNICATION, so that user passes through expression and other language The user of environment is linked up glibly, promotes user experience.Therefore, the first step is that the text that terminal obtains in expression official documents and correspondence is believed Breath.Terminal can be mobile phone, tablet computer, navigator etc. and be loaded with input method, the equipment that can send expression.The present invention is to end With no restrictions, terminal takes the mobile phone as an example in the present embodiment is illustrated the type at end, and the implementation principle of other terminals is identical, this Place repeats no more.
Optionally, terminal receives the operation information that user is directed to expression panel;According to operation information, expression official documents and correspondence is determined; The text information in expression official documents and correspondence is extracted by the character identification function in input method.
Specifically, in the equipment such as mobile phone, user can be used specific by the operations such as click selection in expression panel Expression.Mobile phone can extract the text in expression official documents and correspondence after getting expression by the character identification function in input method Word information.Fig. 3 is the schematic diagram of original expression official documents and correspondence provided in an embodiment of the present invention, as shown in figure 3, wrapping in this expression official documents and correspondence As soon as having included smiling face's pattern, and the text information of " I laughs at, silent ".Smiling face's pattern illustrates containing for a part of expression Justice, and word segment content " I just laughs at, silent " is for explaining or aid in illustrating to the meaning of smiling face, not only table The meaning laughed at has been reached, also attached silent meaning.If user is ignorant of Chinese, not can be appreciated that " laughing at me, silent " This partial information, it is evident that can understanding to this expression official documents and correspondence there are deviations, to cause communication exchange obstacle.Therefore, exist Terminal in the present embodiment can extract the text information in expression official documents and correspondence by the character identification function in input method, identification To text information " I just laughs at, silent ".
It is target by translating words information if the language form and target language type of S102, text information is not identical The corresponding target text of language form.
In the present embodiment, terminal judges the language form of text information with target language type, if identical, Then show that user is apparent that the meaning of text information, does not need to be translated.If it is not the same, being then by translating words information The corresponding target text of target language type.
Optionally, before being the corresponding target text of target language type by translating words information, further includes: determine eventually Hold currently used target language type.Optionally, the target language type currently used by input method identification terminal;Or Person, the language form that user is arranged in language setting frame is as target language type.
Specifically, the target language type of terminal can be with manual setting, can also be with automatic identification.Manual setting refers to user The target language type being arranged in language setting frame, for example, setting English is target language type.Automatic identification refers to terminal The target language type that automatic identification user uses.For example, the system language type of terminal is the language of English or input method Type is English, then can determine target language type that user uses as English using automatic identification.In the present embodiment, with target language Say that type is English as explanation, it is subsequent to repeat no more.
It optionally, is the corresponding target text of target language type by translating words information, comprising: pass through text information The included interpretive program of input method is converted to the corresponding target text of target language type;Alternatively, text information is passed through third The translation application just provided is converted to the corresponding target text of target language type.For example, the translation journey carried by input method Text information " I just laughs at, silent " is translated as " smile without any comment " by sequence.
S103, target text is added in expression official documents and correspondence.
In the present embodiment, the text information in expression is removed in expression official documents and correspondence, the target text after translation is added to In expression official documents and correspondence, target expression official documents and correspondence is obtained.Fig. 4 is the schematic diagram of target expression official documents and correspondence provided in an embodiment of the present invention, such as Fig. 4 It is shown, the text information " I just laughs at, silent " in expression official documents and correspondence is removed, by " smile without any after translation Comment " is added in expression official documents and correspondence, has obtained target expression official documents and correspondence.Target expression official documents and correspondence passes through " smile without Any comment " not only expresses the meaning laughed at, and also attached silent meaning, reduces the meaning of original expression, so that Target language type is that the user of English can be clearly understood from the meaning of expression official documents and correspondence, to avoid IMPAIRED VERBAL COMMUNICATION, so that User is linked up glibly by the user of expression and other language environments, promotes user experience.
The present embodiment, by obtaining the text information in expression official documents and correspondence;If the language form and object language of text information Type is not identical, then is the corresponding target text of target language type by translating words information;Target text is added to expression In official documents and correspondence.The official documents and correspondence of expression can be translated into object language automatically and shown by the present invention during using input method;So as to To avoid IMPAIRED VERBAL COMMUNICATION, so that user is linked up glibly by the user of expression and other language environments, user's body It tests good.
Fig. 5 is the flow chart of expression official documents and correspondence processing method provided by Embodiment 2 of the present invention, as shown in figure 5, the present embodiment In method may include:
Text information in S201, acquisition expression official documents and correspondence.
It is target by translating words information if the language form and target language type of S202, text information is not identical The corresponding target text of language form.
S203, target text is added in expression official documents and correspondence.
In the present embodiment, step S201~step S203 specific implementation process and technical principle are shown in Figure 2 Associated description in method in step S101~step S103, details are not described herein again.
S204, edit operation is carried out to target text.
In the present embodiment, after target text is added in expression official documents and correspondence, further includes: carried out to target text following It is any, or appoint multioperation: the modification of word content;The modification of font;The modification of font size;The modification of text importing position.
Specifically, the target text for the translation application translation that the included interpretive program of input method or third party provide may deposit In translation inaccuracy, the problems such as speech habits is not met.Therefore, after target text is added in expression official documents and correspondence, in order to Meaning is more clearly expressed, can also be modified to the content of text.It is also possible to font, font size, font color, It modifies text importing position etc..Fig. 6 is the schematic diagram of modified target expression official documents and correspondence provided in an embodiment of the present invention, such as Shown in Fig. 6, user may be dissatisfied to target text " smile without any comment ", it is believed that vocabulary is too many, no Enough brevity and lucidities, word length influence beauty beyond image too much.Therefore, it modifies to word content, with " just Smile " Alternate text content " smile without any comment ", has obtained modified target expression official documents and correspondence.Modification Target expression official documents and correspondence, that is, content afterwards is succinct, and can express the meaning of " I just laughs at, silent ".Therefore, the present embodiment can The official documents and correspondence in institute's espressiove figure to be translated directly into user clicks table sensibilities plate by input method identifying system language The language is shown.So as to avoid aphasis, so that user carries out smoothness by the user of expression and other language environments Ground is linked up.In addition, user can also be with the official documents and correspondence content in customized expression, flexibility ratio is high, and user experience is good.
The present embodiment, by obtaining the text information in expression official documents and correspondence;If the language form and object language of text information Type is not identical, then is the corresponding target text of target language type by translating words information;Target text is added to expression In official documents and correspondence.The official documents and correspondence of expression can be translated into object language automatically and shown by the present invention during using input method;So as to To avoid IMPAIRED VERBAL COMMUNICATION, so that user is linked up glibly by the user of expression and other language environments, user's body It tests good.
In addition, target text can also be after being added in expression official documents and correspondence by the present embodiment, further includes: to target text It is any below carrying out, or appoint multioperation: the modification of word content;The modification of font;The modification of font size;Text importing position Modification.So as to avoid IMPAIRED VERBAL COMMUNICATION, so that user is carried out glibly by the user of expression and other language environments It links up, user experience is good.
Fig. 7 is the structural schematic diagram for the expression official documents and correspondence processing unit that the embodiment of the present invention three provides, as shown in fig. 7, this reality The expression official documents and correspondence processing unit for applying example may include:
Module 31 is obtained, for obtaining the text information in expression official documents and correspondence;
Translation module 32, if the language form and target language type for text information is not identical, by text information It is translated as the corresponding target text of target language type;
Adding module 33, for target text to be added in expression official documents and correspondence.
In a kind of possible design, module 31 is obtained, is specifically used for:
Receive the operation information that user is directed to expression panel;
According to operation information, expression official documents and correspondence is determined;
The text information in expression official documents and correspondence is extracted by the character identification function in input method.
In a kind of possible design, further includes: determining module 34, for determining the currently used object language class of terminal Type.
In a kind of possible design, determining module 34 is specifically used for:
Pass through the currently used target language type of input method identification terminal;Alternatively,
The language form that user is arranged in language setting frame is as target language type.
In a kind of possible design, translation module 32 is specifically used for:
Text information is converted into the corresponding target text of target language type by the interpretive program that input method carries;Or Person,
Text information is converted into the corresponding target text of target language type by the translation application that third party provides.
In a kind of possible design, target text is added in expression official documents and correspondence, comprising:
Remove the text information in expression official documents and correspondence;
Target text is added in the corresponding position of text information, obtains target expression.
The expression official documents and correspondence processing unit of the present embodiment, can execute the technical solution in method shown in Fig. 2, specific implementation Associated description in process and technical principle method shown in Figure 2, details are not described herein again.
The present embodiment, by obtaining the text information in expression official documents and correspondence;If the language form and object language of text information Type is not identical, then is the corresponding target text of target language type by translating words information;Target text is added to expression In official documents and correspondence.The official documents and correspondence of expression can be translated into object language automatically and shown by the present invention during using input method;So as to To avoid IMPAIRED VERBAL COMMUNICATION, so that user is linked up glibly by the user of expression and other language environments, user's body It tests good.
Fig. 8 is the structural schematic diagram for the expression official documents and correspondence processing unit that the embodiment of the present invention four provides, as shown in figure 8, this reality On the basis of the expression official documents and correspondence processing unit device shown in Fig. 7 for applying example, can also include:
Editor module 35, it is following any for being carried out to target text, or appoint multioperation:
The modification of word content;
The modification of font;
The modification of font size;
The modification of text importing position.
The expression official documents and correspondence processing unit of the present embodiment, can execute the technical solution in method shown in Fig. 2, Fig. 5, specific The associated description of realization process and technical principle referring to fig. 2, in method shown in Fig. 5, details are not described herein again.
The present embodiment, by obtaining the text information in expression official documents and correspondence;If the language form and object language of text information Type is not identical, then is the corresponding target text of target language type by translating words information;Target text is added to expression In official documents and correspondence.The official documents and correspondence of expression can be translated into object language automatically and shown by the present invention during using input method;So as to To avoid IMPAIRED VERBAL COMMUNICATION, so that user is linked up glibly by the user of expression and other language environments, user's body It tests good.
In addition, target text can also be after being added in expression official documents and correspondence by the present embodiment, further includes: to target text It is any below carrying out, or appoint multioperation: the modification of word content;The modification of font;The modification of font size;Text importing position Modification.So as to avoid IMPAIRED VERBAL COMMUNICATION, so that user is carried out glibly by the user of expression and other language environments It links up, user experience is good.
Fig. 9 is the structural schematic diagram for the expression official documents and correspondence processing system that the embodiment of the present invention five provides, as shown in figure 9, this reality The expression official documents and correspondence processing system 40 for applying example may include: processor 41 and memory 42.
Memory 42, for storing program;Memory 42 may include volatile memory (English: volatile Memory), for example, random access memory (English: random-access memory, abbreviation: RAM), such as static random-access Memory (English: static random-access memory, abbreviation: SRAM), double data rate synchronous dynamic random-access Memory (English: Double Data Rate Synchronous Dynamic Random Access Memory, abbreviation: DDR SDRAM) etc.;Memory also may include nonvolatile memory (English: non-volatile memory), such as fastly Flash memory (English: flash memory).Memory 42 is used to store computer program (the application journey as realized the above method Sequence, functional module etc.), computer instruction etc., above-mentioned computer program, computer instruction etc. can with partitioned storage at one or In multiple memories 42.And above-mentioned computer program, computer instruction, data etc. can be called with device 41 processed.
Above-mentioned computer program, computer instruction etc. can be with partitioned storages in one or more memories 42.And Above-mentioned computer program, computer instruction, data etc. can be called with device 41 processed.
Processor 41, for executing the computer program of the storage of memory 42, to realize method that above-described embodiment is related to In each step.
It specifically may refer to the associated description in previous methods embodiment.
Processor 41 and memory 42 can be absolute construction, be also possible to the integrated morphology integrated.Work as processing When device 41 and memory 42 are absolute construction, memory 42, processor 41 can be of coupled connections by bus 43.
The present embodiment, by obtaining the text information in expression official documents and correspondence;If the language form and object language of text information Type is not identical, then is the corresponding target text of target language type by translating words information;Target text is added to expression In official documents and correspondence.The official documents and correspondence of expression can be translated into object language automatically and shown by the present invention during using input method;So as to To avoid IMPAIRED VERBAL COMMUNICATION, so that user is linked up glibly by the user of expression and other language environments, user's body It tests good.
The expression official documents and correspondence processing system of the present embodiment can execute the technical solution in method shown in Fig. 2, Fig. 5, specific The associated description of realization process and technical principle referring to fig. 2, in method shown in Fig. 5, details are not described herein again.
In addition, the embodiment of the present application also provides a kind of computer readable storage medium, deposited in computer readable storage medium Computer executed instructions are contained, when at least one processor of user equipment executes the computer executed instructions, user equipment Execute above-mentioned various possible methods.
The present embodiment, by obtaining the text information in expression official documents and correspondence;If the language form and object language of text information Type is not identical, then is the corresponding target text of target language type by translating words information;Target text is added to expression In official documents and correspondence.The official documents and correspondence of expression can be translated into object language automatically and shown by the present invention during using input method;So as to To avoid IMPAIRED VERBAL COMMUNICATION, so that user is linked up glibly by the user of expression and other language environments, user's body It tests good.
Wherein, computer-readable medium includes computer storage media and communication media, and wherein communication media includes being convenient for From a place to any medium of another place transmission computer program.Storage medium can be general or specialized computer Any usable medium that can be accessed.A kind of illustrative storage medium is coupled to processor, to enable a processor to from this Read information, and information can be written to the storage medium.Certainly, storage medium is also possible to the composition portion of processor Point.Pocessor and storage media can be located in ASIC.In addition, the ASIC can be located in user equipment.Certainly, processor and Storage medium can also be used as discrete assembly and be present in communication equipment.
The application also provides a kind of program product, and program product includes computer program, and computer program is stored in readable In storage medium, at least one processor of server can read computer program from readable storage medium storing program for executing, at least one Reason device executes the expression official documents and correspondence processing method that computer program makes the server implementation embodiments of the present invention any.
Those of ordinary skill in the art will appreciate that: realize that all or part of the steps of above-mentioned each method embodiment can lead to The relevant hardware of program instruction is crossed to complete.Program above-mentioned can be stored in a computer readable storage medium.The journey When being executed, execution includes the steps that above-mentioned each method embodiment to sequence;And storage medium above-mentioned include: ROM, RAM, magnetic disk or The various media that can store program code such as person's CD.
Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention., rather than its limitations;To the greatest extent Pipe present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that: its according to So be possible to modify the technical solutions described in the foregoing embodiments, or part of or all technical features are carried out etc. With replacement;And these modifications or substitutions, technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution Range.

Claims (10)

1. a kind of expression official documents and correspondence processing method characterized by comprising
Obtain the text information in expression official documents and correspondence;
It is the mesh by the translating words information if the language form of the text information and target language type be not identical Mark the corresponding target text of language form;
The target text is added in the expression official documents and correspondence.
2. the method according to claim 1, wherein the text information obtained in expression official documents and correspondence, comprising:
Receive the operation information that user is directed to expression panel;
According to the operation information, expression official documents and correspondence is determined;
The text information in the expression official documents and correspondence is extracted by the character identification function in input method.
3. the method according to claim 1, wherein being the object language class by the translating words information Before the corresponding target text of type, further includes:
Determine the currently used target language type of terminal.
4. according to the method described in claim 3, it is characterized in that, the currently used target language type of the determining terminal, Include:
The currently used target language type of the terminal is identified by input method;Alternatively,
The language form that user is arranged in language setting frame is as the target language type.
5. the method according to claim 1, wherein being the target language type by the translating words information Corresponding target text, comprising:
The text information is converted into the corresponding target text of the target language type by the interpretive program that input method carries Word;Alternatively,
The text information is converted into the corresponding target text of the target language type by the translation application that third party provides Word.
6. method according to any one of claims 1-5, which is characterized in that the target text is added to the table In feelings official documents and correspondence, comprising:
Remove the text information in the expression official documents and correspondence;
The target text is added in the corresponding position of the text information, obtains target expression.
7. according to the method described in claim 6, it is characterized in that, the target text is added in the expression official documents and correspondence Later, further includes:
It is following to target text progress any, or appoint multioperation:
The modification of word content;
The modification of font;
The modification of font size;
The modification of text importing position.
8. a kind of expression official documents and correspondence processing unit characterized by comprising
Module is obtained, for obtaining the text information in expression official documents and correspondence;
Translation module believes the text if the language form and target language type for the text information is not identical Breath is translated as the corresponding target text of the target language type;
Adding module, for the target text to be added in the expression official documents and correspondence.
9. a kind of expression official documents and correspondence processing system characterized by comprising memory and processor are stored in memory described The executable instruction of processor;Wherein, the processor is configured to carry out perform claim requirement via the execution executable instruction Expression official documents and correspondence processing method described in 1-7.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is by processor Claim 1-7 described in any item expression official documents and correspondence processing methods are realized when execution.
CN201910587840.5A 2019-07-02 2019-07-02 Expression document processing method, device, system and storage medium Active CN110309517B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910587840.5A CN110309517B (en) 2019-07-02 2019-07-02 Expression document processing method, device, system and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910587840.5A CN110309517B (en) 2019-07-02 2019-07-02 Expression document processing method, device, system and storage medium

Publications (2)

Publication Number Publication Date
CN110309517A true CN110309517A (en) 2019-10-08
CN110309517B CN110309517B (en) 2023-10-17

Family

ID=68078000

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910587840.5A Active CN110309517B (en) 2019-07-02 2019-07-02 Expression document processing method, device, system and storage medium

Country Status (1)

Country Link
CN (1) CN110309517B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114710462A (en) * 2022-03-14 2022-07-05 北京卓越乐享网络科技有限公司 Sharing method, device, equipment, medium and program product of multimedia object

Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060206305A1 (en) * 2005-03-09 2006-09-14 Fuji Xerox Co., Ltd. Translation system, translation method, and program
CN101309449A (en) * 2008-07-04 2008-11-19 沈阳格微软件有限责任公司 Remote translation service method based on mobile phone multimedia message / short message
CN102662490A (en) * 2012-04-08 2012-09-12 北京语智云帆科技有限公司 Inputting method having assistant translation function
CN102799379A (en) * 2012-07-13 2012-11-28 北京小米科技有限责任公司 Character input method and character input device
CN102930263A (en) * 2012-09-27 2013-02-13 百度国际科技(深圳)有限公司 Information processing method and device
CN103488630A (en) * 2013-09-29 2014-01-01 小米科技有限责任公司 Method, device and terminal for processing picture
CN104102628A (en) * 2013-04-08 2014-10-15 刘龙 System and method for real-time language translation service
CN104298429A (en) * 2014-09-25 2015-01-21 北京搜狗科技发展有限公司 Information presentation method based on input and input method system
US20160259760A1 (en) * 2015-03-06 2016-09-08 Translation Management Systems, Ltd Automated document translation
CN106227360A (en) * 2016-07-12 2016-12-14 上海多吉网络科技有限公司 Identification code processing method and system in conjunction with input method
CN106682967A (en) * 2017-01-05 2017-05-17 胡开标 Online translation and chat system
CN106909270A (en) * 2016-07-20 2017-06-30 阿里巴巴集团控股有限公司 Chat data input method, device and communicating terminal
CN107479818A (en) * 2017-08-16 2017-12-15 维沃移动通信有限公司 A kind of information interacting method and mobile terminal
CN108960158A (en) * 2018-07-09 2018-12-07 珠海格力电器股份有限公司 A kind of system and method for intelligent sign language translation
CN109814733A (en) * 2019-01-08 2019-05-28 百度在线网络技术(北京)有限公司 Recommendation information generation method and device based on input
CN109873743A (en) * 2017-12-01 2019-06-11 四川路源企业管理咨询有限公司 A kind of translating chat device

Patent Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060206305A1 (en) * 2005-03-09 2006-09-14 Fuji Xerox Co., Ltd. Translation system, translation method, and program
CN101309449A (en) * 2008-07-04 2008-11-19 沈阳格微软件有限责任公司 Remote translation service method based on mobile phone multimedia message / short message
CN102662490A (en) * 2012-04-08 2012-09-12 北京语智云帆科技有限公司 Inputting method having assistant translation function
CN102799379A (en) * 2012-07-13 2012-11-28 北京小米科技有限责任公司 Character input method and character input device
CN102930263A (en) * 2012-09-27 2013-02-13 百度国际科技(深圳)有限公司 Information processing method and device
CN104102628A (en) * 2013-04-08 2014-10-15 刘龙 System and method for real-time language translation service
CN103488630A (en) * 2013-09-29 2014-01-01 小米科技有限责任公司 Method, device and terminal for processing picture
CN104298429A (en) * 2014-09-25 2015-01-21 北京搜狗科技发展有限公司 Information presentation method based on input and input method system
US20160259760A1 (en) * 2015-03-06 2016-09-08 Translation Management Systems, Ltd Automated document translation
CN106227360A (en) * 2016-07-12 2016-12-14 上海多吉网络科技有限公司 Identification code processing method and system in conjunction with input method
CN106909270A (en) * 2016-07-20 2017-06-30 阿里巴巴集团控股有限公司 Chat data input method, device and communicating terminal
CN106682967A (en) * 2017-01-05 2017-05-17 胡开标 Online translation and chat system
CN107479818A (en) * 2017-08-16 2017-12-15 维沃移动通信有限公司 A kind of information interacting method and mobile terminal
CN109873743A (en) * 2017-12-01 2019-06-11 四川路源企业管理咨询有限公司 A kind of translating chat device
CN108960158A (en) * 2018-07-09 2018-12-07 珠海格力电器股份有限公司 A kind of system and method for intelligent sign language translation
CN109814733A (en) * 2019-01-08 2019-05-28 百度在线网络技术(北京)有限公司 Recommendation information generation method and device based on input

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
沈念芦: ""中英文表情符号’笑CRY‘功能意义对比研究"", 《中国优秀硕士学位论文全文数据库哲学与人文科学辑》, pages 084 - 22 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114710462A (en) * 2022-03-14 2022-07-05 北京卓越乐享网络科技有限公司 Sharing method, device, equipment, medium and program product of multimedia object

Also Published As

Publication number Publication date
CN110309517B (en) 2023-10-17

Similar Documents

Publication Publication Date Title
US20150064685A1 (en) System and Method for Automatically Attaching a Tag and Highlight in a Single Action
CN109491708A (en) Document structure tree method, system, equipment and medium
CN109214193B (en) Data encryption and machine learning model training method and device and electronic equipment
CN110516233B (en) Data processing method, device, terminal equipment and storage medium
CN109410923B (en) Speech recognition method, apparatus, system and storage medium
CN115952272A (en) Method, device and equipment for generating dialogue information and readable storage medium
CN106776507A (en) Word file generation method and device
CN109615671A (en) A kind of character library sample automatic generation method, computer installation and readable storage medium storing program for executing
CN110019304B (en) Method for expanding question-answering knowledge base, storage medium and terminal
CN110019305B (en) Knowledge base expansion method, storage medium and terminal
CN116595202A (en) Automatic slide generation method and system based on AIGC technology
CN113672520A (en) Test case generation method and device, electronic equipment and storage medium
CN109922131A (en) Date storage method, device, equipment and storage medium based on block chain
CN109460541A (en) Lexical relation mask method, device, computer equipment and storage medium
CN113779345B (en) Teaching material generation method and device, computer equipment and storage medium
CN110309517A (en) Expression official documents and correspondence processing method, device, system and storage medium
US10614169B1 (en) Script unique prompts
CN112989008A (en) Multi-turn dialog rewriting method and device and electronic equipment
CN111563381B (en) Text processing method and device
CN108241705A (en) A kind of data insertion method and device
CN111126066B (en) Method and device for determining Chinese congratulation technique based on neural network
CN109800286A (en) Talk with generation method and device
CN111753108B (en) Presentation generation method, device, equipment and medium
CN110826330B (en) Name recognition method and device, computer equipment and readable storage medium
CN111858911A (en) Work order description information generation method and device, electronic equipment 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