CN112487830B - Translation memory operation execution method and device, computer equipment and storage medium - Google Patents

Translation memory operation execution method and device, computer equipment and storage medium Download PDF

Info

Publication number
CN112487830B
CN112487830B CN202011238681.7A CN202011238681A CN112487830B CN 112487830 B CN112487830 B CN 112487830B CN 202011238681 A CN202011238681 A CN 202011238681A CN 112487830 B CN112487830 B CN 112487830B
Authority
CN
China
Prior art keywords
user
translation
role
memory
request
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
CN202011238681.7A
Other languages
Chinese (zh)
Other versions
CN112487830A (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.)
Wensihai Huizhike Technology Co ltd
Original Assignee
Wensihai Huizhike 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 Wensihai Huizhike Technology Co ltd filed Critical Wensihai Huizhike Technology Co ltd
Priority to CN202011238681.7A priority Critical patent/CN112487830B/en
Publication of CN112487830A publication Critical patent/CN112487830A/en
Application granted granted Critical
Publication of CN112487830B publication Critical patent/CN112487830B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/20Natural language analysis
    • G06F40/237Lexical tools
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/40Processing or translation of natural language
    • G06F40/42Data-driven translation

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • Machine Translation (AREA)

Abstract

The application relates to a translation memory operation execution method, a translation memory operation execution device, computer equipment and a storage medium. The method comprises the following steps: receiving a memory bank operation request of a first user for a translation memory bank; responding to the memory bank operation request, and determining a user role of the first user in a translation project corresponding to the translation memory bank; the translation items are used for describing items for translating the file to be translated from a source language to a target language; the user roles are used for describing roles corresponding to working contents responsible for the first user in the process of translating the file to be translated from a source language to a target language; and executing the memory bank interaction operation corresponding to the memory bank operation request when the memory bank operation request meets the operation right corresponding to the user role. By adopting the method, the translation work efficiency of the translation personnel can be improved.

Description

