CN106598934B - Display methods, device and the terminal device of electronic book data - Google Patents
Display methods, device and the terminal device of electronic book data Download PDFInfo
- Publication number
- CN106598934B CN106598934B CN201611155964.9A CN201611155964A CN106598934B CN 106598934 B CN106598934 B CN 106598934B CN 201611155964 A CN201611155964 A CN 201611155964A CN 106598934 B CN106598934 B CN 106598934B
- Authority
- CN
- China
- Prior art keywords
- phonetic notation
- word
- distance
- spelling
- spells
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/189—Automatic justification
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Health & Medical Sciences (AREA)
- Artificial Intelligence (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Computational Linguistics (AREA)
- General Health & Medical Sciences (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Portable Nailing Machines And Staplers (AREA)
- Document Processing Apparatus (AREA)
Abstract
An embodiment of the present invention provides a kind of display methods of electronic book data, device and terminal devices, wherein the display methods of the electronic book data includes:It obtains adjacent first and spells phonetic notation word and the second spelling phonetic notation word, wherein spell the spelling phonetic notation that phonetic notation word includes word and word;Determine that the first of the first spelling phonetic notation word spells phonetic notation region and the first character area, and, second spells the second spelling phonetic notation region of phonetic notation word and the second character area;The first distance spelled according to described first between phonetic notation region and the second spelling phonetic notation region adjusts described first and spells the distance between phonetic notation word and second spelling phonetic notation word alternatively, according to the second distance between first character area and the second character area.The first spelling phonetic notation word and second is optimized through the embodiment of the present invention and spells the typesetting display effect of phonetic notation word, improves the experience of user's reading electronic book.
Description
Technical field
The present embodiments relate to technical field of data processing more particularly to a kind of display methods of electronic book data, dresses
It sets and terminal device.
Background technology
With popularizing for terminal device, the people of reading electronic book is more and more on the terminal device, is read by terminal device
Reading e-book has many advantages, such as that environmental protection, low-power consumption, amount of storage are big, and user is facilitated to carry.
With becoming increasingly prosperous for children e-book reading matter market, more and more e-book applications, which provide, has children's characteristic
E-book.In this electron-like book, word is usually with phonetic or phonetic notation (for ease of description, will be with spelling in the application
Sound or the word of phonetic notation are referred to as spelling phonetic notation word), for example, Chinese and Chinese pinyin, Japanese and assumed name etc. similar situation.
It in current such e-book reading matter, spells phonetic notation and corresponding word carries out typesetting as a whole, that is, each is spelled
Phonetic notation word is to carry out typesetting according to the width of wider person in word and spelling phonetic notation.Therefore, often occur shared by adjacent word
The very big situation of space difference, influences the typesetting quality of e-book, but also the experience of user's reading electronic book is poor.
Invention content
An embodiment of the present invention provides a kind of display methods of electronic book data, device and terminal devices, current to solve
When carrying out typesetting to e-book, often there is difference very big situation in space shared by adjacent word, influence the row of e-book
Version quality, but also the problem that the experience of user's reading electronic book is poor.
One side according to the ... of the embodiment of the present invention provides a kind of display methods of electronic book data, including:
It obtains adjacent first and spells phonetic notation word and the second spelling phonetic notation word, wherein it includes word and text to spell phonetic notation word
The spelling phonetic notation of word;
Determine that the first of the first spelling phonetic notation word spells phonetic notation region and the first character area, and, second spells phonetic notation word
Second spell phonetic notation region and the second character area;
Phonetic notation region and second is spelled according to described first and spells the first distance between phonetic notation region, alternatively, according to described the
Second distance between one character area and the second character area, adjustment described first spell phonetic notation word and second and spell phonetic notation word
The distance between.
Another aspect according to the ... of the embodiment of the present invention provides a kind of display device of electronic book data, including:
Acquisition module spells phonetic notation word and the second spelling phonetic notation word, wherein spell phonetic notation word for obtaining adjacent first
Spelling phonetic notation including word and word;
Determining module, the first spelling phonetic notation region for determining the first spelling phonetic notation word and the first character area, and, the
Two spell the second spelling phonetic notation region of phonetic notation word and the second character area;
Module is adjusted, is used for according to the first distance between the first spelling phonetic notation region and the second spelling phonetic notation region, or
Person, according to the second distance between first character area and the second character area, adjustment described first spell phonetic notation word and
Second spells the distance between phonetic notation word.
Another aspect according to the ... of the embodiment of the present invention additionally provides a kind of terminal device, including:Processor, leads to memory
Believe that interface and communication bus, the processor, the memory and the communication interface are completed mutual by the communication bus
Between communication;
For the memory for storing an at least executable instruction, it is as above that the executable instruction makes the processor execute
The corresponding operation of display methods of the electronic book data.
It is according to the ... of the embodiment of the present invention in another aspect, additionally provide a kind of computer readable storage medium, the computer
Readable storage medium storing program for executing is stored with:The executable instruction of phonetic notation word and the second spelling phonetic notation word is spelled for obtaining adjacent first,
Wherein, the spelling phonetic notation that phonetic notation word includes word and word is spelled;For determining that the first of the first spelling phonetic notation word spells phonetic notation region
With the first character area, and, second spell phonetic notation word second spell phonetic notation region and the second character area executable instruction;
For spelling the first distance between phonetic notation region and the second spelling phonetic notation region according to described first, alternatively, according to first text
Second distance between block domain and the second character area, adjustment described first are spelled between phonetic notation word and the second spelling phonetic notation word
Distance executable instruction.
Display methods, device and the terminal device of a kind of electronic book data provided according to embodiments of the present invention, by obtaining
It takes adjacent first to spell phonetic notation word and second and spells phonetic notation word;And then determine the first the first spelling phonetic notation region for spelling phonetic notation word
With the first character area, and, second spell phonetic notation word second spell phonetic notation region and the second character area;It spells and notes according to first
The first distance between sound region and the second spelling phonetic notation region, alternatively, according between the first character area and the second character area
Second distance, adjustment first spells phonetic notation word and second and spells the distance between phonetic notation word.Compared with traditional type-setting mode,
The display area of first spelling phonetic notation word is divided into the first spelling phonetic notation region and the first character area by the embodiment of the present invention, by the
The display area of two spelling phonetic notation words is divided into the second spelling phonetic notation region and the second character area, wherein first spells phonetic notation region
It is the first distance to spell the distance between phonetic notation region with second, and the distance between the first character area and the second character area are the
Two distances can be according to the first distance or second when spelling phonetic notation word and the second spelling phonetic notation word progress typesetting to first
Distance adjustment first spells phonetic notation word and second and spells the distance between phonetic notation word, shortens the first spelling phonetic notation word and second and spells
The distance between phonetic notation word optimizes the first spelling phonetic notation word and second and spells the typesetting display effect of phonetic notation word, improves
The experience of user's reading electronic book.
Description of the drawings
Fig. 1 is a kind of step flow chart of the display methods of according to embodiments of the present invention one electronic book data;
Fig. 2 is a kind of step flow chart of the display methods of according to embodiments of the present invention two electronic book data;
Fig. 3 is a kind of structure diagram of the display device of according to embodiments of the present invention three electronic book data;
Fig. 4 is a kind of structure diagram of the display device of according to embodiments of the present invention four electronic book data;
Fig. 5 is a kind of structural schematic diagram of according to embodiments of the present invention five terminal device.
Specific implementation mode
(identical label indicates identical element in several attached drawings) and embodiment below in conjunction with the accompanying drawings, implement the present invention
The specific implementation mode of example is described in further detail.Following embodiment is not limited to the present invention for illustrating the present invention
Range.
It will be understood by those skilled in the art that the terms such as " first ", " second " in the embodiment of the present invention are only used for distinguishing
Different step, equipment or module etc. neither represent any particular technology meaning, also do not indicate that the inevitable logic between them is suitable
Sequence.
Embodiment one
Referring to Fig.1, a kind of step flow of the display methods of according to embodiments of the present invention one electronic book data is shown
Figure.
The display methods of electronic book data in the present embodiment can be realized by any suitable terminal device, such as intelligent hand
Machine, tablet computer or desktop computer etc., but not limited to this, other devices for having similar data processing function can refer to this reality
The display methods that example realizes electronic book data is applied, the embodiment of the present invention is not restricted this, and the present embodiment is only with terminal device
Example illustrates.
The display methods of the electronic book data of the present embodiment includes the following steps:
Step S100, it obtains adjacent first and spells phonetic notation word and the second spelling phonetic notation word.
In the present embodiment, the spelling phonetic notation that phonetic notation word includes word and word is spelled, four in word can be marked by spelling phonetic notation
Side, such as mark is in the top of word, bottom end, left side or right side.The present embodiment by spell phonetic notation mark in the top of word for,
It spells scheme of the phonetic notation mark in the bottom end of word and is referred to the present embodiment.For example, the first spelling phonetic notation word includes word " wide "
With mark in the phonetic " guang " on word " wide " top, the second spelling phonetic notation word includes word " big " and mark in word " big "
The phonetic " da " on top.It should be noted that the word in the present embodiment in spelling phonetic notation word may be used also in addition to it can be Chinese character
Think other words, such as Japanese, Korean, English, spelled in the present embodiment spelling phonetic notation in phonetic notation word except can be phonetic it
Outside, can also be other spelling phonetic notations, such as phonetic symbol, assumed name, other phonetics or phonetic notation, the present embodiment is to spelling in phonetic notation word
Word and the specific category for spelling phonetic notation are not limited.
In the present embodiment, adjacent first spelling phonetic notation word and second spelling phonetic notation word may be considered it is adjacent in a line
First, which spells phonetic notation word and second, spells phonetic notation word.In horizontal version mode, typesetting from left to right, then it is believed that second spells phonetic notation
Word is located at first and spells on the right side of phonetic notation word;But not limited to this, if typesetting from right to left, it is believed that second spells phonetic notation word position
It is spelled on the left of phonetic notation word in first.In vertical type-setting mode, typesetting from top to bottom, then it is believed that second spells phonetic notation word and be located at the
One spells on the downside of phonetic notation word;But not limited to this, if typesetting from bottom to up, it is believed that second spells phonetic notation word positioned at the first spelling note
On the upside of sound word.The embodiment of the present invention is only by taking typesetting from left to right as an example, but it should be understood by those skilled in the art that for from the right side
To left, type-setting mode from top to bottom or from bottom to up, realization of the embodiment of the present invention can also refer to.
In this step, can by conventional identification, either analytical plan is identified or analyzes to electronic book data,
It obtains the first spelling phonetic notation word adjacent in electronic book data and second and spells phonetic notation word, the present embodiment is to obtaining adjacent first
Technological means is not limited used by spelling phonetic notation word and the second spelling phonetic notation word.
Step S102, determine that the first of the first spelling phonetic notation word spells phonetic notation region and the first character area, and, second spells
The second of phonetic notation word spells phonetic notation region and the second character area.
In first spells phonetic notation word, the display area where spelling phonetic notation is the first spelling phonetic notation region, aobvious where word
Show that region is the first character area.In second spells phonetic notation word, the display area where spelling phonetic notation is the second spelling phonetic notation region,
Display area where word is the second character area.For spelling phonetic notation and be phonetic, the rectangular display area where phonetic is
First spells phonetic notation region or the second spelling phonetic notation region, and by taking word is Chinese character as an example, the square display area where Chinese character is
First character area or the second character area.For a spelling phonetic notation word, the transverse direction in phonetic notation region and character area is spelled
Width is generally different, but there is also identical situations.
Step S104, it spells phonetic notation region and second according to first and spells the first distance between phonetic notation region, alternatively, according to the
Second distance between one character area and the second character area, adjustment first are spelled between phonetic notation word and the second spelling phonetic notation word
Distance.
In the present embodiment, the distance between the first spelling phonetic notation region and second spelling phonetic notation region referred to as the first distance, first
The distance between character area and the second character area are known as second distance.According to the first distance or second distance adjustment first
It spells phonetic notation word and second and spells the distance between phonetic notation word, specifically can spell phonetic notation word by first spells phonetic notation word to second
It is mobile, or spell phonetic notation word by second and spell phonetic notation character motion to first.
Phonetic notation word and second is spelled by adjusting first and spells the distance between phonetic notation word, reduces the first spelling phonetic notation word
The spacing for spelling phonetic notation word with second.
According to a kind of display methods of electronic book data provided in this embodiment, phonetic notation text is spelled by obtaining adjacent first
Word and second spells phonetic notation word, wherein spells the spelling phonetic notation that phonetic notation word includes word and word;And then determine that first spells phonetic notation text
The first of word spells phonetic notation region and the first character area, and, second, which spells the second of phonetic notation word, spells phonetic notation region and the second text
Block domain;The first distance between phonetic notation region is spelled according to the first spelling phonetic notation region and second, alternatively, according to the first character area
And the second second distance between character area, adjustment first spell phonetic notation word and second and spell the distance between phonetic notation word.With
Traditional to carry out type-setting mode to electronic book data and compare, the display area of the first spelling phonetic notation word is divided into the by the present embodiment
One spells phonetic notation region and the first character area, and the display area of the second spelling phonetic notation word is divided into the second spelling phonetic notation region and the
Two character areas, wherein first spells the distance between phonetic notation region and second spelling phonetic notation region as the first distance, the first literal field
The distance between domain and the second character area are second distance, are arranged to the first spelling phonetic notation word and the second spelling phonetic notation word
Version when, can according to first distance or second distance adjustment first spell phonetic notation word and second spell phonetic notation word between away from
From shortening the first spelling phonetic notation word and second and spell the distance between phonetic notation word, optimize the first spelling phonetic notation word and second
The typesetting display effect for spelling phonetic notation word, improves the experience of user's reading electronic book.
Embodiment two
With reference to Fig. 2, a kind of step flow of the display methods of according to embodiments of the present invention two electronic book data is shown
Figure.
The display methods of electronic book data in the present embodiment can be realized by any suitable terminal device, such as intelligent hand
Machine, tablet computer or desktop computer etc., but not limited to this, other devices for having similar data processing function can refer to this reality
The display methods that example realizes electronic book data is applied, the embodiment of the present invention is not restricted this, and the present embodiment is still with terminal device
Example illustrates.
The present embodiment on the basis of the above embodiments, emphasizes the difference with above-described embodiment, and something in common can be with
Introduction in reference above-described embodiment and explanation.
The display methods of the electronic book data of the present embodiment includes the following steps:
Step S200, it obtains adjacent first and spells phonetic notation word and the second spelling phonetic notation word.
In the present embodiment, it includes that the spelling of word and mark in word top, bottom end, left side or right side is noted to spell phonetic notation word
Sound.When lateral typesetting, i.e., phonetic notation mark is spelled in word top or bottom end from a left side to by either typesetting from right to left;When vertical
To when typesetting, i.e., either typesetting from bottom to up spells phonetic notation mark in word left side or right side from top to bottom.
Step S202, determine that the first of the first spelling phonetic notation word spells phonetic notation region and the first character area, and, second spells
The second of phonetic notation word spells phonetic notation region and the second character area.
This step S202 can be directed to first and spell phonetic notation word and the second spelling phonetic notation word respectively, determine the first spelling phonetic notation area
Domain and the first character area and the second spelling phonetic notation region and the second character area.
(1), the first spelling phonetic notation region and the first character area are determined for the first spelling phonetic notation word:
It is spelled in phonetic notation word according to first, spells the coordinate information of phonetic notation position, determine the first spelling phonetic notation region;According to
First spells in phonetic notation word, and the coordinate information of word position determines the first character area.
In the present embodiment, it is rectangular area to spell phonetic notation position, it is only necessary to obtain and spell the rectangular area where phonetic notation
The coordinate information of a pair of diagonal line endpoints is the first spelling phonetic notation region that can determine where spelling phonetic notation.For example, where spelling phonetic notation
Four vertex point coordinate informations of rectangular area respectively point a (x1, y1), point b (x2, y1), point c (x1, y2) and point d (x2, y2),
Wherein, point a and point d is a pair of diagonal line endpoints, and point b and point c are the diagonal line endpoints of another pair.It only needs according to point a's and point d
Coordinate information is the first spelling phonetic notation region that can determine where spelling phonetic notation, or, it is only necessary to according to the coordinate information of point b and point c
It can determine that first where spelling phonetic notation spells phonetic notation region.
In the present embodiment, the position where word is square region, it is only necessary to obtain the square area where word
The coordinate informations of the diagonal line endpoints of a pair be the first character area that can determine where word.Specific example is referred to above-mentioned
Determine the where spelling phonetic notation first introduction and explanation for spelling phonetic notation region, details are not described herein.
(2), the second spelling phonetic notation region and the second character area are determined for the second spelling phonetic notation word:
It is spelled in phonetic notation word according to second, spells the coordinate information of phonetic notation position, determine the second spelling phonetic notation region;According to
Second spells in phonetic notation word, and the coordinate information of word position determines the second character area.
Determine that the detailed process of the second spelling phonetic notation region and the second character area is referred to the spelling phonetic notation of above-mentioned determination first
The introduction of region and the first character area and explanation, details are not described herein.
Step S204, the first distance and the first text between the first spelling phonetic notation region and the second spelling phonetic notation region are obtained
Second distance between block domain and the second character area.
It in this step S204, obtains first and spells phonetic notation region and second and spell the first distance between phonetic notation region, with from a left side
For to right typesetting, the minimum abscissa information in the second spelling phonetic notation region can be subtracted to the horizontal seat of maximum in the first spelling phonetic notation region
Information is marked, the first distance is obtained.For example, the second minimum abscissa information for spelling phonetic notation region is x3, first spells phonetic notation region
Maximum abscissa information is x2, the first distance that x3-x2 is obtained.And if typesetting from right to left, need the second spelling phonetic notation region
Maximum abscissa subtract the minimum abscissa in the first spelling phonetic notation region.If typesetting from top to bottom, need to spell phonetic notation area by second
The maximum ordinate information in domain subtracts the minimum ordinate information in the first spelling phonetic notation region, obtains the first distance.For example, second spells
The maximum ordinate information in phonetic notation region is y3, and the first minimum ordinate information for spelling phonetic notation region is y2, and y3-y2 is obtained
The first distance.If typesetting from bottom to up, the minimum ordinate by the second spelling phonetic notation region is needed to subtract the first spelling phonetic notation region
Maximum ordinate.If result is negative, take absolute value.
In this step S204, the second distance between the first character area and the second character area is obtained, if from left to right
The minimum abscissa information of second character area can be subtracted the maximum abscissa information of the first character area, obtained by typesetting
Second distance.For example, the minimum abscissa information of the second character area is x3 ', the maximum abscissa information of the first character area
For x2 ', the second distance that x3 '-x2 ' is obtained.And if typesetting from right to left, need the maximum abscissa of the second character area
Subtract the minimum abscissa of the first character area.If typesetting from top to bottom, need to believe the maximum ordinate of the second character area
Breath subtracts the minimum ordinate information of the first character area, obtains second distance.For example, the maximum ordinate of the second character area
Information is y3 ', and the minimum ordinate information of the first character area is y2 ', the second distance that y3 '-y2 ' is obtained.If from down toward
Upper typesetting then needs the maximum ordinate that the minimum ordinate of the second character area is subtracted to the first character area.
It should be noted that above-mentioned x3 can either different above-mentioned x2s identical as x3 ' can be identical or different as x2 ',
Above-mentioned y3 can either different above-mentioned y2s identical as y3 ' can be identical or different as y2 '.If obtained result is negative value,
Its absolute value be can use as the first distance or second distance.
Step S206, the first distance is compared with second distance, the first distance and second is selected according to comparison result
Smaller distance in distance.
Step S208, phonetic notation word and second is spelled according to the distance of selection adjustment first and spells the distance between phonetic notation word.
If the first distance is less than second distance, the distance selected is the first distance;If the first distance is more than second distance,
The distance then selected is second distance;If first distance be equal to second distance, the distance selected can be first apart from or
Second distance.
In this step S208, according to the distance of selection adjustment first spell phonetic notation word and second spell phonetic notation word between away from
From the second spelling phonetic notation region that specifically can spell phonetic notation word by second and the second character area are to the first spelling phonetic notation word shifting
The distance of dynamic selection.
If first, which spells phonetic notation word, is located at the second left side for spelling phonetic notation word, second can be spelled the second of phonetic notation word
It spells phonetic notation region and the second character area is moved to the left the first distance of selection or the second distance of selection.If second spells note
Sound word is located at the first left side for spelling phonetic notation word, then can spell the first of phonetic notation word by first spells phonetic notation region and the first text
Block domain is moved to the left the first distance of selection or the second distance of selection.If first, which spells phonetic notation word, is located at the second spelling note
Second spelling phonetic notation region of the second spelling phonetic notation word and the second character area then can be moved up choosing by the upside of sound word
The second distance of the first distance or selection selected.If second, which spells phonetic notation word, is located at the first upside for spelling phonetic notation word, can
With by first spelling phonetic notation word first spelling phonetic notation region and the first character area move up selection first distance or
The second distance of selection.
In order to prevent adjustment distance after first spell phonetic notation word edge with second spelling phonetic notation word coincident or
Person is too close to influencing the display effect of electronic book data, in this step S208, phonetic notation is spelled according to the distance of selection adjustment first
Word and second spells the distance between phonetic notation word, can also specifically calculate the distance of selection and the difference of predetermined interval, according to
Difference adjustment first spells phonetic notation word and second and spells the distance between phonetic notation word.By predetermined interval, and according to selection away from
Spell the distance between phonetic notation word from phonetic notation word and second is spelled with the difference of predetermined interval adjustment first, it is ensured that adjustment away from
Retain certain intervals between the first spelling phonetic notation word and the second spelling phonetic notation word from after, optimizes the display effect of electronic book data
Fruit improves the reading experience of user's reading electronic book.Wherein, predetermined interval can be by those skilled in the art according to practical need
It suitably sets, the embodiment of the present invention is not restricted this.
Step S210, judge that second after adjustment distance spells whether phonetic notation word is located at end of line position or row tail position, if
Second after adjustment distance, which spells phonetic notation word, is not located at end of line position or row tail position, thens follow the steps S212;If adjusting distance
The second spelling phonetic notation word afterwards is located at end of line position or row tail position, then directly returns and execute above-mentioned steps S200.
If second after adjustment distance, which spells phonetic notation word, is not located at end of line position, indicate in current line, phonetic notation is spelled first
There is also spell phonetic notation word to need to adjust after word or the second spelling phonetic notation word.If second after adjustment distance spells phonetic notation text
Word is located at end of line position, indicates in current line, and there is no spell note after the first spelling phonetic notation word or second spell phonetic notation word
Sound word needs to adjust.If second after adjustment distance, which spells phonetic notation word, is not located at row tail position, indicate in row row, first
There is also spell phonetic notation word to need to adjust after spelling phonetic notation word or the second spelling phonetic notation word.If second after adjustment distance spells
Phonetic notation word is located at row tail position, indicates in row row, is not deposited after the first spelling phonetic notation word or the second spelling phonetic notation word
It needs to adjust spelling phonetic notation word.
Step S212, it spells phonetic notation word using second and spells phonetic notation word as new first, phonetic notation word phase will be spelled with second
Adjacent phonetic notation word of spelling spells phonetic notation word as new second.
For example, the second spelling phonetic notation word includes spelling phonetic notation " da " and word " big ", it is adjacent after the second spelling phonetic notation word
Spelling phonetic notation word include spelling phonetic notation " jia " and word " family ", this step S212 will include spelling phonetic notation " da " and word " big "
Second spells phonetic notation word spells phonetic notation word as new first, will include the spelling phonetic notation word for spelling phonetic notation " jia " and word " family "
Phonetic notation word is spelled as new second.
After executing this step S212, returns and execute above-mentioned steps S200.
It should be noted that above-mentioned explanation and introduction about the present embodiment, is to spell phonetic notation word and second with first to spell
Based on phonetic notation word is located at a line or same row.Adjustment first spell phonetic notation word and second spell phonetic notation word between away from
From when, phonetic notation word can be spelled by first and spell the adjustment of phonetic notation words direction to second, phonetic notation word can also be spelled to the by second
One spells the adjustment of phonetic notation words direction, and the present embodiment is not limited the direction for adjusting distance.Moreover, if the direction of adjustment distance is
It adjusts from right to left, then the position for being located at the first spelling phonetic notation word or the second spelling phonetic notation word that row first place is set remains stationary as;
If the direction of adjustment distance is to adjust from left to right, it is located at the first of end of line position and spells phonetic notation word or the second spelling phonetic notation text
The position of word remains stationary as.If the direction of adjustment distance is to adjust from bottom to top, it is located at the first first set of row and spells phonetic notation text
The position of word or the second spelling phonetic notation word remains stationary as;If the direction of adjustment distance is to adjust from the top down, it is located at row tail
The position of first spelling phonetic notation word of position or the second spelling phonetic notation word remains stationary as.
If the first spelling phonetic notation word and the second spelling phonetic notation word are located at two rows or two row, first spells phonetic notation word and second
It spells in phonetic notation word, one is spelled the end of line position that phonetic notation word is located at a line, another spells the row that phonetic notation word is located at another row
First place is set or one is spelled the row tail position that phonetic notation word is located at a row, another spells the row head that phonetic notation word is located at another row
Position.If the direction for adjusting distance is from right to left or from bottom to top, for the spelling positioned at end of line position or row tail position
Phonetic notation word, can be to its adjacent previous spelling phonetic notation character motion;For setting or arranging the first spelling note set positioned at row first place
Sound word can keep the position of the spelling phonetic notation word constant, and the latter adjacent thereto is spelled phonetic notation word and is moved to it.Such as
The direction that fruit adjusts distance is from left to right or from the top down, then to introduce exactly the opposite with above-mentioned, set or arrange head positioned at row first place
The spelling phonetic notation word of position is located at the spelling phonetic notation of end of line position or row tail position to its adjacent next spelling phonetic notation character motion
The position of word is constant.
For the punctuation mark in electronic book data, it is believed that it is integrated with the spelling phonetic notation word before punctuation mark,
It is handled as a whole.According to a kind of display methods of electronic book data provided in this embodiment, pass through acquisition
Adjacent first spells phonetic notation word and second and spells phonetic notation word;And then determine first spell phonetic notation word first spell phonetic notation region and
First character area, and, second spells the second spelling phonetic notation region of phonetic notation word and the second character area;Phonetic notation is spelled according to first
The first distance between region and the second spelling phonetic notation region, alternatively, according between the first character area and the second character area
Second distance, adjustment first spell phonetic notation word and second and spell the distance between phonetic notation word.Compared with traditional type-setting mode, this
The display area of first spelling phonetic notation word is divided into the first spelling phonetic notation region and the first character area by embodiment, and second is spelled and is noted
The display area of sound word is divided into the second spelling phonetic notation region and the second character area, wherein first spells phonetic notation region and second
It is the first distance to spell the distance between phonetic notation region, the distance between the first character area and the second character area be second away from
From, to first spell phonetic notation word and second spell phonetic notation word carry out typesetting when, can according to first distance or second distance
Adjustment first spells phonetic notation word and second and spells the distance between phonetic notation word, shortens the first spelling phonetic notation word and second and spells phonetic notation
The distance between word optimizes the first spelling phonetic notation word and second and spells the typesetting display effect of phonetic notation word, improves user
The experience of reading electronic book.
The present embodiment by predetermined interval, ensure first after adjustment distance spell phonetic notation word and second spell phonetic notation word it
Between distance be predetermined interval, avoid adjustment distance after first spell phonetic notation word position and second spell phonetic notation word position
Too close to optimizing the display effect of electronic book data, improve the reading experience of user's reading electronic book.
Embodiment three
With reference to Fig. 3, a kind of structure diagram of the display device of according to embodiments of the present invention three electronic book data is shown.
The display device of the electronic book data of the present embodiment includes:Acquisition module 300 spells note for obtaining adjacent first
Sound word and second spells phonetic notation word, wherein it includes that word and word spell phonetic notation to spell phonetic notation word;Determining module 302, for true
Fixed first, which spells the first of phonetic notation word, spells phonetic notation region and the first character area, and, second spells the second spelling note of phonetic notation word
Sound region and the second character area;Module 304 is adjusted, for being spelled between phonetic notation region and the second spelling phonetic notation region according to first
First distance, alternatively, according to the second distance between the first character area and the second character area, phonetic notation word is spelled in adjustment first
The distance between phonetic notation word is spelled with second.
According to a kind of display device of electronic book data provided in this embodiment, phonetic notation text is spelled by obtaining adjacent first
Word and second spells phonetic notation word;And then determine the first spelling phonetic notation region and the first character area that first spells phonetic notation word, and,
Second spells the second spelling phonetic notation region of phonetic notation word and the second character area;Phonetic notation region and second, which is spelled, according to first spells phonetic notation area
The first distance between domain, alternatively, according to the second distance between the first character area and the second character area, adjustment first is spelled
Phonetic notation word and second spells the distance between phonetic notation word.Compared with traditional type-setting mode, the present embodiment spells phonetic notation by first
The display area of word is divided into the first spelling phonetic notation region and the first character area, and the display area for second being spelled phonetic notation word is drawn
Be divided into the second spelling phonetic notation region and the second character area, wherein first spell phonetic notation region and second spell between phonetic notation region away from
With a distance from for first, the distance between the first character area and the second character area are second distance, and phonetic notation text is being spelled to first
Word and second spell phonetic notation word carry out typesetting when, can according to first distance or second distance adjustment first spell phonetic notation word and
Second spells the distance between phonetic notation word, shortens the first spelling phonetic notation word and second and spells the distance between phonetic notation word, optimization
First, which spells phonetic notation word and second, spells the typesetting display effect of phonetic notation word, improves the experience of user's reading electronic book.
The display device of the electronic book data of the present embodiment can be set to the equipment appropriate with data-handling capacity
In, including but not limited to mobile terminal, desktop computer etc..
Example IV
With reference to Fig. 4, a kind of structure diagram of the display device of according to embodiments of the present invention four electronic book data is shown.
The display device of the electronic book data of the present embodiment includes:Acquisition module 400 spells note for obtaining adjacent first
Sound word and second spells phonetic notation word, wherein spells the spelling phonetic notation that phonetic notation word includes word and word;Determining module 402, is used for
Determine that the first of the first spelling phonetic notation word spells phonetic notation region and the first character area, and, second spells the second spelling of phonetic notation word
Phonetic notation region and the second character area;Module 404 is adjusted, for being spelled between phonetic notation region and the second spelling phonetic notation region according to first
The first distance, alternatively, according to the second distance between the first character area and the second character area, phonetic notation text is spelled in adjustment first
Word and second spells the distance between phonetic notation word.
Optionally it is determined that module 402 includes:First area determining module 4020, for being spelled in phonetic notation word according to first,
The coordinate information for spelling phonetic notation position, determines the first spelling phonetic notation region;It is spelled in phonetic notation word according to first, word position
Coordinate information, determine the first character area;And second area determining module 4022, for spelling phonetic notation word according to second
In, the coordinate information of phonetic notation position is spelled, determines the second spelling phonetic notation region;It is spelled in phonetic notation word according to second, where word
The coordinate information of position determines the second character area.
Optionally, adjustment module 404 includes:Apart from comparison module 4040, for the first distance and second distance to be carried out
Compare;Apart from selecting module 4042, for selecting distance smaller in the first distance and second distance according to comparison result;Distance
Module 4044 is adjusted, the distance between phonetic notation word is spelled for spelling phonetic notation word and second according to the distance of selection adjustment first.
Optionally, distance adjustment module 4044 includes:Region adjusts module, is spelled for spelling the second of phonetic notation word by second
Phonetic notation region and the second character area spell the distance that phonetic notation character motion selects to first.
Optionally, distance adjustment module 4044 includes:Difference calculating module, distance and predetermined interval for calculating selection
Difference;Difference adjusts module, and the distance between phonetic notation word is spelled for spelling phonetic notation word and second according to difference adjustment first.
Optionally, the display device of the electronic book data in the present embodiment further includes:Apart from acquisition module 406, it is used for
Module 404 is adjusted according to the first distance between the first spelling phonetic notation region and the second spelling phonetic notation region, alternatively, according to the first word
Second distance between region and the second character area, adjustment first spell phonetic notation word and second and spell the distance between phonetic notation word
Before, the maximum abscissa information that the minimum abscissa information in the second spelling phonetic notation region is subtracted to the first spelling phonetic notation region, obtains
The minimum abscissa information of second character area is subtracted the maximum abscissa information of the first character area, obtained by the first distance
Second distance.
Optionally, the display device of the electronic book data in the present embodiment further includes:Judgment module 408 is adjusted for judging
Second after whole distance spells whether phonetic notation word is located at end of line position or row tail position;Execution module 410, if for adjusting distance
Second afterwards spells phonetic notation word and is not located at end of line position or row tail position, then spells phonetic notation word using second and noted as the first new spelling
Sound word spells phonetic notation word, into acquisition module using the adjacent phonetic notation word of spelling of phonetic notation word is spelled with second as new second
400 continue to execute;If the second spelling phonetic notation word after adjustment distance is located at end of line position or row tail position, it is directly entered acquisition
Module 400 continues to execute.
The display device of the electronic book data of the present embodiment is for realizing corresponding e-book number in aforesaid plurality of embodiment
According to display methods, and with corresponding embodiment of the method advantageous effect, details are not described herein.
Embodiment five
Fig. 5 is a kind of structural schematic diagram of terminal device provided in an embodiment of the present invention, and the specific embodiment of the invention is not
The specific implementation of terminal device is limited.
As shown in figure 5, the terminal device may include:Processor (processor) 510, communication interface
(Communications Interface) 520, memory (memory) 530 and communication bus 540.
Wherein:
Processor 510, communication interface 520 and memory 530 complete mutual communication by communication bus 540.
Communication interface 520, for being communicated with the network element of such as server or other terminal devices etc..
Processor 510 can specifically execute the correlation step in above method embodiment for executing program 532.
Specifically, program 532 may include program code, which includes computer-managed instruction.
Processor 510 may be a central processor CPU or specific integrated circuit ASIC (Application
Specific Integrated Circuit), or be arranged to implement the integrated electricity of one or more of the embodiment of the present invention
Road.The one or more processors that terminal device includes can be same type of processor, such as one or more CPU;Also may be used
To be different types of processor, such as one or more CPU and one or more ASIC.
Memory 530, for storing relevant electronic book data and program 532.Memory 530 may include high-speed RAM
Memory, it is also possible to further include nonvolatile memory (non-volatile memory), for example, at least a disk storage
Device.
Program 532 specifically can be used for so that processor 510 executes following operation:It obtains adjacent first and spells phonetic notation word
Phonetic notation word is spelled with second, wherein spells the spelling phonetic notation that phonetic notation word includes word and word;Determine the of the first spelling phonetic notation word
One spells phonetic notation region and the first character area, and, second spells the second spelling phonetic notation region of phonetic notation word and the second character area;
The first distance between phonetic notation region is spelled according to the first spelling phonetic notation region and second, alternatively, according to the first character area and second
Second distance between character area, adjustment first spell phonetic notation word and second and spell the distance between phonetic notation word.
In a kind of optional embodiment, program 532 is additionally operable to so that processor 510 is determining the first spelling phonetic notation word
First spell phonetic notation region and the first character area, and, second spell phonetic notation word second spell phonetic notation region and the second word
It when region, is spelled in phonetic notation word according to first, spells the coordinate information of phonetic notation position, determine the first spelling phonetic notation region;According to
First spells in phonetic notation word, and the coordinate information of word position determines the first character area;And spell phonetic notation according to second
In word, the coordinate information of phonetic notation position is spelled, determines the second spelling phonetic notation region;It is spelled in phonetic notation word according to second, word
The coordinate information of position determines the second character area.
In a kind of optional embodiment, program 532 is additionally operable to so that processor 510 is spelling phonetic notation region according to first
And second spell the first distance between phonetic notation region, alternatively, according to second between the first character area and the second character area
Distance carries out the first distance and second distance when the distance between phonetic notation word and second spelling phonetic notation word are spelled in adjustment first
Compare;Distance smaller in the first distance and second distance is selected according to comparison result;It is spelled according to the distance of selection adjustment first
Phonetic notation word and second spells the distance between phonetic notation word.
In a kind of optional embodiment, program 532 is additionally operable to so that processor 510 is adjusted according to the distance of selection
First spells phonetic notation word and second when spelling the distance between phonetic notation word, by second spell the second of phonetic notation word spell phonetic notation region and
Second character area spells the distance that phonetic notation character motion selects to first.
In a kind of optional embodiment, program 532 is additionally operable to so that processor 510 is adjusted according to the distance of selection
When the distance between the first spelling phonetic notation word and second spelling phonetic notation word, the distance of selection and the difference of predetermined interval are calculated;It presses
Phonetic notation word and second, which is spelled, according to difference adjustment first spells the distance between phonetic notation word.
In a kind of optional embodiment, program 532 is additionally operable to so that processor 510 is spelling phonetic notation region according to first
And second spell the first distance between phonetic notation region, alternatively, according to second between the first character area and the second character area
Distance, before the distance between phonetic notation word and second spelling phonetic notation word are spelled in adjustment first, by the minimum in the second spelling phonetic notation region
Abscissa information subtracts the maximum abscissa information in the first spelling phonetic notation region, is sat alternatively, the maximum for second being spelled phonetic notation region is vertical
Mark information subtracts the minimum ordinate information in the first spelling phonetic notation region, obtains the first distance;The minimum of second character area is horizontal
Coordinate information subtracts the maximum abscissa information of the first character area, alternatively, by the maximum ordinate information of the second character area
The minimum ordinate information for subtracting the first character area, obtains second distance.
In a kind of optional embodiment, program 532 is additionally operable to so that processor 510 judges second after adjustment distance
Spell whether phonetic notation word is located at end of line position or row tail position;It is noted if it is not, then spelling phonetic notation word using second and being spelled as new first
Sound word spells phonetic notation word using the adjacent phonetic notation word of spelling of phonetic notation word is spelled with second as new second, and return obtains adjacent
First spelling phonetic notation word and second spelling phonetic notation word the step of continue to execute;Adjacent first is obtained if so, directly returning
The step of spelling phonetic notation word and the second spelling phonetic notation word continues to execute.
The specific implementation of each step may refer to corresponding in corresponding steps and unit in above-described embodiment in program 532
Description, this will not be repeated here.It is apparent to those skilled in the art that for convenience and simplicity of description, it is above-mentioned to retouch
The specific work process of the equipment and module stated can refer to corresponding processes in the foregoing method embodiment description, herein no longer
It repeats.
According to a kind of display methods of electronic book data provided in this embodiment, phonetic notation text is spelled by obtaining adjacent first
Word and second spells phonetic notation word;And then determine the first spelling phonetic notation region and the first character area that first spells phonetic notation word, and,
Second spells the second spelling phonetic notation region of phonetic notation word and the second character area;Phonetic notation region and second, which is spelled, according to first spells phonetic notation area
The first distance between domain, alternatively, according to the second distance between the first character area and the second character area, adjustment first is spelled
Phonetic notation word and second spells the distance between phonetic notation word.Compared with traditional type-setting mode, the present embodiment spells phonetic notation by first
The display area of word is divided into the first spelling phonetic notation region and the first character area, and the display area for second being spelled phonetic notation word is drawn
Be divided into the second spelling phonetic notation region and the second character area, wherein first spell phonetic notation region and second spell between phonetic notation region away from
With a distance from for first, the distance between the first character area and the second character area are second distance, and phonetic notation text is being spelled to first
Word and second spell phonetic notation word carry out typesetting when, can according to first distance or second distance adjustment first spell phonetic notation word and
Second spells the distance between phonetic notation word, shortens the first spelling phonetic notation word and second and spells the distance between phonetic notation word, optimization
First, which spells phonetic notation word and second, spells the typesetting display effect of phonetic notation word, improves the experience of user's reading electronic book.
It should be noted that the displaying scheme of electronic book data provided in an embodiment of the present invention, is suitable for using e-book
It reads application and carries out the scene that electronic book data is shown, but not limited to this, other similar scenes are equally applicable.
It may be noted that according to the needs of implementation, all parts/step described in the embodiment of the present invention can be split as more
The part operation of two or more components/steps or components/steps can be also combined into new component/step by multi-part/step
Suddenly, to realize the purpose of the embodiment of the present invention.
It is above-mentioned to be realized in hardware, firmware according to the method for the embodiment of the present invention, or be implemented as being storable in note
Software or computer code in recording medium (such as CD ROM, RAM, floppy disk, hard disk or magneto-optic disk), or it is implemented through net
The original storage that network is downloaded in long-range recording medium or nonvolatile machine readable media and will be stored in local recording medium
In computer code, can be stored in using all-purpose computer, application specific processor or can compile to method described here
Such software processing in journey or the recording medium of specialized hardware (such as ASIC or FPGA).It is appreciated that computer, processing
Device, microprocessor controller or programmable hardware include can store or receive software or computer code storage assembly (for example,
RAM, ROM, flash memory etc.), when the software or computer code are by computer, processor or hardware access and execute, realize
The display methods of electronic book data described here.In addition, when all-purpose computer accesses for realizing the display being shown here
When code, all-purpose computer is converted to the special purpose computer for executing the display being shown here by the execution of code.
Those of ordinary skill in the art may realize that lists described in conjunction with the examples disclosed in the embodiments of the present disclosure
Member and method and step can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually
It is implemented in hardware or software, depends on the specific application and design constraint of technical solution.Professional technician
Each specific application can be used different methods to achieve the described function, but this realization is it is not considered that exceed
The range of the embodiment of the present invention.
Embodiment of above is merely to illustrate the embodiment of the present invention, and is not the limitation to the embodiment of the present invention, related skill
The those of ordinary skill in art field can also make various in the case where not departing from the spirit and scope of the embodiment of the present invention
Variation and modification, therefore all equivalent technical solutions also belong to the scope of the embodiment of the present invention, the patent of the embodiment of the present invention
Protection domain should be defined by the claims.
Claims (13)
1. a kind of display methods of electronic book data, including:
It obtains adjacent first and spells phonetic notation word and the second spelling phonetic notation word, wherein it includes word and word to spell phonetic notation word
Spell phonetic notation;
Determine that the first of the first spelling phonetic notation word spells phonetic notation region and the first character area, and, second spells the of phonetic notation word
Two spell phonetic notation region and the second character area;
Phonetic notation region and second, which is spelled, by described first spells the first distance between phonetic notation region and first character area and the
Second distance between two character areas is compared;
Distance smaller in first distance and the second distance is selected according to comparison result;
Phonetic notation word and second, which is spelled, according to the distance of selection adjustment described first spells the distance between phonetic notation word.
2. according to the method described in claim 1, wherein it is determined that first spells the first spelling phonetic notation region and the first text of phonetic notation word
Block domain, and, second, which spells the second of phonetic notation word, spells phonetic notation region and the second character area, including:
It is spelled in phonetic notation word according to first, spells the coordinate information of phonetic notation position, determine the first spelling phonetic notation region;According to first
It spells in phonetic notation word, the coordinate information of word position determines the first character area;
And
It is spelled in phonetic notation word according to second, spells the coordinate information of phonetic notation position, determine the second spelling phonetic notation region;According to second
It spells in phonetic notation word, the coordinate information of word position determines the second character area.
3. according to the method described in claim 1, wherein, phonetic notation word and second is spelled according to the distance of selection adjustment described first
The distance between phonetic notation word is spelled, including:
The second of phonetic notation word, which is spelled, by described second spells phonetic notation region and the second character area to the first spelling phonetic notation word
The distance of mobile selection.
4. according to the method described in claim 1, wherein, phonetic notation word and second is spelled according to the distance of selection adjustment described first
The distance between phonetic notation word is spelled, including:
Calculate the difference of the distance and predetermined interval of selection;
Phonetic notation word and second, which is spelled, according to difference adjustment described first spells the distance between phonetic notation word.
5. according to the method described in claim 1, wherein, being spelled between phonetic notation region and the second spelling phonetic notation region by described first
The first distance be compared with the second distance between first character area and the second character area;According to comparison result
Select distance smaller in first distance and the second distance;Phonetic notation text is spelled according to the distance of selection adjustment described first
Before the distance between word and second spelling phonetic notation word, the method further includes:
The minimum abscissa information for described second being spelled phonetic notation region subtracts the described first maximum abscissa letter for spelling phonetic notation region
Breath, alternatively, the maximum ordinate information for described second being spelled phonetic notation region subtracts the described first vertical seat of minimum for spelling phonetic notation region
Information is marked, first distance is obtained;The minimum abscissa information of second character area is subtracted into first literal field
The maximum abscissa information in domain, alternatively, the maximum ordinate information of second character area is subtracted first literal field
The minimum ordinate information in domain, obtains the second distance.
6. according to the method described in claim 1, wherein, the method further includes:
Judge that described second after adjustment distance spells whether phonetic notation word is located at end of line position or row tail position;
If it is not, then spell phonetic notation word using described second spells phonetic notation word as new first, phonetic notation word will be spelled with described second
Adjacent spelling phonetic notation word spells phonetic notation word as new second, returns to the first adjacent spelling phonetic notation word and second of the acquisition
The step of spelling phonetic notation word continues to execute;
Continue to hold if so, directly returning to described the step of obtaining adjacent the first spelling phonetic notation word and the second spelling phonetic notation word
Row.
7. a kind of display device of electronic book data, including:
Acquisition module spells phonetic notation word and the second spelling phonetic notation word, wherein spelling phonetic notation word includes for obtaining adjacent first
The spelling phonetic notation of word and word;
Determining module, the first spelling phonetic notation region for determining the first spelling phonetic notation word and the first character area, and, second spells
The second of phonetic notation word spells phonetic notation region and the second character area;
Adjust module, including apart from comparison module, apart from selecting module and apart from adjustment module;
Wherein, apart from comparison module be used for by described first spell phonetic notation region and second spell the first distance between phonetic notation region with
Second distance between first character area and the second character area is compared;
Apart from selecting module, for selecting distance smaller in first distance and the second distance according to comparison result;
Apart from adjustment module, for being spelled between phonetic notation word and the second spelling phonetic notation word according to the distance of selection adjustment described first
Distance.
8. device according to claim 7, wherein the determining module, including:
First area determining module spells the coordinate information of phonetic notation position for being spelled in phonetic notation word according to first, determines the
One spells phonetic notation region;It is spelled in phonetic notation word according to first, the coordinate information of word position determines the first character area;
And
Second area determining module spells the coordinate information of phonetic notation position for being spelled in phonetic notation word according to second, determines the
Two spell phonetic notation region;It is spelled in phonetic notation word according to second, the coordinate information of word position determines the second character area.
9. device according to claim 7, wherein the distance adjustment module, including:
Region adjusts module, and phonetic notation region and the second character area are spelled to institute for spelling the second of phonetic notation word by described second
State the distance of the first spelling phonetic notation character motion selection.
10. device according to claim 7, wherein the distance adjustment module, including:
Difference calculating module, the difference of the distance and predetermined interval for calculating selection;
Difference adjusts module, is spelled between phonetic notation word and the second spelling phonetic notation word for adjusting described first according to the difference
Distance.
11. device according to claim 7, wherein described device further includes:
Apart from acquisition module, for it is described apart from comparison module will described first spell phonetic notation region and the second spelling phonetic notation region it
Between the first distance be compared with the second distance between first character area and the second character area before, will be described
The minimum abscissa information in the second spelling phonetic notation region subtracts the described first maximum abscissa information for spelling phonetic notation region, alternatively, will
The maximum ordinate information in second spelling phonetic notation region subtracts the described first minimum ordinate information for spelling phonetic notation region, obtains
The minimum abscissa information of second character area is subtracted the horizontal seat of maximum of first character area by first distance
Information is marked, is sat alternatively, the minimum that the maximum ordinate information of second character area is subtracted to first character area is vertical
Information is marked, the second distance is obtained.
12. device according to claim 7, wherein described device further includes:
Judgment module, for judging whether the second spelling phonetic notation word after adjustment distance is located at end of line position or row tail position
It sets;
Execution module, if not being located at end of line position or row tail position for adjusting the second spelling phonetic notation word after,
Phonetic notation word is spelled using described second and spells phonetic notation word as new first, by the spelling phonetic notation adjacent with the second spelling phonetic notation word
Word spells phonetic notation word as new second, is continued to execute into the acquisition module;If described second after adjustment distance spells
Phonetic notation word is located at end of line position or row tail position, then is directly entered the acquisition module and continues to execute.
13. a kind of terminal device, including:Processor, memory, communication interface and communication bus, the processor, the storage
Device and the communication interface complete mutual communication by the communication bus;
The memory makes the processor execute as right is wanted for storing an at least executable instruction, the executable instruction
Ask the corresponding operation of display methods of 1-6 any one of them electronic book datas.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611155964.9A CN106598934B (en) | 2016-12-14 | 2016-12-14 | Display methods, device and the terminal device of electronic book data |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611155964.9A CN106598934B (en) | 2016-12-14 | 2016-12-14 | Display methods, device and the terminal device of electronic book data |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106598934A CN106598934A (en) | 2017-04-26 |
CN106598934B true CN106598934B (en) | 2018-09-14 |
Family
ID=58801419
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611155964.9A Active CN106598934B (en) | 2016-12-14 | 2016-12-14 | Display methods, device and the terminal device of electronic book data |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106598934B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107783956B (en) * | 2017-11-23 | 2019-03-15 | 掌阅科技股份有限公司 | Composition method, electronic equipment and the computer storage medium of text information |
CN109117463B (en) * | 2018-07-26 | 2019-11-22 | 掌阅科技股份有限公司 | Text pinyin marking method, electronic equipment, storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0222759A (en) * | 1988-07-11 | 1990-01-25 | Sharp Corp | Chinese-language sentence preparing device |
CN103136186A (en) * | 2011-12-05 | 2013-06-05 | 北大方正集团有限公司 | Method and device of pinyin type setting |
CN103150300A (en) * | 2011-12-06 | 2013-06-12 | 北大方正集团有限公司 | Pinyin typesetting method and device |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7865817B2 (en) * | 2006-12-29 | 2011-01-04 | Amazon Technologies, Inc. | Invariant referencing in digital works |
-
2016
- 2016-12-14 CN CN201611155964.9A patent/CN106598934B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0222759A (en) * | 1988-07-11 | 1990-01-25 | Sharp Corp | Chinese-language sentence preparing device |
CN103136186A (en) * | 2011-12-05 | 2013-06-05 | 北大方正集团有限公司 | Method and device of pinyin type setting |
CN103150300A (en) * | 2011-12-06 | 2013-06-12 | 北大方正集团有限公司 | Pinyin typesetting method and device |
Also Published As
Publication number | Publication date |
---|---|
CN106598934A (en) | 2017-04-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10699166B2 (en) | Font attributes for font recognition and similarity | |
US10467508B2 (en) | Font recognition using text localization | |
US9824304B2 (en) | Determination of font similarity | |
CN110069767B (en) | Typesetting method based on electronic book, electronic equipment and computer storage medium | |
US20200151444A1 (en) | Table Layout Determination Using A Machine Learning System | |
KR102107887B1 (en) | Method and apparatus for generating a composite image | |
TWI475406B (en) | Contextual input method | |
US11341322B2 (en) | Table detection in spreadsheet | |
US11880382B2 (en) | Systems and methods for generating tables from print-ready digital source documents | |
US7492366B2 (en) | Method and system of character placement in opentype fonts | |
US11080464B2 (en) | Correction techniques of overlapping digital glyphs | |
CN101350068A (en) | Display control apparatus and display control method | |
CN104808903B (en) | Text selection method and device | |
US8386943B2 (en) | Method for query based on layout information | |
CN110263616A (en) | A kind of character recognition method, device, electronic equipment and storage medium | |
CN111062365B (en) | Method, apparatus, chip circuit and computer readable storage medium for recognizing mixed typeset text | |
US20160283786A1 (en) | Image processor, image processing method, and non-transitory recording medium | |
CN106598934B (en) | Display methods, device and the terminal device of electronic book data | |
JP2015049618A (en) | Handwritten document processing device, handwritten document processing method, and handwritten document processing program | |
US9582476B2 (en) | Image processing device | |
CN114419632A (en) | OCR training sample generation method, device and system | |
CN106776527B (en) | Electronic book data display method and device and terminal equipment | |
CN111144395A (en) | Method and device for rapidly inversely labeling characters and graphs based on Cadence skip | |
CN116311300A (en) | Table generation method, apparatus, electronic device and storage medium | |
KR101651842B1 (en) | Method and device for generating layout of 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 |