CN107679022A - Uncommon word processing method and its system - Google Patents

Uncommon word processing method and its system Download PDF

Info

Publication number
CN107679022A
CN107679022A CN201710804827.1A CN201710804827A CN107679022A CN 107679022 A CN107679022 A CN 107679022A CN 201710804827 A CN201710804827 A CN 201710804827A CN 107679022 A CN107679022 A CN 107679022A
Authority
CN
China
Prior art keywords
rarely used
font
document
word
target font
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.)
Pending
Application number
CN201710804827.1A
Other languages
Chinese (zh)
Inventor
莫文
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Jingdong Century Trading Co Ltd
Beijing Jingdong Shangke Information Technology Co Ltd
Original Assignee
Beijing Jingdong Century Trading Co Ltd
Beijing Jingdong Shangke Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Jingdong Century Trading Co Ltd, Beijing Jingdong Shangke Information Technology Co Ltd filed Critical Beijing Jingdong Century Trading Co Ltd
Priority to CN201710804827.1A priority Critical patent/CN107679022A/en
Publication of CN107679022A publication Critical patent/CN107679022A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/103Formatting, i.e. changing of presentation of documents
    • G06F40/109Font handling; Temporal or kinetic typography

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)
  • Document Processing Apparatus (AREA)

Abstract

Present disclose provides a kind of uncommon word processing method, this method includes:Font corresponding with rarely used word is inquired about from least one font file, obtains target font, wherein, rarely used word is included in the first document;Create the target font file for including target font;And target font file is embedded in the second document so that with target word body display rarely used word during typing rarely used word in the second document.The disclosure additionally provides a kind of uncommon word processing system, computer-readable recording medium and computer system.

Description