Translation memory operation execution method and device, computer equipment and storage medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method and apparatus for executing translation memory operations, a computer device, and a storage medium.
Background
Translation memory, also known as a translation memory library (translation memory, abbreviated TM), is a database of computer program software used to assist in manual translation. Some software that uses translation memory is also commonly referred to as TMM (Translation Memory Managers).
In the prior art, translations in a translation memory library are often not controlled in a file sharing mode, so that the translation memory library is easy to have conditions of error diffusion, missing of translations and the like of translations caused by unauthorized or accidental modification of different users, the translation memory library cannot accurately provide references for translation staff, and the translation work efficiency of the translation staff is reduced.
Disclosure of Invention
In view of the foregoing, it is desirable to provide a method, an apparatus, a computer device, and a storage medium for executing an operation of a translation memory, by which the translation work efficiency of a translator can be improved.
A method for performing translation memory operations, comprising:
Receiving a memory bank operation request of a first user for a translation memory bank; the memory bank operation request is a request for a first user to perform data operation on user data stored in a translation memory bank by different users in a translation project; the translation item is used for describing an item for translating the file to be translated from a source language to a target language;
Responding to a memory operation request, and determining a user role of a first user in a translation project corresponding to a translation memory; the user roles are used for describing roles corresponding to working contents responsible for a first user in the process of translating a file to be translated from a source language to a target voice;
And executing the memory interactive operation corresponding to the memory operation request when the memory operation request meets the operation right corresponding to the user role.
In one embodiment, in response to a repository operation request, determining a user role of a first user in translating a translation item corresponding to a repository includes:
Acquiring a user identifier carried by a memory operation request;
based on the user identification, a user role of the first user in translating the project is queried.
In one embodiment, the translation project includes at least one user role, each user role corresponds to a user level, the repository operation request includes a translation modification request, the translation modification request is a modification operation of a first user on a translation submitted by a second user, and when the repository operation request meets an operation right corresponding to the user role, executing a repository interaction operation corresponding to the repository operation request, including:
Acquiring a user role of a second user in the translation project;
and when the user grade corresponding to the user role of the second user is lower than the user grade corresponding to the user role of the first user, executing the translation change operation corresponding to the translation change request.
In one embodiment, the translation project includes at least one user role, the repository operation request further includes a translation objection submitting request, the translation objection submitting request is an operation request for the first user to submit an objection to the translation submitted by the second user, and when the repository operation request meets an operation right corresponding to the user role, executing the repository interaction corresponding to the repository operation request, including:
Acquiring a user role of a second user in the translation project;
And when the user grade corresponding to the user role of the second user is higher than or equal to the user grade corresponding to the user role of the first user, executing the translation objection submitting operation corresponding to the translation objection submitting request.
In one embodiment, the user roles include at least one of a translation role, a review role, a quality inspection role and a management role, the repository operation request further includes a translation specification release request, and after determining, according to the repository operation request, a step of the first user role in a translation item corresponding to the translation repository, the method further includes:
when the user role of the first user in the translation project is a quality inspection role or a management role, judging that the translation specification release request meets the operation authority corresponding to the user role;
When the user role of the first user in the translation project is a translation role or a checking role, judging that the translation specification release request does not meet the operation authority corresponding to the user role.
In one embodiment, the memory operation request further includes a reference memory addition request, and the similarity between the translation content of the reference memory and the translation content of the translation memory meets a preset condition, and after the step of determining, according to the memory operation request, a user role of the first user in a translation item corresponding to the translation memory, the method further includes:
When the user role of the first user in the translation project is a management role, judging that the reference memory bank adding request meets the operation authority corresponding to the user role.
In one embodiment, after the step of executing the bank interaction corresponding to the bank operation request, the method further includes:
after the execution of the memory bank interaction operation is completed, a memory bank change notification is generated; the repository change notification is used to prompt the target user to translate the content in the repository for a change.
In one embodiment, the memory bank operation request further includes a translation query request, and executing the memory bank interaction corresponding to the memory bank operation request includes:
determining a source text to be translated which is input by a first user according to a translation query request;
when the translation corresponding to the source text to be translated exists in the translation memory library, returning the translation corresponding to the source text to be translated to the user terminal corresponding to the first user;
When the translation memory bank does not have the translation corresponding to the source text to be translated, inquiring similar source text in the translation memory bank according to the source text to be translated; the content similarity between the similar source text and the source text to be translated is larger than a preset similarity threshold;
and returning the similar source text and the translation corresponding to the similar source text to the user terminal corresponding to the first user.
A translation memory operation execution device, the device comprising:
The receiving module is used for receiving a memory bank operation request of a first user for the translation memory bank; the memory bank operation request is a request for a first user to perform data operation on user data stored in a translation memory bank by different users in a translation project; the translation item is used for describing an item for translating the file to be translated from a source language to a target language;
The determining module is used for responding to the memory bank operation request and determining the user role of the first user in the translation project corresponding to the translation memory bank; the user roles are used for describing roles corresponding to working contents responsible for a first user in the process of translating a file to be translated from a source language to a target language;
And the execution module is used for executing the memory interactive operation corresponding to the memory operation request when the memory operation request meets the operation right corresponding to the user role.
A computer device comprising a memory storing a computer program and a processor implementing the steps of the method described above when the processor executes the computer program.
A computer readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the method described above.
The method, the device, the computer equipment and the storage medium for executing the translation memory operation are used for receiving a memory operation request of a first user for the translation memory; determining a user role of the first user in a translation project corresponding to the translation memory according to the memory operation request; when the memory operation request meets the operation right corresponding to the user role, executing the memory interactive operation corresponding to the memory operation request; therefore, the operation authority of the translation memory library of the user can be effectively controlled based on the user role of the user in the translation project, the situation that the translation memory library is easy to be accidentally modified or wrongly spread and the like is avoided, the translation memory library can accurately provide references for translation staff, and the translation work efficiency of the translation staff is improved.
Drawings
FIG. 1 is a diagram of an application environment for a method of performing translation memory operations in one embodiment;
FIG. 2 is a flow chart of a method for performing translation memory operations in one embodiment;
FIG. 3 is a flowchart of a method for performing a translation memory operation according to one embodiment;
FIG. 4 is a block diagram illustrating an embodiment of a translation memory operation execution device;
Fig. 5 is an internal structural diagram of a computer device in one embodiment.
Detailed Description
The present application will be described in further detail with reference to the drawings and examples, in order to make the objects, technical solutions and advantages of the present application more apparent. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the application.
The method for executing the translation memory operation provided by the application can be applied to an application environment shown in figure 1. Wherein the terminal 110 communicates with the server 120 through a network. Wherein, the server 120 receives a repository operation request for the translation repository sent by the first user through the terminal 110; then, the server 120 determines a user role of the first user in the translation item corresponding to the translation memory according to the memory operation request; finally, the server 120 performs a memory interaction operation corresponding to the memory operation request when the memory operation request satisfies the operation right corresponding to the user role. Wherein, the server 120 receives a repository operation request for the translation repository sent by the first user through the terminal 110; then, the server 120 determines a user role of the first user in the translation item corresponding to the translation memory in response to the memory operation request; the translation item is used for describing an item for translating a file to be translated from a source language into target voice; the user roles are used for describing roles corresponding to working contents responsible for a first user in the process of translating a file to be translated from a source language to a target voice; finally, when the operation request of the memory bank meets the operation right corresponding to the user role, the server 120 executes the interactive operation of the memory bank corresponding to the operation request of the memory bank. In practical applications, the terminal 110 may be, but not limited to, various personal computers, notebook computers, smartphones, tablet computers and portable wearable devices, and the server 120 may be implemented by a stand-alone server or a server cluster composed of a plurality of servers.
In one embodiment, as shown in fig. 2, a method for executing a translation memory operation is provided, and the method is applied to the terminal in fig. 1 for illustration, and includes the following steps:
step S210, a request of a first user for operation of a translation memory is received.
Wherein, the memory operation request refers to the interactive operation of the content stored in the translation memory. In practical applications, the request for memory bank operation may include a request for translation reading operation, a request for translation writing operation, a request for translation modification, a request for translation objection submission, a request for issuing translation specification, a request for adding reference memory bank, etc.
The memory operation request is a request of a first user for performing data operation on user data stored in the translation memory by different users in the translation project.
In a specific implementation, when a first user needs to perform interactive operation on contents in the translation memory, the first user can input a memory operation request aiming at the translation memory through a terminal. Then, the terminal sends the memory bank operation request to the server so that the server receives the memory bank operation request of the first user for translating the memory bank.
Step S220, determining the user role of the first user in the translation project corresponding to the translation memory according to the memory operation request.
The translation item is used for describing an item for translating a file to be translated from a source language to a target language.
The file to be translated may refer to a book.
The user roles are used for describing roles corresponding to working contents responsible for a first user in the process of translating a file to be translated from a source language to a target voice.
The user role can be at least one of a translation role, a review role, a quality inspection role and a management role.
In particular, different user roles have different roles. Wherein, the translation role can be the role responsible for completing the translation draft and can be acted by the primary translator. The review roles may refer to roles responsible for reviewing translations and may be performed by higher-level translators. Quality testing roles may refer to roles responsible for spot testing and quality testing of translations, and may be acted upon by translation quality inspectors. The management role may be named as project management role, which may refer to a role responsible for managing and controlling the whole translation project and may be acted on by a project manager.
Meanwhile, different user roles have different operation authorities. The rights of the individual user roles are shown in the following table one:
List one
In a specific implementation, after receiving a memory operation request of a first user for a translation memory, the server determines a user role of the first user in a translation item corresponding to the translation memory according to the memory operation request. The repository operation request carries a user identifier, and in particular, the server may obtain the user identifier corresponding to the repository operation request. And then, the server inquires the user role of the first user in the translation project according to the user identification.
Step S230, executing the memory interactive operation corresponding to the memory operation request when the memory operation request meets the operation right corresponding to the user role.
In the specific implementation, after the server queries the user role of the first user in the translation project according to the user identifier, the server determines the operation authority corresponding to the user role. Specifically, the server may query the operation authority corresponding to the user role in the pre-established correspondence between the user role and the operation authority. For example, when the user role of the first user is a translation role, the server may query in the above table one that the operation right corresponding to the translation role is a read-only right, a write right, a change right, and an objection right.
Then, the server judges whether the memory bank operation request meets the operation authority corresponding to the user role. When the memory operation request meets the operation right corresponding to the user role, the server executes the memory interactive operation corresponding to the memory operation request. In the example, as the user role of the first user is the translation role, the first user has read-only authority, write-in authority, change authority and objection authority; thus, the server determines that the bank operation requests, read requests, write requests, change requests, and objection requests, sent by the first user, can be performed. Therefore, the server can judge whether the memory operation request sent by the first user meets the operation authority corresponding to the user role by judging whether the memory operation request is one of a read request, a write request, a change request and an objection request.
In the method for executing the translation memory operation, a memory operation request of a first user for the translation memory is received; determining a user role of the first user in a translation project corresponding to the translation memory according to the memory operation request; when the memory operation request meets the operation right corresponding to the user role, executing the memory interactive operation corresponding to the memory operation request; therefore, the operation authority of the translation memory library of the user can be effectively controlled based on the user role of the user in the translation project, the situation that the translation memory library is easy to be accidentally modified or wrongly spread and the like is avoided, the translation memory library can accurately provide references for translation staff, and the translation work efficiency of the translation staff is improved.
In another embodiment, the memory operation request includes a translation modification request, and when the memory operation request meets an operation right corresponding to a user role, executing a memory interaction corresponding to the memory operation request includes: acquiring a user role of a second user in the translation project; and when the user grade corresponding to the user role of the second user is lower than the user grade corresponding to the user role of the first user, executing the translation change operation corresponding to the translation change request.
The translation items comprise at least one user role, each user role has a corresponding user grade, and the user grades are ordered according to a preset sequence, for example, the user grades are ordered from high to low.
The translation change request is an operation request for changing the translation submitted by the second user by the first user.
In a specific implementation, when a translation change request sent by a first user through a terminal and received by a server, and the operation request of a memory bank meets an operation right corresponding to a user role of the first user, the server performs a memory bank interaction operation corresponding to the operation request of the memory bank, which specifically includes: the server acquires a user role of the second user in the translation project; then, determining the user grade corresponding to the user role of the first user and the user grade corresponding to the user role of the second user respectively; judging whether the user grade corresponding to the user role of the second user is lower than the user grade corresponding to the user role of the first user; when the server determines that the user grade corresponding to the user role of the second user is lower than the user grade corresponding to the user role of the first user, the server executes the translation change operation corresponding to the translation change request.
It should be noted that, when the server determines that the user level corresponding to the user role of the second user is lower than the user level corresponding to the user role of the first user, the second user is a low-level user of the first user.
According to the technical scheme, in the process of executing the memory interaction operation corresponding to the memory operation request, when the received translation change request sent by the first user through the terminal is recorded, the user role of the second user in the translation project is acquired; and whether the user grade corresponding to the user role of the second user is lower than the user grade corresponding to the user role of the first user is compared, and whether the translation change operation corresponding to the translation change request is executed is further determined, so that the conditions that the translation submitted by the lower-order user is modified by the higher-order user, the translation submitted by the higher-order user cannot be modified by the lower-order user, the operation authority of the translation memory of each user without the user grade is effectively controlled, and unexpected modification or error diffusion and the like are avoided.
In another embodiment, the memory operation request further includes a translation objection submitting request, and when the memory operation request meets the operation right corresponding to the user role, executing the memory interaction corresponding to the memory operation request includes: acquiring a user role of a second user in the translation project; and when the user grade corresponding to the user role of the second user is higher than or equal to the user grade corresponding to the user role of the first user, executing the translation objection submitting operation corresponding to the translation objection submitting request.
The translation objection submitting request is an operation request for the first user to submit an objection to the translation submitted by the second user.
In a specific implementation, when a translation objection submitting request sent by a first user through a terminal and the operation request of a memory bank meets an operation right corresponding to a user role of the first user, the server performs a memory bank interaction operation corresponding to the memory bank operation request, which specifically includes: the server acquires a user role of the second user in the translation project; then, determining the user grade corresponding to the user role of the first user and the user grade corresponding to the user role of the second user respectively; judging whether the user grade corresponding to the user role of the second user is lower than the user grade corresponding to the user role of the first user; when the user grade corresponding to the user role of the second user is higher than or equal to the user grade corresponding to the user role of the first user, the server executes the translation objection submitting operation corresponding to the translation objection submitting request, and then the first user is allowed to submit objection to the translation submitted by the second user.
It should be noted that, when the server determines that the user level corresponding to the user role of the second user is higher than or equal to the user level corresponding to the user role of the first user, the second user is a higher-level user or a same-level user of the first user.
According to the technical scheme, when the memory operation request is a translation objection submitting request, the user role of the second user in the translation project is acquired; and executing the translation objection submitting operation corresponding to the translation objection submitting request when the user grade corresponding to the user role of the second user is higher than or equal to the user grade corresponding to the user role of the first user, so that objection can be provided for the translations submitted by the higher-order users or the same-order users by the lower-order users for finalizing the discussion.
In another embodiment, the repository operation request further includes a translation specification issue request, and after the step of determining the user role of the first user in the translation item corresponding to the translation repository according to the repository operation request, the method further includes: when the user role of the first user in the translation project is a quality inspection role or a management role, judging that the translation specification release request meets the operation authority corresponding to the user role; when the user role of the first user in the translation project is a translation role or a checking role, judging that the translation specification release request does not meet the operation authority corresponding to the user role.
The translation specification issuing request may refer to a request for issuing a translation specification in a translation item. Wherein, the translation specification comprises important terms, sentence patterns and the like in the translation project, and is used for controlling the translation quality.
In a specific implementation, when a memory bank operation request sent by a first user through a terminal and received by a server is a translation specification release request, after determining a user role of the first user in a translation project corresponding to a translation memory bank, the server judges whether the user role of the first user in the translation project is a quality inspection role or a management role. If the server determines that the user role of the first user in the translation project is a quality inspection role or a management role, the server judges that the translation specification release request meets the operation authority corresponding to the user role, and further releases the translation specification which is uploaded by the first user and aims at the translation project.
According to the technical scheme, users with specific user roles, such as management personnel and quality inspection personnel, can reasonably control the operation authority issued by the translation specification, so that the translation quality of the whole translation project is controlled, the translation memory library can accurately provide references for the translation personnel, and the translation work efficiency of the translation personnel is improved.
In another embodiment, the memory operation request further includes a reference memory addition request, and after the step of determining the user role of the first user in the translation item corresponding to the translation memory according to the memory operation request, further includes: when the user role of the first user in the translation project is a management role, judging that the reference memory bank adding request meets the operation authority corresponding to the user role.
In practice, the reference memory may refer to a translation memory for reference by each level of translators. The reference memory bank may refer to one or a plurality of reference memory banks. Meanwhile, the server adds read-only rights of the reference memory banks for each level of translators.
The reference repository adding request may refer to a request for adding the reference repository to the translation repository.
Wherein, the similarity between the translation content of the reference memory and the translation content of the translation memory accords with a preset condition.
In a specific implementation, when a memory bank operation request sent by a first user through a terminal and received by a server is a reference memory bank adding request, after determining a user role of the first user in a translation project corresponding to a translation memory bank, the server judges whether the user role of the first user in the translation project is a management role or not. If the server determines that the user role of the first user in the translation project is the management role, the server judges that the reference memory bank adding request meets the operation authority corresponding to the user role, and then the reference memory bank is added into the translation memory bank of the translation project.
According to the technical scheme, users with specific user roles, such as management personnel, can reasonably manage and control the adding authority of the reference memory library, so that the translation memory library can accurately provide references for translation personnel, and the translation work efficiency of the translation personnel is improved.
In another embodiment, after the step of executing the bank interaction corresponding to the bank operation request, the method further includes: and after the execution of the memory bank interaction operation is completed, generating a memory bank change notification.
Wherein the repository change notification is used to prompt the target user to translate the content in the repository for change.
In a specific implementation, after the server completes the operation of the memory bank interaction corresponding to the operation request of the memory bank, the server may generate a memory change notification. The server then pushes the memory change notification to the target user.
The target user may refer to a user subscribed to the repository change notification.
Specifically, when the server determines that the higher-order user finishes modifying the translation of the lower-order user, determines that the user proposes objections or Project Manager (PM) to the translation of the same-order or higher-order user, or the quality inspector successfully issues a translation specification for the translation memory, the server may perform a notification of the translation modification, the translation objection, or the translation specification issue by adopting various forms or modes such as mail, station letter, popup window, timing push, subscription, and the like.
According to the technical scheme, after the interactive operation of the memory bank is completed, the memory bank change notification is generated, so that the purpose that each target user is timely notified of the change of the translation memory bank is achieved, the users are guaranteed to know related information and content in time, and the overall coordination consistency of translations is guaranteed.
In one embodiment, the memory bank operation request further includes a translation query request, and executing the memory bank interaction corresponding to the memory bank operation request includes: determining a source text to be translated which is input by a first user according to a translation query request; when the translation corresponding to the source text to be translated exists in the translation memory library, returning the translation corresponding to the source text to be translated to the user terminal corresponding to the first user;
When the translation memory bank does not have the translation corresponding to the source text to be translated, inquiring similar source text in the translation memory bank according to the source text to be translated; the content similarity between the similar source text and the source text to be translated is larger than a preset similarity threshold; and returning the similar source text and the translation corresponding to the similar source text to the user terminal corresponding to the first user.
In a specific implementation, when a source text translation request sent by a first user through a terminal and the operation request of a memory bank meet an operation right corresponding to a user role of the first user, the server performs a memory bank interaction operation corresponding to the operation request of the memory bank, which specifically includes: the server determines a source text to be translated which is input by a first user according to the translation query request; then, the server inquires whether a translation corresponding to the source text to be translated exists in the translation memory library; specifically, the server can query whether the source text with the same content as the source text to be translated exists in the translation memory library; if the source text with the same content as the source text to be translated exists, the server takes the translation corresponding to the source text stored in the translation memory library as the translation corresponding to the source text to be translated. And the server returns the translated text corresponding to the source text to be translated to the user terminal corresponding to the first user. Specifically, the server may send the translation corresponding to the source text to be translated and the translation corresponding to the source text to be translated as one translation unit, in pairs, to the user terminal corresponding to the first user.
When the translation memory library does not have the translations corresponding to the source texts to be translated, the server inquires similar source texts with the content similarity greater than a preset similarity threshold value in the translation memory library according to the source texts to be translated, and the translations corresponding to the similar source texts to be stored in the translation memory library; then, the server returns the similar source text and the translated text corresponding to the similar source text to the user terminal corresponding to the first user, so that the first user can judge whether to adopt the method or not. Specifically, the server may use the similar source text and the translations corresponding to the similar source text as a translation unit, and send the similar source text and the translations corresponding to the similar source text in pairs to the user terminal corresponding to the first user, so that the first user may perform operations such as reference, editing and modification.
According to the technical scheme, the memory operation request further comprises a source text translation request, and in the process of executing the memory interactive operation corresponding to the memory operation request, the source text to be translated, which is input by the first user, is determined according to the translation query request; and when the translation memory library does not have the translations corresponding to the source texts to be translated, searching out similar translations in the translation memory library, wherein the content similarity between the similar translations and the source texts to be translated is larger than a preset similarity threshold value, and returning the translations corresponding to the similar source texts to the terminal corresponding to the first user, so that timely response to the source text translation request of the user is realized, the translated data are fully utilized, translation references are provided for the first user such as translation personnel to reduce the translation workload of the translation personnel, and translation consistency is also ensured.
In another embodiment, as shown in fig. 3, a method for executing a translation memory operation is provided, and the method is applied to the terminal in fig. 1 for illustration, and includes the following steps: step S310, a request of a first user for operation of a translation memory is received. Step S320, the user identification carried by the memory operation request is obtained. Step S330, based on the user identification, inquiring the user role of the first user in the translation project. Step S340, executing the memory interactive operation corresponding to the memory operation request when the memory operation request meets the operation right corresponding to the user role. Step S350, after finishing executing the memory bank interaction operation, generating a memory bank change notification; the repository change notification is used to prompt the target user to translate the content in the repository for a change. It should be noted that, the specific limitation of the above steps may be referred to as specific limitation of a method for executing the translation memory operation.
It should be understood that, although the steps in the flowcharts of fig. 2 and 3 are shown in order as indicated by the arrows, these steps are not necessarily performed in order as indicated by the arrows. The steps are not strictly limited to the order of execution unless explicitly recited herein, and the steps may be executed in other orders. Moreover, at least a portion of the steps in fig. 2 and 3 may include a plurality of steps or stages, which are not necessarily performed at the same time, but may be performed at different times, and the order of the execution of the steps or stages is not necessarily sequential, but may be performed in rotation or alternatively with at least a portion of the steps or stages in other steps or steps.
In one embodiment, as shown in fig. 4, there is provided a translation memory operation execution apparatus, comprising:
a receiving module 410, configured to receive a repository operation request of a first user for a translation repository; the memory bank operation request is a request for a first user to perform data operation on user data stored in a translation memory bank by different users in a translation project; the translation item is used for describing an item for translating the file to be translated from a source language to a target language;
A determining module 420, configured to determine, in response to a repository operation request, a user role of the first user in a translation item corresponding to the translation repository; the user roles are used for describing roles corresponding to working contents responsible for a first user in the process of translating a file to be translated from a source language to a target language;
And the execution module 430 is configured to execute the memory interaction operation corresponding to the memory operation request when the memory operation request meets the operation right corresponding to the user role.
In one embodiment, the determining module 420 is specifically configured to obtain a user identifier carried by the memory operation request; based on the user identification, a user role of the first user in translating the project is queried.
In one embodiment, the translation project includes at least one user role, each user role corresponds to a user level, the repository operation request includes a translation modification request, the translation modification request is an operation request for modifying a translation submitted by a second user by a first user, and the execution module 430 is specifically configured to obtain a user role of the second user in the translation project; and when the user grade corresponding to the user role of the second user is lower than the user grade corresponding to the user role of the first user, executing the translation change operation corresponding to the translation change request.
In one embodiment, the translation project includes at least one user role, the repository operation request further includes a translation objection submitting request, the translation objection submitting request is an operation request that the first user proposes objection to the translation submitted by the second user, and the executing module 430 is specifically configured to obtain the user role of the second user in the translation project; and when the user grade corresponding to the user role of the second user is higher than or equal to the user grade corresponding to the user role of the first user, executing the translation objection submitting operation corresponding to the translation objection submitting request.
In one embodiment, the user roles include at least one of a translation role, a review role, a quality inspection role, and a management role; the memory operation request further includes a translation specification issue request, and the translation memory operation execution device further includes: the first judging module is used for judging that the translation specification release request meets the operation authority corresponding to the user role when the user role of the first user in the translation project is a quality inspection role or a management role; and the second judging module is used for judging that the translation specification release request does not meet the operation authority corresponding to the user role when the user role of the first user in the translation project is the translation role or the checking role.
In one embodiment, the memory operation request further includes a reference memory addition request, and the similarity between the translation content of the reference memory and the translation content of the translation memory meets a preset condition, and the translation memory operation executing device further includes: and the third judging module is used for judging that the reference memory bank adding request meets the operation authority corresponding to the user role when the user role of the first user in the translation project is the management role.
In one embodiment, after the step of executing the memory bank interaction corresponding to the memory bank operation request, the translation memory bank operation execution device further includes: the notification module is used for generating a memory bank change notification after the execution of the memory bank interaction operation is completed; the repository change notification is used to prompt the target user to translate the content in the repository for a change.
In one embodiment, the repository operation request further includes a translation query request, and the execution module 430 is specifically configured to determine, according to the translation query request, a source text to be translated entered by the first user; when the translation corresponding to the source text to be translated exists in the translation memory library, returning the translation corresponding to the source text to be translated to the user terminal corresponding to the first user; when the translation memory bank does not have the translation corresponding to the source text to be translated, inquiring similar source text in the translation memory bank according to the source text to be translated; the content similarity between the similar source text and the source text to be translated is larger than a preset similarity threshold; and returning the similar source text and the translation corresponding to the similar source text to the user terminal corresponding to the first user.
For a specific definition of a translation memory operation execution device, reference may be made to the definition of a translation memory operation execution method hereinabove, and the detailed description thereof will be omitted. The above-mentioned various modules in a translation memory operation execution device may be implemented in whole or in part by software, hardware, and combinations thereof. The above modules may be embedded in hardware or may be independent of a processor in the computer device, or may be stored in software in a memory in the computer device, so that the processor may call and execute operations corresponding to the above modules.
In one embodiment, a computer device is provided, which may be a server, the internal structure of which may be as shown in fig. 5. The computer device includes a processor, a memory, and a network interface connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, computer programs, and a database. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The database of the computer device is used for storing data for realizing a translation memory operation execution method. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program, when executed by a processor, implements a method for performing translation memory operations.
It will be appreciated by those skilled in the art that the structure shown in FIG. 5 is merely a block diagram of some of the structures associated with the present inventive arrangements and is not limiting of the computer device to which the present inventive arrangements may be applied, and that a particular computer device may include more or fewer components than shown, or may combine some of the components, or have a different arrangement of components.
In one embodiment, a computer device is provided that includes a memory and a processor, the memory storing a computer program that, when executed by the processor, causes the processor to perform the steps of a method of performing a translation memory operation as described above. The steps of a method for performing a translation memory operation may be the steps of a method for performing a translation memory operation in the above embodiments.
In one embodiment, a computer readable storage medium is provided, storing a computer program which, when executed by a processor, causes the processor to perform the steps of a method for performing a translation memory operation as described above. The steps of a method for performing a translation memory operation may be the steps of a method for performing a translation memory operation in the above embodiments.
Those skilled in the art will appreciate that implementing all or part of the above described methods may be accomplished by requesting the associated hardware by a computer program stored on a non-transitory computer readable storage medium, which when executed, may comprise the steps of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in embodiments provided herein may include at least one of non-volatile and volatile memory. The nonvolatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical Memory, or the like. Volatile memory can include random access memory (Random Access Memory, RAM) or external cache memory. By way of illustration, and not limitation, RAM can be in various forms such as static random access memory (Static Random Access Memory, SRAM) or dynamic random access memory (Dynamic Random Access Memory, DRAM), etc.
The technical features of the above embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
The above examples illustrate only a few embodiments of the application, which are described in detail and are not to be construed as limiting the scope of the application. It should be noted that it will be apparent to those skilled in the art that several variations and modifications can be made without departing from the spirit of the application, which are all within the scope of the application. Accordingly, the scope of protection of the present application is to be determined by the appended claims.

