Translation method and device, terminal and storage medium

A target position and option technology, applied in the field of text translation, can solve problems such as inconvenient operation, achieve the effect of simplifying translation operations and improving translation efficiency

Active Publication Date: 2018-02-02
GUANGDONG XIAOTIANCAI TECH CO LTD
View PDF5 Cites 17 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

There are also ways to look up words based on image recognition. For example, the photo translation function of Youdao Dict

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Translation method and device, terminal and storage medium
  • Translation method and device, terminal and storage medium
  • Translation method and device, terminal and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0028] figure 1 It is a flow chart of a translation method provided by Embodiment 1 of the present invention. This embodiment is applicable to the situation of translating text information in pictures. The method can be executed by a translation device, which can be implemented by software and / or hardware , generally can be integrated in the terminal, the method includes the following steps:

[0029] S110. Obtain a picture containing text information.

[0030] In an embodiment of the present invention, optionally, obtaining the picture containing the text information may include: obtaining the picture containing the text information through the functions of photographing, saving, screenshotting and downloading of the smart terminal device. The picture containing text information may be a picture containing only text information, or a picture containing both text information and non-text information. The non-text information includes but is not limited to characters and scener...

Embodiment 2

[0069] figure 2 It is a flowchart of a translation method provided in Embodiment 2 of the present invention, and the method includes the following steps:

[0070] S210. Obtain a picture containing text information.

[0071] S220. When displaying the picture, generate text translation options; wherein, the text translation options include word translation options, sentence translation options, and paragraph translation options.

[0072] S230. When a user's preset action on the screen is detected, open a pop-up box for selecting a translation language; when an instruction to select a target translation language is received, close the pop-up box for selection.

[0073] In one embodiment of the present invention, if a user's preset action on the screen is detected, a translation language selection pop-up box is opened, and the translation language selection pop-up box provides a target translation language in a graphical form. The preset action may be a sliding action or other ...

Embodiment 3

[0083] image 3 It is a flowchart of a translation method provided in Embodiment 3 of the present invention, and the method includes the following steps:

[0084] S310. Acquire a picture containing text information.

[0085] S320. When displaying the picture, generate text translation options and translation mode options. Wherein, the text translation options include word translation options, sentence translation options and paragraph translation options.

[0086] In the embodiment of the present invention, translation modes include but are not limited to learning mode, academic mode, entertainment mode, and news information mode. Users can choose different translation modes. After obtaining the translation results, the terminal provides corresponding translation modes according to the translation mode selected by the user. Value-added services.

[0087] S330. If a trigger operation on the word translation option is detected, the user triggers the translation of the target wo...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The embodiment of the invention discloses a translation method and device, a terminal and a storage medium. The method comprises the steps of: acquiring an image comprising text information; when displaying the image, generating text translation options, wherein the text translation options comprise a word translation option and a sentence translation option; if detecting out a trigger operation for the word translation option, carrying out translation on a target word corresponding to a target position of a screen in an image display region triggered by a user; and if detecting out a triggeroperation for the sentence translation option, carrying out translation on a target sentence corresponding to an identifier of the user on the display screen. According to the translation method provided by the embodiment of the invention, words or sentences included in images can be translated without inputting words or sentences which need to be translated, so that translation efficiency can beimproved and the translation operation can be simplified.

Description

technical field [0001] The embodiments of the present invention relate to the field of text translation, and in particular to a translation method, device, terminal and storage medium. Background technique [0002] People often encounter some foreign words, sentences or unfamiliar idioms, classical Chinese sentences, etc. that they do not understand in their daily reading of books, newspapers and magazines, which will inevitably hinder the deep understanding of the meaning of the browsing content. The gap between text and language promotes people's learning, communication and exchanges. [0003] The current translation tools can be roughly divided into two types: offline translation tools and online translation tools. Both translation tools require people to manually input words or sentences to be translated. This translation method is inefficient. There are also ways to look up words based on image recognition. For example, the camera translation function of Youdao Diction...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06F17/28
CPCG06F40/40
Inventor 刘小兵
Owner GUANGDONG XIAOTIANCAI TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products