Uncommon word processing method and its system
Technical field
This disclosure relates to field of computer technology, more particularly, to a kind of uncommon word processing method and its system.
Background technology
With the development of science and technology, the function on intelligent terminal is more and more, and people can be convenient to use intelligent end End obtains substantial amounts of information.Therefore, increasing document is required for being converted into digital document, so that user can be fast and effective Ground obtains bulk information.
However, during present inventive concept is realized, inventor has found that at least there are the following problems in the prior art:Text Part rarely used word in shelves often be present, correlation technique can cause document to hold when being embedded in the font file comprising rarely used word in a document Measure excessive.
The content of the invention
In view of this, present disclose provides a kind of for handling the uncommon word processing method of rarely used word in document and its being System.
An aspect of this disclosure provides a kind of uncommon word processing method, including:Looked into from least one font file Font corresponding with rarely used word is ask, obtains target font, wherein, above-mentioned rarely used word is included in the first document;Establishment includes The target font file of above-mentioned target font;And above-mentioned target font file is embedded in the second document so that above-mentioned the With the above-mentioned above-mentioned rarely used word of target word body display during the above-mentioned rarely used word of typing in two documents.
In accordance with an embodiment of the present disclosure, font corresponding with rarely used word is being inquired about from least one font file, obtained Before target font, the above method also includes:Obtain the above-mentioned rarely used word included in above-mentioned first document;And obtain with it is above-mentioned Character corresponding to rarely used word, wherein, above-mentioned character is used for inquiry and above-mentioned rarely used word pair from above-mentioned at least one font file The font answered.
In accordance with an embodiment of the present disclosure, create and include the target font file of above-mentioned target font and include:Obtain with it is upper The related information of character corresponding to rarely used word is stated, above-mentioned related information is used to indicate pair rarely used word corresponding with above-mentioned target font It is shown;And the target font text for including above-mentioned target font is created according to above-mentioned target font and above-mentioned related information Part.
In accordance with an embodiment of the present disclosure, before establishment includes the target font file of above-mentioned target font, above-mentioned side Method also includes:Whether all rarely used words for judging to include in above-mentioned first document have all inquired corresponding target font;And In the case that all rarely used words included in above-mentioned first document have all inquired corresponding target font, according to above-mentioned target Font creates the target font file for including above-mentioned target font.
In accordance with an embodiment of the present disclosure, the above method also includes:The part rarely used word included in above-mentioned first document is still In the case of not inquiring corresponding target font, continue to inquire about above-mentioned at least one font file until in above-mentioned first document Comprising all rarely used words all inquire corresponding target font untill.
In accordance with an embodiment of the present disclosure, after above-mentioned target font file is embedded in the second document, the above method is also Including:Preserve above-mentioned second document;And/or above-mentioned second document of displaying.
Another aspect of the disclosure provides a kind of uncommon word processing system, including:Enquiry module, for from least one Font corresponding with rarely used word is inquired about in individual font file, obtains target font, wherein, above-mentioned rarely used word is included in the first document In;First creation module, the target font file of above-mentioned target font is included for creating;And module is embedded in, for inciting somebody to action Above-mentioned target font file is embedded in the second document so that in above-mentioned second document during typing above-mentioned rarely used word displaying with it is above-mentioned Above-mentioned target font corresponding to rarely used word.
In accordance with an embodiment of the present disclosure, said system also includes:First acquisition module, for literary from least one font Font corresponding with rarely used word is inquired about in part, before obtaining target font, is included in above-mentioned first document of acquisition above-mentioned uncommon Word;And second acquisition module, for obtaining character corresponding with above-mentioned rarely used word, wherein, above-mentioned character is for from least one Font corresponding with above-mentioned rarely used word is inquired about in individual font file.
In accordance with an embodiment of the present disclosure, above-mentioned first creation module includes:Acquiring unit, for obtaining and above-mentioned rarely used word The related information of corresponding character, above-mentioned related information are used to indicate that a pair rarely used word corresponding with above-mentioned target font is opened up Show;And creating unit, for including the mesh of above-mentioned target font according to above-mentioned target font and the establishment of above-mentioned related information Mark font file.
In accordance with an embodiment of the present disclosure, said system also includes:Judge module, for including above-mentioned target word in establishment Before the target font file of body, whether all rarely used words for judging to include in above-mentioned first document have all inquired corresponding mesh Marking-up body;And second creation module, all rarely used words for being included in above-mentioned first document have all inquired accordingly In the case of target font, the target font file for including above-mentioned target font is created according to above-mentioned target font.
In accordance with an embodiment of the present disclosure, above-mentioned enquiry module is additionally operable to the part rarely used word included in above-mentioned first document In the case of not yet inquiring corresponding target font, continue to inquire about at least one font file until wrapping in above-mentioned first document Untill all rarely used words contained all inquire corresponding target font.
In accordance with an embodiment of the present disclosure, said system also includes:Preserving module, for above-mentioned target font file is embedding After entering in the second document, above-mentioned second document is preserved;And/or display module, for showing above-mentioned second document.
Another aspect of the present disclosure provides a kind of computer-readable recording medium, is stored thereon with executable instruction, should The described uncommon word processing method that instruction makes processor realize any of the above-described when being executed by processor.
Another aspect of the present disclosure provides a kind of computer system, including:One or more processors;Memory, use In storing one or more programs, wherein, when said one or multiple programs are by said one or multiple computing devices, make Obtain said one or multiple processors realize the described uncommon word processing method of any of the above-described.
Another aspect of the present disclosure provides a kind of computer program, and above computer program includes the executable finger of computer Order, above-mentioned instruction are used to realize uncommon word processing method as described above when executed.
In accordance with an embodiment of the present disclosure, the corresponding font of the rarely used word in document is carried from least one font file Take out, and create the font file for including the font corresponding with rarely used word, due to being removed in the font file of the new establishment Comprising outside the font corresponding with rarely used word, not comprising other fonts, or only comprising a small amount of other fonts unlike this, phase Pass technology for rarely used word create font file, only by it is existing and include font corresponding to rarely used word font file it is embedding Enter document, it is multiple that font file as one side generally requires insertion, on the other hand these font files except include with Outside the corresponding font of rarely used word, typically can also include other a large amount of fonts, thus document be embedded in it is past after these font files Toward capacity can be caused excessive, by contrast, the embodiment of the present disclosure at least partially overcomes embedded font file in correlation technique The excessive technical problem of document capacity afterwards, and then improve the technique effect of user reading experience.
Brief description of the drawings
By the description to the embodiment of the present disclosure referring to the drawings, the above-mentioned and other purposes of the disclosure, feature and Advantage will be apparent from, in the accompanying drawings:
Fig. 1 diagrammatically illustrates the example that can apply uncommon word processing method and its system according to the embodiment of the present disclosure Sexual system framework;
Fig. 2 diagrammatically illustrates the flow chart of the uncommon word processing method according to the embodiment of the present disclosure;
Fig. 3 A diagrammatically illustrate the flow chart of the uncommon word processing method according to another embodiment of the disclosure;
Fig. 3 B diagrammatically illustrate the target font file for including target font according to the establishment of the embodiment of the present disclosure Flow chart;
Fig. 3 C diagrammatically illustrate the flow chart of the uncommon word processing method according to another embodiment of the disclosure;
Fig. 3 D diagrammatically illustrate the flow chart of the uncommon word processing method according to another embodiment of the disclosure;
Fig. 4 diagrammatically illustrates the block diagram of the uncommon word processing system according to the embodiment of the present disclosure;
Fig. 5 A diagrammatically illustrate the block diagram of the uncommon word processing system according to another embodiment of the disclosure;
Fig. 5 B diagrammatically illustrate the block diagram of the first creation module according to the embodiment of the present disclosure;
Fig. 5 C diagrammatically illustrate the block diagram of the uncommon word processing system according to another embodiment of the disclosure;
Fig. 5 D diagrammatically illustrate the block diagram of the uncommon word processing system according to another embodiment of the disclosure;And
Fig. 6 is diagrammatically illustrated according to the computer system for being adapted for carrying out uncommon word processing method of the embodiment of the present disclosure Block diagram.
Embodiment
Hereinafter, it will be described with reference to the accompanying drawings embodiment of the disclosure.However, it should be understood that these descriptions are simply exemplary , and it is not intended to limit the scope of the present disclosure.In addition, in the following description, the description to known features and technology is eliminated, with Avoid unnecessarily obscuring the concept of the disclosure.
Term as used herein is not intended to limit the disclosure just for the sake of description specific embodiment.Used here as Word " one ", " one (kind) " and "the" etc. should also include " multiple ", the meaning of " a variety of ", unless context clearly refers in addition Go out.In addition, term " comprising " as used herein, "comprising" etc. indicate the presence of the feature, step, operation and/or part, But it is not excluded that in the presence of or other one or more features of addition, step, operation or parts.
All terms (including technology and scientific terminology) as used herein have what those skilled in the art were generally understood Implication, unless otherwise defined.It should be noted that term used herein should be interpreted that with consistent with the context of this specification Implication, without should by idealization or it is excessively mechanical in a manner of explain.
Embodiment of the disclosure provides a kind of uncommon word processing method and its system for being used to handle rarely used word in document. This method includes inquiring about font corresponding with rarely used word from least one font file, obtains target font, wherein, rarely used word Included in the first document;Create the target font file for including target font;And target font file is embedded in second In document so that with target word body display rarely used word during typing rarely used word in the second document.
Fig. 1 diagrammatically illustrates the example that can apply uncommon word processing method and its system according to the embodiment of the present disclosure Sexual system framework.
As shown in figure 1, terminal device 101,102,103, network can be included according to the system architecture 100 of the embodiment 104 and server 105.Network 104 is to the offer communication link between terminal device 101,102,103 and server 105 Medium.Network 104 can include various connection types, such as wired, wireless communication link or fiber optic cables etc..
User can be interacted with using terminal equipment 101,102,103 by network 104 with server 105, to receive or send out Send message etc..Various telecommunication customer end applications can be installed on terminal device 101,102,103, such as read class application, net (merely illustrative) such as the application of page browsing device, searching class application, JICQ, mailbox client, social platform softwares.
Terminal device 101,102,103 can have a display screen and a various electronic equipments that supported web page browses, bag Include but be not limited to smart mobile phone, tablet personal computer, pocket computer on knee and desktop computer etc..
Server 105 can be to provide the server of various services, such as utilize terminal device 101,102,103 to user The website browsed provides the back-stage management server (merely illustrative) supported.Back-stage management server can be to the use that receives The data such as family request analyze etc. processing, and by result (such as according to user's acquisition request or the webpage of generation, believe Breath or data etc.) feed back to terminal device.
It should be noted that the uncommon word processing method that the embodiment of the present disclosure is provided can typically be held by server 105 OK.Correspondingly, the uncommon word processing system that the embodiment of the present disclosure is provided can be typically arranged in server 105.The disclosure The uncommon word processing method that embodiment is provided can also by different from server 105 and can with terminal device 101,102, 103 and/or server 105 communicate server or server cluster perform.Correspondingly, what the embodiment of the present disclosure was provided is uncommon Word processing system can also be arranged at different from server 105 and can be with terminal device 101,102,103 and/or server In the server or server cluster of 105 communications.Or the uncommon word processing method that is provided of the embodiment of the present disclosure can also be by Terminal device 101,102 or 103 performs, or can also be by being set different from the other-end of terminal device 101,102 or 103 It is standby to perform.Correspondingly, the uncommon word processing system that the embodiment of the present disclosure is provided can also be arranged at terminal device 101,102, Or in 103, or be arranged in the other-end equipment different from terminal device 101,102 or 103.
For example, the font file of font is corresponded to comprising rarely used word can be stored in terminal device 101,102 or 103 originally In any one (for example, terminal device 101, but not limited to this) among, or be stored on External memory equipment and can be with It imported into terminal device 101.Then, terminal device 101 can be performed locally the rarely used word that the embodiment of the present disclosure is provided Processing method, or the font file that font is corresponded to comprising rarely used word is sent to other-end equipment, server or server Cluster, and by receive comprising rarely used word correspond to font font file other-end equipment, server or server cluster Lai Perform the uncommon word processing method that the embodiment of the present disclosure is provided.
It should be understood that the number of the terminal device, network and server in Fig. 1 is only schematical.According to realizing need Will, can have any number of terminal device, network and server.
Fig. 2 diagrammatically illustrates the flow chart of the uncommon word processing method according to the embodiment of the present disclosure.
As shown in Fig. 2 this method includes operation S201~S203, wherein:
In operation S201, font corresponding with rarely used word is inquired about from least one font file, obtains target font, its In, rarely used word is included in the first document.
In operation S202, the target font file for including target font is created.
In operation S203, target font file is embedded in the second document so that in the second document during typing rarely used word With target word body display rarely used word.
In accordance with an embodiment of the present disclosure, at least one rarely used word is included in the first document, may be included in font file The font corresponding to rarely used word in one or more first documents may also not include in font file, it is necessary to explanation The font corresponding to rarely used word in first document.Therefore, it is necessary to be inquired about from least one font file corresponding with rarely used word Font.In the case of the font corresponding to all rarely used words in the first document is included in one font file of presence, then The font file only can need to be inquired about so as to obtain the font corresponding to all rarely used words in the first document.
In accordance with an embodiment of the present disclosure, after the font corresponding to the rarely used word in obtaining the first document, that is, target is obtained After font, the target font file for including the target font is created, only target font can be included in the target font file.Separately Outside, in the case where not causing target font file size excessive, the other fonts in part can be added.
In accordance with an embodiment of the present disclosure, in order to which with target word body display, this is uncommon during typing rarely used word in the second document Word, target font file can be embedded into the second document.
By embodiment of the disclosure, the corresponding font of the rarely used word in document is carried from least one font file Take out, and create and include the font file of the font corresponding with rarely used word, due in the font file of the new establishment except Outside comprising the font corresponding with rarely used word, not comprising other fonts, or only comprising a small amount of other fonts, unlike this, phase Pass technology for rarely used word create font file, only by it is existing and include font corresponding to rarely used word font file it is embedding Enter document, it is multiple that font file as one side generally requires insertion, on the other hand these font files except include with Outside the corresponding font of rarely used word, typically can also include other a large amount of fonts, thus document be embedded in it is past after these font files Toward capacity can be caused excessive, the embodiment of the present disclosure is at least partially overcomed in correlation technique after embedded font file by contrast Document capacity excessive technical problem, and then improve the technique effect of user's reading experience.
Below with reference to Fig. 3 A~Fig. 3 D, the method shown in Fig. 2 is described further in conjunction with specific embodiments.
Fig. 3 A diagrammatically illustrate the flow chart of the uncommon word processing method according to another embodiment of the disclosure.In the implementation In example, in addition to above with reference to operation S201~S203 described in Fig. 2, in addition to operation S301 and S302, in order to describe For purpose of brevity, eliminate with reference to operation S201~S203 described in figure 2.
As shown in Figure 3A, font corresponding with rarely used word is being inquired about from least one font file, is obtaining target font Before, this method includes operation S301 and S302, wherein:
In operation S301, the rarely used word included in the first document is obtained.
In operation S302, character corresponding with rarely used word is obtained, wherein, character is used to look into from least one font file Ask font corresponding with rarely used word.
In accordance with an embodiment of the present disclosure, obtain the method for rarely used word included in the first document have it is a variety of, for example, manually will Current document is found out in the character that conventional font can not be handled and/or shown.Or will be current by the program that designs a calculating machine Document is found out in the character that conventional font set (also known as conventional font file) can not be handled and/or shown.Need what is illustrated It is that conventional font set can define according to actual conditions.
In accordance with an embodiment of the present disclosure, after the rarely used word included in obtaining the first document, obtain corresponding with rarely used word Character, character can be used for inquiring about font corresponding with rarely used word from least one font file.
In accordance with an embodiment of the present disclosure, by obtaining rarely used word from document, and the character corresponding with rarely used word is obtained, And then for inquiring about the font corresponding with rarely used word, the effect for reducing document amount of capacity is reached, has saved document storage Memory space in the electronic device.
Fig. 3 B diagrammatically illustrate the target font file for including target font according to the establishment of the embodiment of the present disclosure Flow chart.
As shown in Figure 3 B, create include the target font target font file can include operation S401 and S402, wherein:
In operation S401, the related information of character corresponding with rarely used word is obtained, related information is for instruction pair and target Rarely used word is shown corresponding to font.
In operation S402, the target font file for including target font is created according to target font and related information.
In accordance with an embodiment of the present disclosure, related information can be polar plot, wherein, character corresponding with rarely used word is in font In can be a polar plot, the information such as coordinate position residing for character can be included in font, can be indicated according to related information Displaying rarely used word corresponding with target font.The target font obtained according to inquiry and the related information obtained, which can create, to be included There is the target font file of target font.
Fig. 3 C diagrammatically illustrate the flow chart of the uncommon word processing method according to another embodiment of the disclosure.In the implementation Example in, in addition to above with reference to operation S201~S203 described in Fig. 2, this method can also include operation S501~ S503, for description for purpose of brevity, eliminate with reference to operation S201~S203 described in figure 2.
As shown in Figure 3 C, this method can also include operation S501~S503, wherein:
In operation S501, whether all rarely used words for judging to include in the first document have all inquired corresponding target word Body;
In operation S502, all rarely used words included in the first document have all inquired the situation of corresponding target font Under, the target font file for including target font is created according to target font.
In operation S503, the part rarely used word included in the first document not yet inquires the situation of corresponding target font Under, continue to inquire about at least one font file until all rarely used words included in the first document all inquire corresponding target word Untill body.
In accordance with an embodiment of the present disclosure, the target font that inquiry obtains can be organized into a list, according in document The number of rarely used word be ranked up, it is associated with corresponding rarely used word that obtained target font will be inquired about.Judge the list In whether contain the target fonts of all rarely used words.If all rarely used words included in document have all inquired corresponding mesh During marking-up body, terminate inquiry work, the target font file for including target font is created according to the target font inquired.Such as When the part rarely used word included in fruit document not yet inquires corresponding target font, continue to take rarely used word, inquiry and rarely used word Corresponding target font, untill all rarely used words included in document all inquire corresponding target font.
In accordance with an embodiment of the present disclosure, the target font corresponding to all rarely used words is obtained by inquiry, by target word Body creates target font file, and then is embedded into document so that the rarely used word in document can access displaying, reach It is not in the effect of scarce word in reading.
Fig. 3 D diagrammatically illustrate the flow chart of the uncommon word processing method according to another embodiment of the disclosure.In the implementation Example in, in addition to above with reference to operation S201~S203 described in Fig. 2, this method can also include operation S204 and/or S205, for description for purpose of brevity, eliminate with reference to operation S201~S203 described in figure 2.
As shown in Figure 3 D, after target font file is embedded in the second document, this method can also include operation S204 and S205, wherein:
In operation S204, the second document is preserved.
In operation S205, the second document is shown.
In accordance with an embodiment of the present disclosure, can be new by what is obtained after target font file is embedded in the second document Document is preserved, so as to which the new document is used for multiple times.By the way that target font file is embedded in the second document, in the new text of displaying During shelves, the rarely used word in original text shelves is obtained for displaying so that is equivalently employed without rarely used word when showing new document.
Fig. 4 diagrammatically illustrates the block diagram of the uncommon word processing system according to the embodiment of the present disclosure.
As shown in figure 4, uncommon word processing system 400 includes enquiry module 410, the first creation module 420 and embedded module 430.Wherein:
Enquiry module 410 is used to inquire about font corresponding with rarely used word from least one font file, obtains target word Body, wherein, rarely used word is included in the first document.
First creation module 420 is used to create the target font file for including target font.
Embedded module 430 is used to target font file being embedded in the second document so that typing is uncommon in the second document Displaying target font corresponding with rarely used word during word.
In accordance with an embodiment of the present disclosure, the corresponding font of the rarely used word in document is carried from least one font file Take out, and create the font file for including the font corresponding with rarely used word, due to being removed in the font file of the new establishment Comprising outside the font corresponding with rarely used word, not comprising other fonts, or only comprising a small number of other fonts, unlike this, Correlation technique does not create font file for rarely used word, only will be existing and include the font file of font corresponding to rarely used word Embedded document, font file as one side generally require that insertion is multiple, and on the other hand these font files are except including Outside the font corresponding with rarely used word, it typically can also include other a large amount of fonts, thus after document is embedded in these font files It is excessive to frequently can lead to capacity, the embodiment of the present disclosure at least partially overcomes embedded font file in correlation technique by contrast The excessive technical problem of document capacity afterwards, and then improve the technique effect of user reading experience.
Fig. 5 A diagrammatically illustrate the block diagram of the uncommon word processing system according to another embodiment of the disclosure.
As shown in Figure 5A, uncommon word processing system 400 is except including enquiry module 410, the first creation module 420 and insertion Outside module 430, the first acquisition module 440 and the second acquisition module 450 can also be included.Enquiry module 410, first creates mould The same previous embodiment of description of block 420 and embedded module 430, will not be repeated here.Wherein:
First acquisition module 440 is used to inquire about font corresponding with rarely used word from least one font file, obtains Before target font, the rarely used word included in the first document is obtained.
Second acquisition module 450 is used to obtain character corresponding with rarely used word, wherein, character is used for from least one font Font corresponding with rarely used word is inquired about in file.
In accordance with an embodiment of the present disclosure, by obtaining rarely used word from document, and the character corresponding with rarely used word is obtained, And then for inquiring about the font corresponding with rarely used word, the effect for reducing document amount of capacity is reached, has saved document storage Memory space in the electronic device.
Fig. 5 B diagrammatically illustrate the block diagram of the first creation module according to the embodiment of the present disclosure.
As shown in Figure 5 B, the first creation module 420 can include acquiring unit 4201 and creating unit 4202.Wherein:
Acquiring unit 4201 is used for the related information for obtaining corresponding with rarely used word character, related information be used to indicating pair and Rarely used word corresponding to target font is shown.
Creating unit 4202 is used to create the target font text for including target font according to target font and related information Part.
In accordance with an embodiment of the present disclosure, related information can be polar plot, wherein, character corresponding with rarely used word is in font In can be a polar plot, the information such as coordinate position residing for character can be included in font, can be indicated according to related information Displaying rarely used word corresponding with target font.The target font obtained according to inquiry and the related information obtained, which can create, to be included There is the target font file of target font.
Fig. 5 C diagrammatically illustrate the block diagram of the uncommon word processing system according to another embodiment of the disclosure.
As shown in Figure 5 C, uncommon word processing system 400 is except including enquiry module 410, the first creation module 420 and insertion Outside module 430, the creation module 470 of judge module 460 and second can also be included.First creation module 420 and embedded module The 430 same previous embodiment of description, will not be repeated here.Wherein:
Judge module 460 is used for before establishment includes the target font file of target font, judges in the first document Comprising all rarely used words whether all inquired corresponding target font.
All rarely used words that second creation module 470 is used to include in the first document have all inquired corresponding target word In the case of body, the target font file for including target font is created according to target font.
In accordance with an embodiment of the present disclosure, enquiry module 410 is additionally operable to the part rarely used word included in the first document not yet In the case of inquiring corresponding target font, continue to inquire about at least one font file until what is included in the first document is all Untill rarely used word all inquires corresponding target font.
In accordance with an embodiment of the present disclosure, the target font corresponding to all rarely used words is obtained by inquiry, by target word Body creates target font file, and then is embedded into document so that the rarely used word in document can access displaying, reach It is not in the effect of scarce word in reading.
Fig. 5 D diagrammatically illustrate the block diagram of the uncommon word processing system according to another embodiment of the disclosure.
As shown in Figure 5 D, uncommon word processing system 400 is except including enquiry module 410, the first creation module 420 and insertion Outside module 430, preserving module 480 and/or display module 490 can also be included.Enquiry module 410, the first creation module 420 With the same previous embodiment of description of embedded module 430, will not be repeated here.Wherein:
Preserving module 480 is used for after target font file is embedded in the second document, preserves the second document.
Display module 490 is used to show the second document.
In accordance with an embodiment of the present disclosure, can be new by what is obtained after target font file is embedded in the second document Document is preserved, so as to which the new document is used for multiple times.By the way that target font file is embedded in the second document, in the new text of displaying During shelves, the rarely used word in original text shelves is obtained for displaying so that is equivalently employed without rarely used word when showing new document.
It should be noted that in embodiment of the disclosure uncommon word processing system part with it is uncommon in embodiment of the disclosure Word processing method part is corresponding, and the description of rarely used word components of system as directed is with specific reference to uncommon word processing method part, herein Repeat no more.
Fig. 6 is diagrammatically illustrated according to the computer system for being adapted for carrying out uncommon word processing method of the embodiment of the present disclosure Block diagram.Computer system shown in Fig. 6 is only an example, and the function and use range of the embodiment of the present disclosure should not be brought Any restrictions.
As shown in fig. 6, including processor 601 according to the computer system 600 of the embodiment of the present disclosure, it can be according to storage Program in read-only storage (ROM) 602 is loaded into random access storage device (RAM) 603 from storage part 608 Program and perform various appropriate actions and processing.Processor 601 can for example include general purpose microprocessor (such as CPU), refer to Make set processor and/or related chip group and/or special microprocessor (for example, application specific integrated circuit (ASIC)), etc..Processing Device 610 can also include being used for the onboard storage device for caching purposes.Processor 610 can include being used to perform with reference to figure 2, Fig. 3 A Single treatment unit either multiple processing of the different actions of the method flow according to the embodiment of the present disclosure of~Fig. 3 D descriptions Unit.
In RAM 603, it is stored with computer system 600 and operates required various programs and data.Processor 601, ROM 602 and RAM 603 is connected with each other by bus 604.Processor 601 is by performing the journey in ROM 602 and/or RAM 603 The various operations of description that sequence is performed above with reference to figure ....It is noted that described program can also be stored in except the Hes of ROM 602 In one or more memories beyond RAM 603.Processor 601 can also be stored in one or more of deposit by performing Program in reservoir performs the various operations described above with reference to Fig. 2, Fig. 3 A~Fig. 3 D.
In accordance with an embodiment of the present disclosure, computer system 600 can also include input/output (I/O) interface 606, input/ Output (I/O) interface 606 is also connected to bus 604.Computer system 600 can also include being connected to the following of I/O interfaces 606 It is one or more in part:Importation 606 including keyboard, mouse etc.;Including such as cathode-ray tube (CRT), liquid crystal The output par, c 607 of display (LCD) etc. and loudspeaker etc.;Storage part 608 including hard disk etc.;And including such as The communications portion 609 of the NIC of LAN card, modem etc..Communications portion 609 is held via the network of such as internet Row communication process.Driver 610 is also according to needing to be connected to I/O interfaces 606.Detachable media 611, such as disk, CD, magnetic CD, semiconductor memory etc., it is arranged on as needed on driver 610, in order to the computer program read from it Storage part 608 is mounted into as needed.
In accordance with an embodiment of the present disclosure, it may be implemented as computer software journey above with reference to the method for flow chart description Sequence.For example, embodiment of the disclosure includes a kind of computer program product, it includes carrying meter on a computer-readable medium Calculation machine program, the computer program include the program code for being used for the method shown in execution flow chart.In such embodiments, The computer program can be downloaded and installed by communications portion 609 from network, and/or be pacified from detachable media 611 Dress.When the computer program is performed by processor 601, the above-mentioned function of being limited in the system of the embodiment of the present disclosure is performed.Root According to embodiment of the disclosure, system as described above, unit, module, unit etc. can by computer program module come Realize.
It should be noted that the computer-readable medium shown in the disclosure can be computer-readable signal media or meter Calculation machine readable storage medium storing program for executing either the two any combination.Computer-readable recording medium for example can be --- but not Be limited to --- electricity, magnetic, optical, electromagnetic, system, device or the device of infrared ray or semiconductor, or it is any more than combination.Meter The more specifically example of calculation machine readable storage medium storing program for executing can include but is not limited to:Electrical connection with one or more wires, just Take formula computer disk, hard disk, random access storage device (RAM), read-only storage (ROM), erasable type and may be programmed read-only storage Device (EPROM or flash memory), optical fiber, portable compact disc read-only storage (CD-ROM), light storage device, magnetic memory device, Or above-mentioned any appropriate combination.In the disclosure, computer-readable recording medium can any include or store journey The tangible medium of sequence, the program can be commanded the either device use or in connection of execution system, device.And at this In open, computer-readable signal media can be included in a base band or the data-signal as carrier wave part propagation, Wherein carry computer-readable program code.The data-signal of this propagation can take various forms, including but unlimited In electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be that computer can Any computer-readable medium beyond storage medium is read, the computer-readable medium, which can send, propagates or transmit, to be used for By instruction execution system, device either device use or program in connection.Included on computer-readable medium Program code can be transmitted with any appropriate medium, be included but is not limited to:Wirelessly, electric wire, optical cable, RF etc., or it is above-mentioned Any appropriate combination.In accordance with an embodiment of the present disclosure, computer-readable medium can include above-described ROM 602 And/or one or more memories beyond RAM 603 and/or ROM 602 and RAM 603.
Flow chart and block diagram in accompanying drawing, it is illustrated that according to the system of the various embodiments of the disclosure, method and computer journey Architectural framework in the cards, function and the operation of sequence product.At this point, each square frame in flow chart or block diagram can generation The part of one module of table, program segment or code, a part for above-mentioned module, program segment or code include one or more For realizing the executable instruction of defined logic function.It should also be noted that some as replace realization in, institute in square frame The function of mark can also be with different from the order marked in accompanying drawing generation.For example, two square frames succeedingly represented are actual On can perform substantially in parallel, electricity can perform in the opposite order sometimes for they, and this is depending on involved function.Also It is noted that the combination of each square frame and block diagram in block diagram or flow chart or the square frame in flow chart, can use and perform rule Fixed function or the special hardware based system of operation are realized, or can use the group of specialized hardware and computer instruction Close to realize.
As on the other hand, the disclosure additionally provides a kind of computer-readable medium, and the computer-readable medium can be Included in computer equipment described in above-described embodiment;Can also be individualism, and without supplying computer equipment In.Above computer computer-readable recording medium carries one or more program, when said one or multiple programs by one this set During standby execution so that the computer equipment performs:Font corresponding with rarely used word is inquired about from least one font file, is obtained Target font, wherein, rarely used word is included in the first document, creates the target font file for including target font, and will Target font file is embedded in the second document so that with target word body display rarely used word during typing rarely used word in the second document. Alternatively, font corresponding with rarely used word, before obtaining target font, the above method are being inquired about from least one font file Also include obtaining the rarely used word that includes in the first document, and obtain character corresponding with rarely used word, wherein, character for Inquiry font corresponding with rarely used word in a few font file.Alternatively, the target font text for including target font is created Part includes the related information for obtaining character corresponding with rarely used word, and it is corresponding with target font uncommon that related information is used for instruction pair Word is shown, and the target font file for including target font is created according to target font and related information.Alternatively, creating Build before the target font file for including target font, the above method also includes judging to include in the first document all uncommon Whether word has all inquired corresponding target font, and all rarely used words included in the first document have all inquired accordingly Target font in the case of, created according to target font and include the target font file of target font.Alternatively, above-mentioned side Method is additionally included in the case that the part rarely used word included in the first document not yet inquires corresponding target font, continues to inquire about At least one font file is untill all rarely used words included in the first document all inquire corresponding target font.It is optional Ground, after target font file is embedded in the second document, the above method also includes preserving the second document, and/or exhibition Show the second document.
Another aspect of the present disclosure provides a kind of computer system, including one or more processors, memory, is used for One or more programs are stored, wherein, when one or more programs are executed by one or more processors so that one or more Individual processor realizes the uncommon word processing method of as above any one.
Another aspect of the present disclosure provides a kind of computer program, and computer program includes computer executable instructions, The instruction is used to realize above-mentioned method when executed.
Embodiment of the disclosure is described above.But the purpose that these embodiments are merely to illustrate that, and It is not intended to limit the scope of the present disclosure.Although respectively describing each embodiment more than, but it is not intended that each reality Use can not be advantageously combined by applying the measure in example.The scope of the present disclosure is defined by the appended claims and the equivalents thereof.Do not take off From the scope of the present disclosure, those skilled in the art can make a variety of alternatives and modifications, and these alternatives and modifications should all fall at this Within scope of disclosure.

Claims (14)

1. a kind of uncommon word processing method, including:
Font corresponding with rarely used word is inquired about from least one font file, obtains target font, wherein, the rarely used word bag It is contained in the first document;
Create the target font file for including the target font;And
The target font file is embedded in the second document so that with institute during rarely used word described in typing in second document State rarely used word described in target word body display.
2. according to the method for claim 1, wherein, word corresponding with rarely used word is being inquired about from least one font file Body, before obtaining target font, methods described also includes:
Obtain the rarely used word included in first document;And
Character corresponding with the rarely used word is obtained, wherein, the character is used to inquire about from least one font file Font corresponding with the rarely used word.
3. according to the method for claim 2, wherein, the target font file that establishment includes the target font includes:
The related information of character corresponding with the rarely used word is obtained, the related information is used for instruction pair and the target font Corresponding rarely used word is shown;And
The target font file for including the target font is created according to the target font and the related information.
4. according to the method for claim 1, wherein, create include the target font target font file it Before, methods described also includes:
Whether all rarely used words for judging to include in first document have all inquired corresponding target font;And
In the case that all rarely used words included in first document have all inquired corresponding target font, according to described Target font creates the target font file for including the target font.
5. according to the method for claim 4, wherein, methods described also includes:
In the case that the part rarely used word included in first document not yet inquires corresponding target font, continue to inquire about At least one font file is until all rarely used words included in first document all inquire corresponding target font Untill.
6. the method according to claim 11, wherein, after the target font file is embedded in the second document, institute Stating method also includes:
Preserve second document;And/or
Show second document.
7. a kind of uncommon word processing system, including:
Enquiry module, for inquiring about font corresponding with rarely used word from least one font file, target font is obtained, its In, the rarely used word is included in the first document;
First creation module, the target font file of the target font is included for creating;And
Embedded module, for the target font file to be embedded in the second document so that the typing institute in second document The displaying target font corresponding with rarely used word when stating rarely used word.
8. system according to claim 7, wherein, the system also includes:
First acquisition module, for inquiring about font corresponding with rarely used word from least one font file, obtain target word Before body, the rarely used word included in first document is obtained;And
Second acquisition module, for obtaining character corresponding with the rarely used word, wherein, the character is used for from least one word Font corresponding with the rarely used word is inquired about in body file.
9. system according to claim 8, wherein, first creation module includes:
Acquiring unit, for obtaining the related information of character corresponding with the rarely used word, the related information is used for instruction pair Rarely used word corresponding with the target font is shown;And
Creating unit, the target word of the target font is included for being created according to the target font and the related information Body file.
10. system according to claim 7, wherein, the system also includes:
Judge module, for before establishment includes the target font file of the target font, judging first document In all rarely used words for including whether all inquired corresponding target font;And
Second creation module, all rarely used words for being included in first document have all inquired corresponding target font In the case of, the target font file for including the target font is created according to the target font.
11. system according to claim 10, wherein, the enquiry module is additionally operable to what is included in first document In the case that part rarely used word not yet inquires corresponding target font, continue to inquire about at least one font file until described the Untill all rarely used words included in one document all inquire corresponding target font.
12. system according to claim 7, wherein, the system also includes:
Preserving module, for after the target font file is embedded in the second document, preserving second document;With And/or person
Display module, for showing second document.
13. a kind of computer-readable medium, is stored thereon with executable instruction, the instruction makes processor real when being executed by processor Uncommon word processing method any one of existing claim 1 to 6.
14. a kind of computer system, including:
One or more processors;
Memory, for storing one or more programs,
Wherein, when one or more of programs are by one or more of computing devices so that one or more of Processor realizes the uncommon word processing method any one of claim 1 to 6.
CN201710804827.1A 2017-09-07 2017-09-07 Uncommon word processing method and its system Pending CN107679022A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710804827.1A CN107679022A (en) 2017-09-07 2017-09-07 Uncommon word processing method and its system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710804827.1A CN107679022A (en) 2017-09-07 2017-09-07 Uncommon word processing method and its system

Publications (1)

Publication Number Publication Date
CN107679022A true CN107679022A (en) 2018-02-09

Family

ID=61136279

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710804827.1A Pending CN107679022A (en) 2017-09-07 2017-09-07 Uncommon word processing method and its system

Country Status (1)

Country Link
CN (1) CN107679022A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110362790A (en) * 2019-06-13 2019-10-22 北京三快在线科技有限公司 Processing method, device, electronic equipment and the readable storage medium storing program for executing of font file
CN110728115A (en) * 2018-07-17 2020-01-24 珠海金山办公软件有限公司 Disordered code identification method and device for document content and electronic equipment
CN113536734A (en) * 2021-07-06 2021-10-22 上海浩霖汇信息科技有限公司 Rarely-used word standardization processing method and system and related products
CN113850050A (en) * 2020-06-28 2021-12-28 荣耀终端有限公司 Character display method, character display device and terminal equipment
CN116339898A (en) * 2023-05-26 2023-06-27 福昕鲲鹏(北京)信息科技有限公司 Page content display method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5812863A (en) * 1993-09-24 1998-09-22 Matsushita Electric Ind. Apparatus for correcting misspelling and incorrect usage of word
CN102053949A (en) * 2009-11-04 2011-05-11 北大方正集团有限公司 Method and device for processing uncommon words
CN104424163A (en) * 2013-08-29 2015-03-18 北大方正集团有限公司 Word processing method and system
CN106033453A (en) * 2015-03-17 2016-10-19 北大方正集团有限公司 Character embedding method, character embedding system, browser and client

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5812863A (en) * 1993-09-24 1998-09-22 Matsushita Electric Ind. Apparatus for correcting misspelling and incorrect usage of word
CN102053949A (en) * 2009-11-04 2011-05-11 北大方正集团有限公司 Method and device for processing uncommon words
CN104424163A (en) * 2013-08-29 2015-03-18 北大方正集团有限公司 Word processing method and system
CN106033453A (en) * 2015-03-17 2016-10-19 北大方正集团有限公司 Character embedding method, character embedding system, browser and client

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
石增泉主编: "《字体设计》", 30 September 2013, 人民美术出版社 *

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110728115A (en) * 2018-07-17 2020-01-24 珠海金山办公软件有限公司 Disordered code identification method and device for document content and electronic equipment
CN110728115B (en) * 2018-07-17 2024-01-26 珠海金山办公软件有限公司 Document content messy code identification method and device and electronic equipment
CN110362790A (en) * 2019-06-13 2019-10-22 北京三快在线科技有限公司 Processing method, device, electronic equipment and the readable storage medium storing program for executing of font file
CN110362790B (en) * 2019-06-13 2023-10-27 北京三快在线科技有限公司 Font file processing method and device, electronic equipment and readable storage medium
CN113850050A (en) * 2020-06-28 2021-12-28 荣耀终端有限公司 Character display method, character display device and terminal equipment
WO2022001408A1 (en) * 2020-06-28 2022-01-06 荣耀终端有限公司 Character display method, character display apparatus, and terminal device
CN113536734A (en) * 2021-07-06 2021-10-22 上海浩霖汇信息科技有限公司 Rarely-used word standardization processing method and system and related products
CN113536734B (en) * 2021-07-06 2023-03-24 上海浩霖汇信息科技有限公司 Rarely-used word standardization processing method and system and related products
CN116339898A (en) * 2023-05-26 2023-06-27 福昕鲲鹏(北京)信息科技有限公司 Page content display method and device
CN116339898B (en) * 2023-05-26 2023-08-22 福昕鲲鹏(北京)信息科技有限公司 Page content display method and device

Similar Documents

Publication Publication Date Title
CN107679022A (en) Uncommon word processing method and its system
CN108804450B (en) Information pushing method and device
CN105022750B (en) Resource file loading method and device
CN110096660B (en) Method and device for loading page pictures and electronic equipment
CN107066609A (en) Image display method and device
CN107844371A (en) Task processing method, system and electronic equipment
CN106294658A (en) The quick methods of exhibiting of webpage and device
CN107844324A (en) Customer terminal webpage redirects treating method and apparatus
CN107315646B (en) Method and device for controlling data flow between page components
CN104243273A (en) Method and device for displaying information on instant messaging client and information display system
CN107656768A (en) Control the method and its system of page jump
US20140095579A1 (en) System and method for increasing web site serving performance
CN106919711A (en) The method and apparatus of the markup information based on artificial intelligence
CN107766492A (en) A kind of method and apparatus of picture search
CN109992406A (en) The method and client that picture requesting method, response picture are requested
CN110020329A (en) For generating the methods, devices and systems of webpage
CN107656911A (en) Form processing method and its system
CN107908662A (en) The implementation method and realization device of search system
CN113382083A (en) Webpage screenshot method and device
CN109272526A (en) Image processing method, system and electronic equipment
CN110941401A (en) Printing method and device
CN107678755A (en) Method, apparatus, electronic equipment and the computer-readable medium of installation kit packing
CN107515947A (en) picture loading method and its system
CN107291923A (en) Information processing method and device
CN110647327A (en) Method and device for dynamic control of user interface based on card

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20180209

RJ01 Rejection of invention patent application after publication