Claims (10)

1. A method for performing translation memory operations, comprising:
Receiving a memory bank operation request of a first user for a translation memory bank; the memory operation request is a request for the first user to perform data operation on user data stored in the translation memory by different users in a translation project; the translation items are used for describing items for translating the file to be translated from a source language to a target language;
Responding to the memory bank operation request, and determining a user role of the first user in a translation project corresponding to the translation memory bank; the user roles are used for describing roles corresponding to working contents responsible for the first user in the process of translating the file to be translated from a source language to a target language; the translation project comprises at least one user role, each user role corresponds to one user grade, and the memory operation request comprises a translation change request, wherein the translation change request is used for changing a translation submitted by a second user by the first user;
When the memory operation request meets the operation right corresponding to the user role, executing the memory interactive operation corresponding to the memory operation request, specifically comprising: acquiring a user role of the second user in the translation project; and when the user grade corresponding to the user role of the second user is lower than the user grade corresponding to the user role of the first user, executing the translation change operation corresponding to the translation change request.
2. The method of claim 1, wherein the determining, in response to the repository operation request, a user role of the first user in a translation item corresponding to the translation repository comprises:
Acquiring a user identifier carried by the memory operation request;
and inquiring the user role of the first user in the translation project based on the user identification.
3. The method according to claim 1, wherein the translation items include at least one user role, the repository operation request further includes a translation objection submission request, the translation objection submission request is an operation request for the first user to objectively submit a translation submitted by the second user, and when the repository operation request meets an operation right corresponding to the user role, executing a repository interaction operation corresponding to the repository operation request includes:
acquiring a user role of the second user in the translation project;
and when the user grade corresponding to the user role of the second user is higher than or equal to the user grade corresponding to the user role of the first user, executing the translation objection submitting operation corresponding to the translation objection submitting request.
4. The method of claim 1, wherein the user role is at least one of a translation role, a review role, a quality inspection role, and a management role, the repository operation request further comprises a translation specification release request, and after the step of determining the user role of the first user in the translation item corresponding to the translation repository according to the repository operation request, further comprises:
When the user role of the first user in the translation project is the quality inspection role or the management role, judging that the translation specification release request meets the operation authority corresponding to the user role;
when the user role of the first user in the translation project is the translation role or the checking role, judging that the translation specification release request does not meet the operation authority corresponding to the user role.
5. The method according to claim 4, wherein the repository operation request further includes a request for adding a reference repository, and when the similarity between the translation contents of the reference repository and the translation contents of the translation repository meets a preset condition, after the step of determining the user role of the first user in the translation item corresponding to the translation repository according to the repository operation request, the method further includes:
and when the user role of the first user in the translation project is the management role, judging that the reference memory bank adding request meets the operation authority corresponding to the user role.
6. The method of claim 1, wherein after the step of performing the bank interaction corresponding to the bank operation request, the method further comprises:
after the execution of the memory bank interaction operation is completed, a memory bank change notification is generated; the memory bank change notification is used for prompting a target user that contents in the translation memory bank change.
7. The method of claim 1, wherein the repository operation request further comprises a translation query request, and the performing the repository interaction corresponding to the repository operation request comprises:
determining a source text to be translated which is input by the first user according to the translation query request;
when the translation memory library contains the translation corresponding to the source text to be translated, returning the translation corresponding to the source text to be translated to a user terminal corresponding to the first user;
When the translation memory library does not have the translation corresponding to the source text to be translated, inquiring similar source text in the translation memory library according to the source text to be translated; the content similarity between the similar source text and the source text to be translated is larger than a preset similarity threshold;
and returning the similar source text and the translated text corresponding to the similar source text to the user terminal corresponding to the first user.
8. A translation memory operation execution device, the device comprising:
The receiving module is used for receiving a memory bank operation request of a first user for the translation memory bank; the memory operation request is a request for the first user to perform data operation on user data stored in the translation memory by different users in a translation project; the translation items are used for describing items for translating the file to be translated from a source language to a target language;
the determining module is used for responding to the memory bank operation request and determining the user role of the first user in the translation project corresponding to the translation memory bank; the user roles are used for describing roles corresponding to working contents responsible for the first user in the process of translating the file to be translated from a source language to a target language; the translation project comprises at least one user role, each user role corresponds to one user grade, and the memory operation request comprises a translation change request, wherein the translation change request is used for changing a translation submitted by a second user by the first user;
The execution module is used for executing the memory bank interaction operation corresponding to the memory bank operation request when the memory bank operation request meets the operation right corresponding to the user role, and specifically comprises the following steps: acquiring a user role of the second user in the translation project; and when the user grade corresponding to the user role of the second user is lower than the user grade corresponding to the user role of the first user, executing the translation change operation corresponding to the translation change request.
9. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor implements the steps of the method of any of claims 1 to 7 when the computer program is executed.
10. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the method of any of claims 1 to 7.
CN202011238681.7A 2020-11-09 2020-11-09 Translation memory operation execution method and device, computer equipment and storage medium Active CN112487830B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011238681.7A CN112487830B (en) 2020-11-09 2020-11-09 Translation memory operation execution method and device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011238681.7A CN112487830B (en) 2020-11-09 2020-11-09 Translation memory operation execution method and device, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN112487830A CN112487830A (en) 2021-03-12
CN112487830B true CN112487830B (en) 2024-05-28

Family

ID=74928911

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011238681.7A Active CN112487830B (en) 2020-11-09 2020-11-09 Translation memory operation execution method and device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112487830B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101753832A (en) * 2008-12-04 2010-06-23 北京中星微电子有限公司 Cloud mirror control method in video monitoring system, system and central platform server
CN103200196A (en) * 2013-04-01 2013-07-10 天脉聚源(北京)传媒科技有限公司 Accessing method, system and device between user equipment and accessing target
CN108268790A (en) * 2016-12-30 2018-07-10 北京国双科技有限公司 The configuration method and device of data permission
CN109344410A (en) * 2018-09-19 2019-02-15 中译语通科技股份有限公司 A kind of machine translation control system and method, information data processing terminal
CN109543372A (en) * 2018-10-26 2019-03-29 深圳壹账通智能科技有限公司 Service authority data processing method, device, computer equipment and storage medium
CN109558604A (en) * 2018-12-17 2019-04-02 北京百度网讯科技有限公司 A kind of machine translation method, device, electronic equipment and storage medium
CN111428252A (en) * 2020-03-20 2020-07-17 郑州阿帕斯数云信息科技有限公司 User authority control method and device
CN111859044A (en) * 2020-07-30 2020-10-30 深圳市元征科技股份有限公司 Data query processing method, system and related equipment

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11036940B2 (en) * 2018-08-30 2021-06-15 Mmt Srl Translation system and method

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101753832A (en) * 2008-12-04 2010-06-23 北京中星微电子有限公司 Cloud mirror control method in video monitoring system, system and central platform server
CN103200196A (en) * 2013-04-01 2013-07-10 天脉聚源(北京)传媒科技有限公司 Accessing method, system and device between user equipment and accessing target
CN108268790A (en) * 2016-12-30 2018-07-10 北京国双科技有限公司 The configuration method and device of data permission
CN109344410A (en) * 2018-09-19 2019-02-15 中译语通科技股份有限公司 A kind of machine translation control system and method, information data processing terminal
CN109543372A (en) * 2018-10-26 2019-03-29 深圳壹账通智能科技有限公司 Service authority data processing method, device, computer equipment and storage medium
CN109558604A (en) * 2018-12-17 2019-04-02 北京百度网讯科技有限公司 A kind of machine translation method, device, electronic equipment and storage medium
CN111428252A (en) * 2020-03-20 2020-07-17 郑州阿帕斯数云信息科技有限公司 User authority control method and device
CN111859044A (en) * 2020-07-30 2020-10-30 深圳市元征科技股份有限公司 Data query processing method, system and related equipment

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
签证材料英译 Trados 记忆库创建及质量控制研究;师亚运 等;《河南机电高等专科学校学报》;20180331;第26卷(第2期);第69-71页 *
翻译记忆库的建设与维护——以创凌翻译公司实习项目为例;奥香兰;《中国优秀硕士学位论文全文数据库哲学与人文科学辑》;20130215(第2期);F084-125 *

Also Published As

Publication number Publication date
CN112487830A (en) 2021-03-12

Similar Documents

Publication Publication Date Title
US11698890B2 (en) System and method for generating a column-oriented data structure repository for columns of single data types
US8832131B2 (en) System, method, and apparatus for replicating a portion of a content repository using behavioral patterns
US11727019B2 (en) Scalable dynamic acronym decoder
US20210133040A1 (en) System and method for indexing image backups
CN111414389B (en) Data processing method and device, electronic equipment and storage medium
US20140188815A1 (en) Annotation of Resources in a Distributed Execution Environment
CN113792077B (en) Data processing method, program product, readable medium and electronic device
US20170212930A1 (en) Hybrid architecture for processing graph-based queries
US10402486B2 (en) Document conversion, annotation, and data capturing system
US10146873B2 (en) Cloud-native documents integrated with legacy tools
US11704114B2 (en) Data structures for managing configuration versions of cloud-based applications
US9965812B2 (en) Generating a supplemental description of an entity
CN110888972A (en) Sensitive content identification method and device based on Spark Streaming
CN111522881B (en) Service data processing method, device, server and storage medium
US11537577B2 (en) Method and system for document lineage tracking
US11436359B2 (en) System and method for managing permissions of users for a single data type column-oriented data structure
CN112487830B (en) Translation memory operation execution method and device, computer equipment and storage medium
CN116755679A (en) Service processing method, device, equipment and storage medium
US10313284B1 (en) Upload and share files to a sharing service using a messaging client
CN111221817B (en) Service information data storage method, device, computer equipment and storage medium
US20220066999A1 (en) File management using a temporal database architecture
WO2021057695A1 (en) Information importing method and apparatus
US20220092194A1 (en) Smart Direct Access
CN113849482A (en) Data migration method and device and electronic equipment
US20190318007A1 (en) Milestones in File History Timeline of an Electronic Document

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