WO2018196607A1 - 一种文本信息展示方法及装置 - Google Patents

一种文本信息展示方法及装置 Download PDF

Info

Publication number
WO2018196607A1
WO2018196607A1 PCT/CN2018/082569 CN2018082569W WO2018196607A1 WO 2018196607 A1 WO2018196607 A1 WO 2018196607A1 CN 2018082569 W CN2018082569 W CN 2018082569W WO 2018196607 A1 WO2018196607 A1 WO 2018196607A1
Authority
WO
WIPO (PCT)
Prior art keywords
information
text
display form
text display
feature
Prior art date
Application number
PCT/CN2018/082569
Other languages
English (en)
French (fr)
Inventor
周显
Original Assignee
北京金山办公软件股份有限公司
珠海金山办公软件有限公司
广州金山移动科技有限公司
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 北京金山办公软件股份有限公司, 珠海金山办公软件有限公司, 广州金山移动科技有限公司 filed Critical 北京金山办公软件股份有限公司
Priority to JP2019557425A priority Critical patent/JP7116744B2/ja
Priority to EP18791089.8A priority patent/EP3617910A4/en
Priority to US16/607,071 priority patent/US20200210640A1/en
Publication of WO2018196607A1 publication Critical patent/WO2018196607A1/zh

Links

Images

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/106Display of layout of documents; Previewing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/189Automatic justification
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/20Drawing from basic elements, e.g. lines or circles
    • G06T11/206Drawing of charts or graphs
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/30Semantic analysis

Definitions

  • the present application relates to the field of word processing technology, and in particular, to a text information display method and apparatus.
  • a text can be directly displayed; the text can be displayed in the form of a title or a project number; the text information can be displayed in the form of a chart; the text information can be displayed in the form of a mind map, and the like.
  • the text display form when the text display form is selected, the text information is not created, so the text display form selected by the user before the text information is created may not be suitable for the text information to be created, and the user may need to repeat the selection of the text display form and
  • the creation of text information reduces the efficiency of creating text information and reduces the user experience.
  • the purpose of the embodiment of the present application is to provide a text information display method and apparatus, so as to implement an appropriate text display form according to the already created text information, and display the text information in the text display form, thereby improving the creation of the text information.
  • Efficiency and user experience are as follows:
  • the embodiment of the present application provides a text information display method, including:
  • the information content is presented using a textual presentation that matches the information characteristics.
  • the information feature includes a behavior type and/or a structure type, where the behavior type is a chronological action type described by the original text information, and the structure type is described by the original text information.
  • the structural form of information is a behavior type and/or a structure type, where the behavior type is a chronological action type described by the original text information, and the structure type is described by the original text information.
  • the step of displaying the information content by using a text display form that matches the information feature includes:
  • the selection instruction including the target text display form
  • the information content is displayed using the target text display form.
  • the method further includes:
  • the method further includes:
  • the embodiment of the present application further provides a text information display apparatus, including:
  • An extraction module configured to extract, by a semantic analysis algorithm, an information feature and an information content of the original text information, where the information feature is a category of information described by the original text information, and the information content is the original text information The specific content of the information described;
  • a presentation module for using a text presentation that matches the information characteristics.
  • the information feature includes a behavior type and/or a structure type, where the behavior type is a chronological action type described by the original text information, and the structure type is described by the original text information.
  • the structural form of the specific content is a behavior type and/or a structure type, where the behavior type is a chronological action type described by the original text information, and the structure type is described by the original text information.
  • the display module is specifically configured to:
  • the device further includes:
  • a recording module configured to record a correspondence between the information feature and the target text display form.
  • the device further includes:
  • a selecting unit configured to: if a correspondence between the plurality of the information features and the text display form is recorded, select, from the text display form corresponding to the information feature, a text display form with the highest number of records as the information feature Match text display form storage.
  • an embodiment of the present application further provides an electronic device, including a processor and a memory, where the memory is used to store a computer program, and the processor is configured to execute the stored on the memory.
  • the program implements the steps of the above text information display method.
  • an embodiment of the present application further provides a machine readable storage medium, where the computer readable storage medium stores a computer program, and the computer program is executed by the processor to implement the text information display method step.
  • the embodiment of the present application further provides a computer program, where the computer program is executed by the processor, and the text information display method step.
  • a text information display method and device extracts information features and information content from text information, selects a text display form that matches the information feature, and displays the information in the text information in the text display form.
  • the content avoids the problem that the selected text display form is not suitable for the text information before the text information is created, thereby improving the efficiency and user experience of creating the text information, and displaying the text information through the text display form matching the information feature.
  • Improve the expressiveness of textual information are possible.
  • implementing any of the products or methods of the present application necessarily does not necessarily require all of the advantages described above to be achieved at the same time.
  • FIG. 1 is a flowchart of a text information display method according to an embodiment of the present application
  • FIG. 2 is a schematic diagram of a text display form of a corresponding travel arrangement provided by an embodiment of the present application
  • FIG. 3 is a schematic diagram of structured data provided by an embodiment of the present application.
  • FIG. 4 is a schematic diagram of a text display form of a corresponding tree structure provided by an embodiment of the present application.
  • FIG. 5 is a structural diagram of a text information display apparatus according to an embodiment of the present application.
  • FIG. 6 is a structural diagram of an electronic device according to an embodiment of the present application.
  • the embodiment of the present application provides a text information display method and apparatus.
  • the present application will be described in detail below through specific embodiments.
  • FIG. 1 is a flowchart of a text information display method according to an embodiment of the present application.
  • the method can be applied to electronic devices such as mobile phones, computers or other terminal devices with data processing capabilities.
  • the text information display method includes:
  • Step 101 Acquire original text information.
  • the original text information may be text information already existing on the electronic device, or may be text information being created on the electronic device, or may be text information stored in the storage device.
  • text information there are many formats for text information, such as TXT format, Word format, and so on.
  • any text format that can be recognized by the electronic device can be applied to the embodiment of the present application.
  • the original text information may be a piece of text or a plurality of paragraphs of text.
  • the specific typesetting format is not limited herein.
  • the manner in which the electronic device obtains the original text information may be various, for example, the original text information that the user has input or is input may be acquired, and the existing original text information may be directly obtained from the storage device.
  • Step 102 Extract the information feature and the information content of the original text information by using a semantic analysis algorithm.
  • the information feature is the category of the information described by the original text information, and the information content is the specific content of the information described by the original text information.
  • the original text information is acquired, the original text information is semantically analyzed through a semantic analysis algorithm, and the information features and information content are extracted from the original text information.
  • the original text information can be regarded as a collection of words. By arranging the words in a certain order, it is possible to describe specific things, behaviors, relationships between things, or other abstract concepts.
  • the information feature is the type of information described by the original textual information.
  • the original text information f1 is: "To go to A to travel tomorrow, fly to city B first, then go to city C to play, then take the bus to city D, it is estimated that one day is full.”
  • the semantic analysis process is used to perform semantic analysis processing on the original text information f1, and it can be determined that the category of the information described by the original text information f1 is a travel arrangement.
  • a plurality of information features such as travel arrangements, logical derivation processes, organizational structures, statistical data, and the like, may be preset.
  • the semantic analysis algorithm is used to perform semantic analysis on the original text information, and the category of the information described by the original text information can be determined as one of a plurality of preset information features, thereby extracting information from the original text information. feature.
  • the information content is the specific core content of the information expressed by the original text information.
  • the information content may not include words that have no specific meaning such as conjunctions, modal particles, etc. used in the original document information. Still use the above example as an example.
  • the information content of the original text information f1 can be: "Travel to A”, “Fly to City B”, “Go to City C to play”, “Go to City D” and "It is estimated that one day is full”.
  • the semantic analysis algorithm can be implemented by software or hardware or a combination of software and hardware. By analyzing the meaning of the text in the original text information and the connection relationship between the texts, the information characteristics and information content of the original text information can be obtained.
  • the semantic analysis algorithm used in the embodiment of the present application may be a probabilistic latent semantic analysis (PLSA), a non-negative matrix factorization (NMF), or a Latent Dirichlet Allocation (LA). Probabilistic model) and so on. In the embodiment of the present application, selection may be made according to requirements, and details are not described herein.
  • step 103 the information content is displayed using a text display form that matches the information feature.
  • the text display form includes a typesetting form or a structural format of the text information content.
  • the text display form matching the information feature may be determined according to the information feature.
  • a corresponding identifier may be added to the text display form, and the identifier may represent different types of text display forms. Thereby, the matching with the information feature can be performed according to the identifier.
  • the information content of the extracted original file can be filled in the matched text display form, thereby realizing the information content displayed by the text display form.
  • FIG. 2 is a schematic diagram showing a text display form of a corresponding travel arrangement according to an embodiment of the present application.
  • the information content can also be converted into structured data that the electronic device can recognize.
  • the structured data can be represented by data or a unified structure, which is more conducive to displaying the information content in a text display form.
  • the electronic device can convert the information content into structured data that can be recognized by the electronic device, and then fill the structured data obtained after the conversion into a text display form that matches the information feature for display.
  • FIG. 3 is a schematic diagram of structured data provided by an embodiment of the present application.
  • the semantic analysis algorithm can extract the information feature and the information content from the acquired original text information, select a text display form that matches the information feature, and display the text information in the text display form.
  • the content of the information so as to avoid the problem that the selected text display form is not suitable for the text information before the text information is created, and the user is prevented from repeating the work.
  • the efficiency and user experience of creating text information are improved, and the text information can be displayed through a text display form that matches the information feature, thereby improving the expressive power of the text information.
  • the information feature may include a behavior type, and the behavior type is a chronological action type described by the original text information.
  • this type of information feature having a chronological action can be referred to as a behavior type.
  • the travel arrangement mentioned in the original text information f in the above example is a typical type of behavior.
  • using the text display form matching the information feature to display the information content may include:
  • the information feature extracted from the original file information is a behavior type
  • a text presentation form matching the behavior type is used to display the content having the behavior type in the information content extracted from the original file information.
  • the corresponding text display form can be matched by the behavior type, and one or more different text display forms can be preset for each behavior type, for example, for travel arrangement
  • This type of behavior can be preset in the form of text display such as itinerary or map navigation annotation; for the type of behavior of the conference arrangement, text display forms such as schedule or meeting schedule can be preset.
  • the text display form By matching the text display form with the behavior type, the text display form can be made more targeted, and the information content can be expressed more expressively.
  • the information feature may include a structure type, and the structure type is a structural form of information described by the original text information.
  • the information features may also be classified by the type of structure of the information described by the original text information.
  • the structure type of the information described by the original text information may be a tree structure, a one-dimensional flow structure, a one-dimensional tile structure, a two-dimensional structure, a three-dimensional structure, a multi-dimensional structure, and the like.
  • the structure type of the information described by the original text information may be regarded as a tree structure.
  • the structure type of the information described by the original text information may be considered as a one-dimensional streaming structure.
  • the structure type of the information described by the original text information can be considered as a one-dimensional tile structure.
  • the information described by the original text information has two dimensions of information, for example, when the information described by the original text information is 12 months of wage statistics. Then, the original text information has two dimensions of information content, which are the salary of the month and the corresponding month. Thus, the type of information structure described by the original text information can be considered as a two-dimensional structure.
  • displaying the information content by using a text display form that matches the information feature may include:
  • the information feature extracted from the original file information is a structure type
  • a text display form matching the structure type is used to display the content having the structure type in the information content extracted from the original file information.
  • Each type of structure can correspond to one or more text presentations.
  • the text display corresponding to the tree structure may be a multi-segment text with a bullet, a mind map, an organization chart, and the like.
  • the text display form corresponding to the one-dimensional flow structure may be a flowchart, a value chain diagram, an event chain diagram, and the like.
  • the text display form corresponding to the one-dimensional tile structure may be a Venn diagram.
  • the text display form corresponding to the two-dimensional structure may be a table.
  • the text display form corresponding to the three-dimensional structure may be a table perspective view.
  • the text display form corresponding to the multidimensional structure may be a UML (UML-Unified Model Language) diagram.
  • UML UML-Unified Model Language
  • the text display form matching the structure type can be determined, and the content information of the original text information is displayed using the text display form.
  • the original text information f2 is: “Company A has a marketing department, a production management department, and an administrative management department; where the marketing department has two sales offices and an investment management office, and the production management department has a technical department, an inspection department, and quality.
  • the management office is divided into three departments, and the technical department is divided into product group 1 and product group 2 according to the products it is responsible for.
  • the administrative department has a human resources department and a finance department.”
  • FIG. 4 is a schematic diagram of a text display form of a corresponding tree structure according to an embodiment of the present application.
  • the information content in the original text information f2 is displayed through the text display form of the organization chart. This makes it possible to more clearly express the specific content that the original text information f2 wants to express.
  • the structure type of the information described by the original text information is determined, and the text display form is matched according to the specific structure type, so that the matching accuracy is improved, and the matched text display form is more suitable for displaying the text information. Described information.
  • the information feature may include a behavior type and a structure type.
  • displaying the information content by using a text display form that matches the information feature may include:
  • the content of the structure has a structure type.
  • the text display form that matches the information feature is used to display the information content, including:
  • a set of text presentation forms that match the information features are determined from a plurality of preset text presentation forms.
  • a plurality of text display forms may be preset for each information feature. When a match is needed, it can be selected from a plurality of preset text display forms according to the information feature, thereby more quickly determining the text display form that matches the information feature.
  • an information feature can often match multiple text presentations. If the information feature matches multiple text display forms, the electronic device often cannot determine the optimal text display form. Therefore, multiple text display forms matching the information feature can be put into a text display form set, and the text display
  • the form set may include a plurality of text presentation forms that match the information features, or may include an identification of a plurality of text presentation forms that match the information features.
  • the second step is to display a collection of text presentations.
  • the electronic device After determining a set of text display forms consisting of multiple text presentation forms that match the information features, the electronic device displays the text display form set to the user, so that the user can select the most suitable one from the set of text display forms.
  • Text display form Here, the most suitable form of text display is the target text display form.
  • a selection instruction input by the user is received, and the selection instruction includes a target text display form.
  • the fourth step is to display the information content using the target text display form in the selection instruction.
  • the electronic device receives a selection instruction input by the user, and the selection instruction input by the user may be an operation signal of the user to the electronic device. For example, a mouse click or other selection method.
  • the electronic device can determine a target text display form that matches the information feature according to the user's operation. And use the text display form to display the information content of the original text information.
  • the user in the process of matching the text display form, the user can directly participate, which not only improves the accuracy of the matching, but also makes the final result more in line with the user's expectation, and further improves the user experience.
  • the method further includes:
  • Corresponding relationship between the information feature and the text display form is established according to the text display form selected by each user for the information feature.
  • the correspondence relationship between the plurality of information features and the text display form is recorded, and the text display form with the most recorded times is selected from the text display form corresponding to the information feature as the information feature.
  • the matching text display form is stored.
  • the electronic device can record the text display form selected by the user corresponding to the information feature. Thereby, the electronic device can record the selection result of a large amount of text display information selected by different users for the information feature.
  • the correspondence between the information features and the text display form can be established. For example, for one information feature, 90% of the users select the text display form A, and 10% of the users select the text display form B. Then, it can be considered that the text display form A is an optimal text display form for the information feature, so that the correspondence relationship between the information feature and the text display form A can be established.
  • Correspondence relationship refers to the relationship between the text display form and the information feature, which can be realized in the form of a table. See the comparison table between the text display form and the information feature shown in Table 1. The table can clearly record the correspondence between the text display form and the information feature.
  • the text content is displayed in a text display format that matches the information characteristics, including:
  • the correspondence relationship can be utilized to more quickly and accurately match the text display form matching the information features, and pass the text.
  • the presentation form shows the information content of the original text file. Therefore, the matching efficiency is further improved, and the corresponding relationship is obtained according to the selection result of a large number of users, so the matching result according to the corresponding relationship can be more consistent with the user's needs.
  • the electronic device can record the information feature and the text selected by the user after each time the user selects the text display form that is most suitable for the information feature from the plurality of text display forms that match the information feature.
  • the correspondence of the display forms can be
  • the text display form with the most recording times may be selected from the correspondence relationship between the recorded large number of information features and the text display form selected by the user, as the matching text display form of the information feature, and the selection is used.
  • FIG. 5 is a structural diagram of a text information display apparatus according to an embodiment of the present application, which includes:
  • the obtaining module 501 is configured to obtain original text information.
  • the extracting module 502 is configured to extract, by using a semantic analysis algorithm, an information feature and an information content of the original text information, where the information feature is a category of information described by the original text information, and the information content is the original text The specific content of the information described in the information;
  • the display module 503 is configured to display the information content by using a text display form that matches the information feature, and the text display form includes a typesetting form or a structural format of the text information content.
  • the semantic analysis algorithm can extract the information feature and the information content from the acquired original text information, select a text display form that matches the information feature, and display the text information in the text display form.
  • the information content thereby improving the efficiency and user experience of creating text information, and enabling text information to be displayed through text display forms that match the information characteristics, thereby improving the expressive power of text information.
  • the information feature extracted by the extraction module 502 includes a behavior type, and the behavior type is a chronological action described by the original text information.
  • the displaying module 503 is specifically configured to: display the information content having the behavior type by using a text display form that matches the behavior type.
  • the display module 503 is specifically configured to: display the information content by using a text display form that matches the behavior type.
  • the information feature extracted by the extraction module 502 includes a structure type, and the structure type is a structural form of the information described by the original text information;
  • the displaying module 503 is specifically configured to: display the information content having the structure type by using a text display form that matches the structure type.
  • the display module 503 is specifically configured to: display the information content by using a text display form that matches the structure type.
  • the display module 503 is specifically configured to:
  • the device further includes:
  • a recording module configured to record a text display form selected by each user for the information feature
  • Corresponding module configured to establish, according to the text display form selected by each user for the information feature, a correspondence between the information feature and the text display form;
  • the display module 503 can be specifically used to:
  • the device further includes:
  • a recording module configured to correspond to the information feature and the target text display form.
  • the device further includes:
  • a selecting unit configured to: if a correspondence between the plurality of the information features and the text display form is recorded, select, from the text display form corresponding to the information feature, a text display form with the highest number of records as the information feature Match text display form storage.
  • the device in the embodiment of the present application is a device applying the above text information display method, and all the embodiments of the text information display method are applicable to the device, and all of the same or similar beneficial effects can be achieved.
  • an embodiment of the present application further provides an electronic device, as shown in FIG. 6, including a processor 601 and a memory 602.
  • the memory 602 is configured to store a computer program
  • the processor 601 is configured to execute
  • the program stored in the memory 602 implements the text information display method shown in the above FIGS. 1-4.
  • the text information display method includes:
  • the information content is presented using a textual presentation that matches the information characteristics.
  • the semantic analysis algorithm can extract the information feature and the information content from the acquired original text information, select a text display form that matches the information feature, and display the text information in the text display form.
  • the information content thereby improving the efficiency and user experience of creating text information, and enabling text information to be displayed through text display forms that match the information characteristics, thereby improving the expressive power of text information.
  • the embodiment of the present application further provides a machine readable storage medium, where the computer readable storage medium stores a computer program, and when the computer program is executed by the processor, the foregoing FIG. 1-4 is implemented.
  • the text information display method shown. Specifically, the text information display method includes:
  • the information content is presented using a textual presentation that matches the information characteristics.
  • the semantic analysis algorithm can extract the information feature and the information content from the acquired original text information, select a text display form that matches the information feature, and display the text information in the text display form.
  • the information content thereby improving the efficiency and user experience of creating text information, and enabling text information to be displayed through text display forms that match the information characteristics, thereby improving the expressive power of text information.
  • the embodiment of the present application further provides a computer program, which is implemented by the processor to implement the text information display method shown in FIG.
  • the text information display method includes:
  • the information content is presented using a textual presentation that matches the information characteristics.
  • the semantic analysis algorithm can extract the information feature and the information content from the acquired original text information, select a text display form that matches the information feature, and display the text information in the text display form.
  • the information content thereby improving the efficiency and user experience of creating text information, and enabling text information to be displayed through text display forms that match the information characteristics, thereby improving the expressive power of text information.
  • the description is relatively simple, and the relevant parts refer to the description of the method embodiment. Just fine.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Artificial Intelligence (AREA)
  • Human Computer Interaction (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • User Interface Of Digital Computer (AREA)
  • Machine Translation (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

本申请实施例提供了一种文本信息展示方法及装置,该方法包括:获取原始文本信息;通过语义分析算法,提取所述原始文本信息的信息特征和信息内容,所述信息特征用于表征所述原始文本信息描述的内容的类别,所述信息内容为所述原始文本信息表达的信息的具体内容;使用与所述信息特征相匹配的文本展示形式,展示所述信息内容,所述文本展示形式包括文本信息内容的排版形式或结构格式;从而提高创建文本信息的效率和用户体验,并且使得文本信息能够通过优选的文本展示形式进行展示,提高了文本信息的表现力。

Description

一种文本信息展示方法及装置
本申请要求于2017年4月24日提交中国专利局、申请号为201710272598.3发明名称为“一种文本信息展示方法及装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及文字处理技术领域,特别是涉及一种文本信息展示方法及装置。
背景技术
随着各种终端设备技术及互联网技术的不断发展,人们可以在各种终端设备上记录各种各样的文本信息。例如,用户可以通过手机上的便签功能,记录各种文字信息;在电脑上创作文章等等。在终端设备上进行文本信息的展示,已经是终端设备不可或缺的功能。
文本展示形式有很多种。例如,可以直接展示一篇文字;可以通过标题或项目序号的形式展示这篇文字;可以通过图表的形式进行文本信息的展示;可以通过思维导图的形式进行文本信息的展示等等。
实际应用中,为了使文本信息更加具有表现力,易于理解,可以根据文本信息的内容选择不同的文本展示形式。目前,对文本信息进行展示时,需要先选择一种文本展示形式,然后按照所选择的文本展示形式创建文本信息。例如:用户可以选择图表或思维导图等展示形式来创建文本信息。这样,就可以按照所选择的文本展示形式展示文本信息。
可见,在选择文本展示形式时,文本信息没有被创建,所以用户在创建文本信息之前所选择的文本展示形式,并不一定适合所要创建的文本信息,用户可能需要重复进行文本展示形式的选择和文本信息的创建,降低了创建文本信息的效率,也降低了用户体验。
发明内容
本申请实施例的目的在于提供一种文本信息展示方法及装置,以实现根据已经创建的文本信息,选择出合适的文本展示形式,并以该文本展示形式进行文本信息的展示,提高创建文本信息的效率和用户体验。具体技术方案 如下:
为实现上述目的,本申请实施例提供了一种文本信息展示方法,包括:
获取原始文本信息;
通过语义分析算法,提取所述原始文本信息的信息特征和信息内容,所述信息特征为所述原始文本信息所描述的信息的类别,所述信息内容为所述原始文本信息所描述的信息的具体内容;
使用与所述信息特征相匹配的文本展示形式,展示所述信息内容。
可选的,所述信息特征包括行为类型和/或结构类型,所述行为类型为所述原始文本信息所描述的具有时间顺序的动作类型,所述结构类型为所述原始文本信息所描述的信息的结构形式。
可选的,所述使用与所述信息特征相匹配的文本展示形式,展示所述信息内容的步骤,包括:
从预设的多种文本展示形式中,确定与所述信息特征匹配的文本展示形式集合;
显示所述文本展示形式集合,以使用户从所述所述文本展示形式集合中选择目标文本展示形式;
接收所述用户输入的选择指令,所述选择指令包括所述目标文本展示形式;
使用所述目标文本展示形式,展示所述信息内容。
可选的,在使用所述目标文本展示形式,展示所述信息内容之后,所述方法还包括:
记录所述信息特征与所述目标文本展示形式的对应关系。
可选的,所述方法还包括:
若记录了多个所述信息特征与文本展示形式的对应关系,则从所述信息特征对应的文本展示形式中,选择记录次数最多的文本展示形式,作为所述信息特征的匹配文本展示形式存储。
为实现上述目的,本申请实施例还提供了一种文本信息展示装置,包括:
获取模块,用于获取原始文本信息;
提取模块,用于通过语义分析算法,提取所述原始文本信息的信息特征和信息内容,所述信息特征为所述原始文本信息所描述的信息的类别,所述信息内容为所述原始文本信息所描述的信息的具体内容;
展示模块,用于使用与所述信息特征相匹配的文本展示形式。
可选的,所述信息特征包括行为类型和/或结构类型,所述行为类型为所述原始文本信息所描述的具有时间顺序的动作类型,所述结构类型为所述原始文本信息所描述的具体内容的结构形式。
可选的,所述展示模块,具体用于:
从预设的多种文本展示形式中,确定与所述信息特征匹配的文本展示形式集合;显示所述文本展示形式集合,以使用户从所述所述文本展示形式集合中选择目标文本展示形式;接收所述用户输入的选择指令,所述选择指令包括所述目标文本展示形式;使用所述目标文本展示形式,展示所述信息内容。
可选的,所述装置还包括:
记录模块,用于记录所述信息特征与所述目标文本展示形式的对应关系。
可选的,所述装置还包括:
选择单元,用于若记录了多个所述信息特征与文本展示形式的对应关系,则从所述信息特征对应的文本展示形式中,选择记录次数最多的文本展示形式,作为所述信息特征的匹配文本展示形式存储。
为实现上述目的,本申请实施例还提供了一种电子设备,包括处理器和存储器;其中,所述存储器,用于存放计算机程序;所述处理器,用于执行所述存储器上所存放的程序,实现上述文本信息展示方法步骤。
为实现上述目的,本申请实施例还提供了一种机器可读存储介质,所述机器可读存储介质内存储有计算机程序,所述计算机程序被处理器执行时实 现上述文本信息展示方法步骤。
为实现上述目的,本申请实施例还提供了一种计算机程序,所述计算机程序被处理器执行时上述文本信息展示方法步骤。
本申请实施例提供的一种文本信息展示方法及装置,从文本信息中提取信息特征和信息内容,选择出与信息特征相匹配的文本展示形式,并以该文本展示形式展示文本信息中的信息内容,避免了在创建文本信息之前所选择的文本展示形式不适合该文本信息的问题,从而提高了创建文本信息的效率和用户体验,并且通过与信息特征相匹配的文本展示形式展示文本信息,提高了文本信息的表现力。当然,实施本申请的任一产品或方法必不一定需要同时达到以上所述的所有优点。
附图说明
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1为本申请实施例提供的文本信息展示方法的一种流程图;
图2为本申请实施例提供的对应出行安排的文本展示形式的一种示意图;
图3为本申请实施例提供的结构化数据的一种示意图;
图4为本申请实施例提供的对应树形结构的文本展示形式的一种示意图;
图5为本申请实施例提供的文本信息展示装置的一种结构图;
图6为本申请实施例提供的电子设备的一种结构图。
具体实施方式
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。
为了提高创建文本信息的效率和用户体验,本申请实施例提供了一种文 本信息展示方法及装置。下面通过具体实施例,对本申请进行详细说明。
参见图1,图1为本申请实施例提供的文本信息展示方法的一种流程图。该方法可以应用于手机、电脑或其他具有数据处理能力的终端设备等电子设备。该文本信息展示方法包括:
步骤101,获取原始文本信息。
原始文本信息可以是已经存在于电子设备上的文本信息,也可以是正在电子设备上创建的文本信息,还可以是存储设备中存储的文本信息。
文本信息的格式可以有很多种,例如TXT格式、Word格式等等。在本申请实施例中,只要是电子设备可以识别的文字格式都可以应用于本申请施例。原始文本信息可以是一段文字,也可以是多段文字,具体的排版形式在此不作限定。
电子设备获取原始文本信息的方式可以有很多种,例如,可以获取用户已经或正在输入的原始文本信息,还可以从存储设备中直接获取现有的原始文本信息。
步骤102,通过语义分析算法,提取原始文本信息的信息特征和信息内容。
信息特征为原始文本信息所描述的信息的类别,信息内容为原始文本信息所描述的信息的具体内容。
在获取了原始文本信息之后,通过语义分析算法,对该原始文本信息进行语义分析处理,从原始文本信息中提取信息特征和信息内容。
原始文本信息可以认为是文字的集合,通过将文字按一定规则顺序排列,从而能够描述具体事物、行为动作、事物之间的关系或者其他的抽象概念等内容。信息特征就是原始文本信息所描述的信息的类别。
例如,原始文本信息f1为:“明天要去A地旅游,先飞到城市B,然后再去城市C玩一下,然后坐车去城市D,估计一天时间就很满了”。通过语义分析算法,对该原始文本信息f1进行语义分析处理,可以确定出该原始文本信息f1所描述的信息的类别为出行安排。
本申请实施例中,可以预设多种信息特征,例如出行安排、逻辑推导过 程、组织结构、统计数据等等。通过语义分析算法,对原始文本信息进行语义分析处理,可以将原始文本信息所描述的信息的类别,确定为预设的多种信息特征中的一种,从而实现从原始文本信息中提取出信息特征。
信息内容为原始文本信息表达的信息的具体的核心内容。信息内容可以不包括原始本文信息中的用来连接语句的连词、语气词等没有具体含义的词语。仍以上面的例子为例进行说明。原始文本信息f1的信息内容可以为:“去A地旅游”、“飞到城市B”、“去城市C玩一下”、“坐车去城市D”以及“估计一天时间就很满了”。
语义分析算法可以通过软件或硬件或软硬件结合的方法进行实现,通过对原始文本信息中文字含义以及文字之间连接关系的分析,能够获得原始文本信息的信息特征和信息内容。本申请实施例中所采用的语义分析算法可以为PLSA(probabilistic latent semantic analysis,概率语义分析算法)、NMF(Non-negative Matrix Factorization,非负矩阵分解算法)或DA(Latent Dirichlet Allocation,贝叶斯概率模型)等等算法。本申请实施例中可以根据需要进行选择,在此不再进行赘述。
步骤103,使用与信息特征相匹配的文本展示形式,展示信息内容。
文本展示形式包括文本信息内容的排版形式或结构格式。
当获取了原始文本信息的信息特征和信息内容之后,就可以根据信息特征,确定出与该信息特征相匹配的文本展示形式。
本申请实施例中,可以为文本展示形式添加相应的标识,该标识可以表示文本展示形式的不同类型。从而可以根据该标识来进行与信息特征的匹配。
通过信息特征匹配出对应的文本展示形式后,就可以将所提取的原始文件的信息内容,填写进匹配出的文本展示形式中,进而实现通过该文本展示形式展示出信息内容。
仍以上面的例子为例进行说明。已经提取出原始文本信息f1的信息特征为出行安排。根据该出行安排,可以在预设的文本展示形式中进行匹配,并可以匹配出对应出行安排的文本展示形式。然后将已经提取出的原始文本信息f1的信息内容,填充至对应出行安排的文本展示形式中。填充信息内容后的文 本展示形式,如图2所示,图2为本申请实施例提供的对应出行安排的文本展示形式的一种示意图。
信息内容还可以被转换为电子设备可以识别的结构化数据,结构化数据能够用数据或统一的结构加以表示,更加有利于对将信息内容按文本展示形式进行展示。
也就是,电子设备可以将信息内容转换为电子设备可以识别的结构化数据,之后,将转换后获得的结构化数据填充至与信息特征相匹配的文本展示形式中进行展示。
仍以上面的例子为例进行说明。提取了原始文本信息f1中的信息内容后,可以将该信息内容转化为如图3所示的结构化数据。参见图3,图3为本申请实施例提供的结构化数据的一种示意图。
在本申请实施例中,通过语义分析算法,可以从所获取的原始文本信息中提取信息特征和信息内容,选择出与信息特征相匹配的文本展示形式,并以该文本展示形式展示文本信息中的信息内容,从而可以避免在创建文本信息之前所选择的文本展示形式不适合该文本信息的问题,避免了用户进行重复工作。进而提高了创建文本信息的效率和用户体验,并且使得文本信息能够通过与信息特征匹配的文本展示形式进行展示,提高了文本信息的表现力。
可选的,本申请实施例提供的文本信息展示方法中,信息特征可以包括行为类型,行为类型为原始文本信息所描述的具有时间顺序的动作类型。
在通过语义分析算法提取原始文本信息中的信息特征时,如果原始文本信息所描述的信息具有时间顺序的动作,则可以将具有时间顺序的动作的这一类型的信息特征称为行为类型。例如,上面例子中从原始文本信息f中所提到的出行安排就是一种典型的行为类型。
行为类型还可以有很多种,例如日程安排、会议议程等。
相应的,使用与信息特征相匹配的文本展示形式,展示信息内容,可以包括:
使用与行为类型相匹配的文本展示形式,展示具有行为类型的信息内容。
也就是,从原始文件信息中提取的信息特征为行为类型时,使用与行为类型相匹配的文本展示形式,展示从原始文件信息中提取的信息内容中具有行为类型的内容。
当原始文本信息中的信息特征为行为类型时,就可以通过行为类型来匹配对应的文本展示形式,可以针对每一行为类型预设一种或多种不同的文本展示形式,例如,针对出行安排这一行为类型,可以预设行程安排或地图导航标注等文本展示形式;针对会议安排这一行为类型,可以预设行程安排或会议进度表等文本展示形式。
通过行为类型匹配文本展示形式,可以使得文本展示形式更加具有针对性,可以更具表现力的表达出信息内容。
可选的,本申请实施例提供的文本信息展示方法中,信息特征可以包括结构类型,结构类型为原始文本信息所描述的信息的结构形式。
当原始文本信息所描述的信息不是具有时间顺序的动作时,信息特征还可以通过原始文本信息所描述的信息的结构类型来进行分类。
例如,原始文本信息所描述的信息的结构类型可以为树形结构、一维流式结构、一维平铺结构、二维结构、三维结构、多维结构等。
当原始文本信息描述的信息为组织关系结构、相互并列的条款或者逻辑推导过程等具有多分支结构的信息时,则原始文本信息所描述的信息的结构类型可以认为是树形结构。
当原始文本信息描述的信息为事物的流程等不具有分支结构的信息时,则原始文本信息所描述的信息的结构类型可以认为是一维流式结构。
当原始文本信息描述的信息具有相互包含或相互影响的结构时,例如描述的信息涉及交集、并集等概念时,则原始文本信息所描述的信息的结构类型可以认为是一维平铺结构。
当原始文本信息描述的信息存在两个维度的信息时,例如,当原始文本信息描述的信息为12个月的工资统计数据。则在该原始文本信息具有两个维度的信息内容,分别是月份和对应月份的工资。这样原始文本信息所描述的 信息结构类型可以认为是二维结构。
以此类推,三维结构、多维结构等结构类型与二维结构类似,再次不再进行详细说明。
上述所列举的结构类型不能穷尽所有的结构类型,在实际应用中可以根据需要定义或创建各种结构类型。
相应的,在本申请实施例中,使用与信息特征相匹配的文本展示形式,展示信息内容,可以包括:
使用与结构类型相匹配的文本展示形式,展示具有结构类型的信息内容。
也就是,从原始文件信息中提取的信息特征为结构类型时,使用与结构类型相匹配的文本展示形式,展示从原始文件信息中提取的信息内容中具有结构类型的内容。
每一种结构类型都可以对应一种或多种文本展示形式。例如,树形结构对应的文本展示形式可以为具有项目符号的多段式文字、思维导图以及组织结构图等。
一维流式结构对应的文本展示形式可以为流程图、价值链图、事件链图等。
一维平铺结构对应的文本展示形式可以为韦恩图。
二维结构对应的文本展示形式可以为表格。
三维结构对应的文本展示形式可以为表格透视图。
多维结构对应的文本展示形式可以为UML(UML-Unified Model Language,统一建模语言)图。
当确定了原始文本信息所描述的信息的结构类型后,就可以确定出与该结构类型所匹配的文本展示形式,并且使用该文本展示形式展示原始文本信息的内容信息。
例如,原始文本信息f2为:“公司A下设市场部、生产管理部、行政管理部;其中市场部下设销售处和投资管理处两个处室,生产管理部下设技术处、 检验处、质量管理处这三个处室,并且技术处根据所负责产品不同分为产品1组和产品2组,行政管理部下设人力资源处和财务处。”
通过语义分析算法,可以提取出该原始文本信息的信息内容和信息特征,并且可以确定出该原始文本信息的信息特征为树形结构的结构类型。并且可以根据该树形结构匹配出对应树形结构的文本展示形式,如组织结构图等,用该文本展示形式来进行原始文本信息的信息内容的展示。参见图4,图4为本申请实施例提供的对应树形结构的文本展示形式的一种示意图。
从图4中可以看出,原始文本信息f2中的信息内容通过组织结构图这一文本展示形式进行展示。使得可以更加清楚的表现出原始文本信息f2想要表述的具体内容。
在本申请实施例中,确定原始文本信息所描述的信息的结构类型,并对应具体的结构类型匹配文本展示形式,使得能够提高匹配的准确度,所匹配的文本展示形式更加适合展示文本信息所描述的信息。
可选的,本申请实施例提供的文本信息展示方法中,信息特征可以包括行为类型和结构类型。
相应的,在本申请实施例中,使用与信息特征相匹配的文本展示形式,展示信息内容,可以包括:
使用与行为类型相匹配的文本展示形式,展示具有行为类型的信息内容;
使用与结构类型相匹配的文本展示形式,展示具有结构类型的信息内容。
也就是,使用与行为类型相匹配的文本展示形式,展示从原始文件信息中提取的信息内容中具有行为类型的内容;使用与结构类型相匹配的文本展示形式,展示从原始文件信息中提取的信息内容中具有结构类型的内容。
可选的,本申请实施例提供的文本信息展示方法中,使用与信息特征相匹配的文本展示形式,展示信息内容,包括:
第一步,从预设的多种文本展示形式中,确定与信息特征匹配的文本展示形式集合。
本申请实施例中,可以针对每种信息特征,预设多种文本展示形式。当 需要进行匹配时,可以根据信息特征,从预设的多种文本展示形式中进行选择,从而更加快速的确定出与信息特征匹配的文本展示形式。
然而,在很多情况下,一个信息特征往往可以匹配多种文本展示形式。若信息特征与多个文本展示形式匹配,电子设备往往不能确定出最优的文本展示形式,所以,可以将与信息特征匹配的多种文本展示形式放入一个文本展示形式集合中,该文本展示形式集合中可以包括与信息特征匹配的多种文本展示形式,或者可以包括与信息特征相匹配的多种文本展示形式的标识。
第二步,显示文本展示形式集合。
当确定出与信息特征相匹配的多种文本展示形式所组成的文本展示形式集合后,电子设备向用户显示该文本展示形式集合,以使用户可以从该文本展示形式集合中选择出最为适合的文本展示形式。这里,最为适合的文本展示形式即为目标文本展示形式。
第三步,接收用户输入的选择指令,选择指令包括目标文本展示形式。
第四步,使用选择指令中的目标文本展示形式,展示信息内容。
当用户进行选择后,电子设备接收到用户输入的选择指令,用户输入的选择指令可以为用户对电子设备的操作信号。例如,鼠标的点击操作或者其他的选择方式。电子设备根据用户的操作,可以确定出与信息特征相匹配的目标文本展示形式。并使用该文本展示形式展示原始文本信息的信息内容。
在本申请实施例中,匹配文本展示形式的过程中,用户可以直接参与,不仅提高了匹配的准确性,同时可以使得最后的结果更加符合用户的期望,进一步提高了用户体验。
可选的,本申请实施例提供的文本信息展示方法中,使用选择指令中的文本展示形式,展示信息内容之后,该方法还包括:
记录每一个用户针对信息特征所选择的文本展示形式。
也就是,记录信息特征与所述目标文本展示形式的对应关系。
根据每一个用户针对信息特征所选择的文本展示形式,建立信息特征与文本展示形式的对应关系。
也就是,根据多个用户输入的选择指令,记录了多个信息特征与文本展示形式的对应关系,则从信息特征对应的文本展示形式中,选择记录次数最多的文本展示形式,作为该信息特征的匹配文本展示形式存储。
每一次用户从与信息特征相匹配的多种文本展示形式中选择了最适合该信息特征的文本展示形式后,电子设备都可以记录下对应该信息特征用户所选择的文本展示形式。从而电子设备可以记录下大量不同用户针对该信息特征所选择的文本展示信息的选择结果。
通过对大量数据的累积,可以建立信息特征与文本展示形式的对应关系,例如针对一种信息特征,有90%用户都选择了文本展示形式A,有10%的用户选择了文本展示形式B。则可以认为针对该信息特征,文本展示形式A为最优的文本展示形式,从而可以建立起该信息特征与文本展示形式A的对应关系。对应关系是指文本展示形式与信息特征的关系,可以通过表格的形式实现,参见表1所示的文本展示形式与信息特征的对照表。利用表格可以清楚的记录文本展示形式与信息特征间相互对应的情况。
表1
第一信息特征 第二信息特征 第三信息特征 第四信息特征
文本展示形式A 文本展示形式C 文本展示形式D 文本展示形式B
相应的,使用与信息特征相匹配的文本展示形式,展示信息内容,包括:
根据对应关系,确定与信息特征相匹配的文本展示形式。
使用与信息特征相匹配的文本展示形式,展示信息内容。
当通过大量用户的选择结果,确定出各种文本展示形式与不同的信息特征的对应关系后,就可以利用对应关系,更加迅速准确的匹配出与信息特征匹配的文本展示形式,并通过该文本展示形式展示原始文本文件的信息内容。从而更进一步的提高了匹配的效率,对应关系是根据大量用户的选择结果得到的,所以根据对应关系进行匹配的匹配结果,能够更加符合用户的需求。
在本申请的一个实施例中,每一次用户从与信息特征相匹配的多种文本展示形式中选择了最适合该信息特征的文本展示形式后,电子设备可以记录 下信息特征与用户选择的文本展示形式的对应关系。
当获取到其他原始文本信息时,可以从记录的大量信息特征与用户选择的文本展示形式的对应关系中,选择记录次数最多的文本展示形式,作为该信息特征的匹配文本展示形式,使用该选择的文本展示形式,展示从其他原始文本信息中提取的信息内容。
基于相同的发明构思,参见图5,图5为本申请实施例提供的文本信息展示装置的一种结构图,其中包括:
获取模块501,用于获取原始文本信息;
提取模块502,用于通过语义分析算法,提取所述原始文本信息的信息特征和信息内容,所述信息特征为所述原始文本信息所描述的信息的类别,所述信息内容为所述原始文本信息所描述的信息的具体内容;
展示模块503,用于使用与所述信息特征相匹配的文本展示形式,展示所述信息内容,所述文本展示形式包括文本信息内容的排版形式或结构格式。
在本申请实施例中,通过语义分析算法,可以从所获取的原始文本信息中提取信息特征和信息内容,选择出与信息特征相匹配的文本展示形式,并以该文本展示形式展示文本信息中的信息内容,从而提高了创建文本信息的效率和用户体验,并且使得文本信息能够通过与信息特征匹配的文本展示形式进行展示,提高了文本信息的表现力。
可选的,本申请实施例提供的文本信息展示装置中,所述提取模块502所提取的所述信息特征包括行为类型,所述行为类型为所述原始文本信息所描述的具有时间顺序的动作类型;
相应的,所述展示模块503,具体可以用于:使用与所述行为类型相匹配的文本展示形式,展示具有所述行为类型的信息内容。
也就是,展示模块503,具体可以用于:使用与所述行为类型相匹配的文本展示形式,展示所述信息内容。
可选的,本申请实施例提供的文本信息展示装置中,所述提取模块502所提取的所述信息特征包括结构类型,所述结构类型为所述原始文本信息所描 述的信息的结构形式;
相应的,所述展示模块503,具体可以用于:使用与所述结构类型相匹配的文本展示形式,展示具有所述结构类型的信息内容。
也就是,展示模块503,具体可以用于:使用与所述结构类型相匹配的文本展示形式,展示所述信息内容。
可选的,本申请实施例提供的文本信息展示装置中,所述展示模块503,具体用于:
从预设的多种文本展示形式中,确定与所述信息特征匹配的文本展示形式集合;显示所述文本展示形式集合,以使用户从所述所述文本展示集合中选择目标文本展示形式;接收用户输入的选择指令,所述选择指令包括所述目标文本展示形式;使用所述目标文本展示形式,展示所述信息内容。
可选的,本申请实施例提供的文本信息展示装置中,所述装置还包括:
记录模块,用于记录每一个用户针对所述信息特征所选择的文本展示形式;
对应模块,用于根据所述每一个用户针对所述信息特征所选择的文本展示形式,建立所述信息特征与所述文本展示形式的对应关系;
相应的,所述展示模块503,具体可以用于:
根据所述对应关系,确定与所述信息特征相匹配的文本展示形式;使用与所述信息特征相匹配的文本展示形式,展示所述信息内容。
可选的,本申请实施例提供的文本信息展示装置中,所述装置还包括:
记录模块,用于所述信息特征与所述目标文本展示形式的对应关系。
可选的,本申请实施例提供的文本信息展示装置中,所述装置还包括:
选择单元,用于若记录了多个所述信息特征与文本展示形式的对应关系,则从所述信息特征对应的文本展示形式中,选择记录次数最多的文本展示形式,作为所述信息特征的匹配文本展示形式存储。
本申请实施例的装置是应用上述文本信息展示方法的装置,则上述文本 信息展示方法的所有实施例均适用于该装置,且均能达到相同或相似的有益效果。
基于相同的发明构思,本申请实施例还提供了一种电子设备,如图6所示,包括处理器601和存储器602;其中,存储器602,用于存放计算机程序;处理器601,用于执行存储器602上所存放的程序,实现上述图1-4所示的文本信息展示方法。具体的,该文本信息展示方法包括:
获取原始文本信息;
通过语义分析算法,提取所述原始文本信息的信息特征和信息内容,所述信息特征为所述原始文本信息所描述的信息的类别,所述信息内容为所述原始文本信息所描述的信息的具体内容;
使用与所述信息特征相匹配的文本展示形式,展示所述信息内容。
在本申请实施例中,通过语义分析算法,可以从所获取的原始文本信息中提取信息特征和信息内容,选择出与信息特征相匹配的文本展示形式,并以该文本展示形式展示文本信息中的信息内容,从而提高了创建文本信息的效率和用户体验,并且使得文本信息能够通过与信息特征匹配的文本展示形式进行展示,提高了文本信息的表现力。
基于相同的发明构思,本申请实施例还提供了一种机器可读存储介质,所述机器可读存储介质内存储有计算机程序,所述计算机程序被处理器执行时实现上述图1-4所示的文本信息展示方法。具体的,该文本信息展示方法包括:
获取原始文本信息;
通过语义分析算法,提取所述原始文本信息的信息特征和信息内容,所述信息特征为所述原始文本信息所描述的信息的类别,所述信息内容为所述原始文本信息所描述的信息的具体内容;
使用与所述信息特征相匹配的文本展示形式,展示所述信息内容。
在本申请实施例中,通过语义分析算法,可以从所获取的原始文本信息中提取信息特征和信息内容,选择出与信息特征相匹配的文本展示形式,并 以该文本展示形式展示文本信息中的信息内容,从而提高了创建文本信息的效率和用户体验,并且使得文本信息能够通过与信息特征匹配的文本展示形式进行展示,提高了文本信息的表现力。
基于相同的发明构思,本申请实施例还提供了一种计算机程序,所述计算机程序被处理器执行时实现上述图1-4所示的文本信息展示方法。具体的,该文本信息展示方法包括:
获取原始文本信息;
通过语义分析算法,提取所述原始文本信息的信息特征和信息内容,所述信息特征为所述原始文本信息所描述的信息的类别,所述信息内容为所述原始文本信息所描述的信息的具体内容;
使用与所述信息特征相匹配的文本展示形式,展示所述信息内容。
在本申请实施例中,通过语义分析算法,可以从所获取的原始文本信息中提取信息特征和信息内容,选择出与信息特征相匹配的文本展示形式,并以该文本展示形式展示文本信息中的信息内容,从而提高了创建文本信息的效率和用户体验,并且使得文本信息能够通过与信息特征匹配的文本展示形式进行展示,提高了文本信息的表现力。
对于文本信息展示装置、电子设备、机器可读存储介质和计算机程序实施例而言,由于其基本相似于文本信息展示方法实施例,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。
需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。
本说明书中的各个实施例均采用相关的方式描述,各个实施例之间相同 相似的部分互相参见即可,每个实施例重点说明的都是与其他实施例的不同之处。尤其,对于文本信息展示装置、电子设备、机器可读存储介质和计算机程序实施例而言,由于其基本相似于文本信息展示方法实施例,所以描述的比较简单,相关之处参见图1-图4所示的文本信息展示方法实施例的部分说明即可。
以上所述仅为本申请的较佳实施例而已,并非用于限定本申请的保护范围。凡在本申请的精神和原则之内所作的任何修改、等同替换、改进等,均包含在本申请的保护范围内。

Claims (13)

  1. 一种文本信息展示方法,其特征在于,包括:
    获取原始文本信息;
    通过语义分析算法,提取所述原始文本信息的信息特征和信息内容,所述信息特征为所述原始文本信息所描述的信息的类别,所述信息内容为所述原始文本信息所描述的信息的具体内容;
    使用与所述信息特征相匹配的文本展示形式,展示所述信息内容。
  2. 根据权利要求1所述的方法,其特征在于,所述信息特征包括行为类型和/或结构类型,所述行为类型为所述原始文本信息所描述的具有时间顺序的动作类型,所述结构类型为所述原始文本信息所描述的信息的结构形式。
  3. 根据权利要求1或2所述的方法,其特征在于,所述使用与所述信息特征相匹配的文本展示形式,展示所述信息内容的步骤,包括:
    从预设的多种文本展示形式中,确定与所述信息特征匹配的文本展示形式集合;
    显示所述文本展示形式集合,以使用户从所述所述文本展示形式集合中选择目标文本展示形式;
    接收所述用户输入的选择指令,所述选择指令包括所述目标文本展示形式;
    使用所述目标文本展示形式,展示所述信息内容。
  4. 根据权利要求3所述的方法,其特征在于,在使用所述目标文本展示形式,展示所述信息内容之后,所述方法还包括:
    记录所述信息特征与所述目标文本展示形式的对应关系。
  5. 根据权利要求4所述的方法,其特征在于,所述方法还包括:
    若记录了多个所述信息特征与文本展示形式的对应关系,则从所述信息特征对应的文本展示形式中,选择记录次数最多的文本展示形式,作为所述信息特征的匹配文本展示形式存储。
  6. 一种文本信息展示装置,其特征在于,包括:
    获取模块,用于获取原始文本信息;
    提取模块,用于通过语义分析算法,提取所述原始文本信息的信息特征和信息内容,所述信息特征为所述原始文本信息所描述的信息的类别,所述信息内容为所述原始文本信息所描述的信息的具体内容;
    展示模块,用于使用与所述信息特征相匹配的文本展示形式,展示所述信息内容。
  7. 根据权利要求6所述的装置,其特征在于,所述信息特征包括行为类型和/或结构类型,所述行为类型为所述原始文本信息所描述的具有时间顺序的动作类型,所述结构类型为所述原始文本信息所描述的信息的结构形式。
  8. 根据权利要求6或7所述的装置,其特征在于,所述展示模块,具体用于:
    从预设的多种文本展示形式中,确定与所述信息特征匹配的文本展示形式集合;显示所述文本展示形式集合,以使用户从所述所述文本展示集合中选择目标文本展示形式;接收所述用户输入的选择指令,所述选择指令包括所述目标文本展示形式;使用所述目标文本展示形式,展示所述信息内容。
  9. 根据权利要求8所述的装置,其特征在于,所述装置还包括:
    记录模块,用于记录所述信息特征与所述目标文本展示形式的对应关系。
  10. 根据权利要求9所述的装置,其特征在于,所述装置还包括:
    选择单元,用于若记录了多个所述信息特征与文本展示形式的对应关系,则从所述信息特征对应的文本展示形式中,选择记录次数最多的文本展示形式,作为所述信息特征的匹配文本展示形式存储。
  11. 一种电子设备,其特征在于,包括处理器和存储器;其中,所述存储器,用于存放计算机程序;所述处理器,用于执行所述存储器上所存放的程序,实现权利要求1-5任一所述的方法步骤。
  12. 一种机器可读存储介质,其特征在于,所述机器可读存储介质内存 储有计算机程序,所述计算机程序被处理器执行时实现权利要求1-5任一所述的方法步骤。
  13. 一种计算机程序,其特征在于,所述计算机程序被处理器执行时实现权利要求1-5任一所述的方法步骤。
PCT/CN2018/082569 2017-04-24 2018-04-10 一种文本信息展示方法及装置 WO2018196607A1 (zh)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP2019557425A JP7116744B2 (ja) 2017-04-24 2018-04-10 テキスト情報を表示する方法および装置
EP18791089.8A EP3617910A4 (en) 2017-04-24 2018-04-10 TEXT INFORMATION DISPLAY METHOD AND APPARATUS
US16/607,071 US20200210640A1 (en) 2017-04-24 2018-04-10 Method and apparatus for displaying textual information

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710272598.3A CN108733635B (zh) 2017-04-24 2017-04-24 一种文本信息展示方法及装置
CN201710272598.3 2017-04-24

Publications (1)

Publication Number Publication Date
WO2018196607A1 true WO2018196607A1 (zh) 2018-11-01

Family

ID=63918778

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/082569 WO2018196607A1 (zh) 2017-04-24 2018-04-10 一种文本信息展示方法及装置

Country Status (5)

Country Link
US (1) US20200210640A1 (zh)
EP (1) EP3617910A4 (zh)
JP (1) JP7116744B2 (zh)
CN (1) CN108733635B (zh)
WO (1) WO2018196607A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110728129A (zh) * 2019-09-03 2020-01-24 北京字节跳动网络技术有限公司 对图片中的文本内容进行排版的方法、装置、介质和设备

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110765754B (zh) * 2019-09-16 2024-05-03 平安科技(深圳)有限公司 文本数据排版方法、装置、计算机设备及存储介质
CN112784555B (zh) * 2019-11-08 2024-03-12 珠海金山办公软件有限公司 一种生成数据透视图的方法及装置
CN112036128A (zh) * 2020-08-21 2020-12-04 百度在线网络技术(北京)有限公司 一种文本内容处理方法、装置、设备以及存储介质
CN112199467B (zh) * 2020-09-08 2023-12-08 深圳价值在线信息科技股份有限公司 函件显示页面的配置方法及装置

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103236163A (zh) * 2013-04-28 2013-08-07 北京航空航天大学 一种基于群智网络的交通拥堵规避提示系统
CN103488608A (zh) * 2013-09-27 2014-01-01 杨昕吉 可视化样式电子名片快速构建的方法和系统
CN103678273A (zh) * 2012-09-14 2014-03-26 安徽华贞信息科技有限公司 互联网段落级话题识别系统

Family Cites Families (37)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07160690A (ja) * 1993-12-10 1995-06-23 Ricoh Co Ltd 定型文書処理装置
US5887120A (en) * 1995-05-31 1999-03-23 Oracle Corporation Method and apparatus for determining theme for discourse
JP2002116983A (ja) * 2000-10-02 2002-04-19 Hewlett Packard Co <Hp> ウェブコンテンツの変換方法およびシステム
JP2006065508A (ja) * 2004-08-25 2006-03-09 Fuji Xerox Co Ltd 情報処理システム及び情報処理方法、並びにコンピュータ・プログラム
US20090058860A1 (en) * 2005-04-04 2009-03-05 Mor (F) Dynamics Pty Ltd. Method for Transforming Language Into a Visual Form
US20060277060A1 (en) * 2005-05-05 2006-12-07 Antognini Walter G Dynamic authoring of transaction display
US8438486B2 (en) * 2006-02-09 2013-05-07 Microsoft Corporation Automatically converting text to business graphics
JP5235499B2 (ja) * 2007-10-12 2013-07-10 株式会社リコー 情報処理装置、画像形成装置、プログラム、文書データ構成方法
US8356248B1 (en) * 2008-09-29 2013-01-15 Amazon Technologies, Inc. Generating context-based timelines
US8775918B2 (en) * 2008-10-07 2014-07-08 Visual Software Systems Ltd. System and method for automatic improvement of electronic presentations
US8996984B2 (en) * 2010-04-29 2015-03-31 International Business Machines Corporation Automatic visual preview of non-visual data
US9275482B1 (en) * 2011-04-01 2016-03-01 The Mathworks, Inc. Display selection based on data format recognition
US10108706B2 (en) * 2011-09-23 2018-10-23 Amazon Technologies, Inc. Visual representation of supplemental information for a digital work
US9135233B2 (en) * 2011-10-13 2015-09-15 Microsoft Technology Licensing, Llc Suggesting alternate data mappings for charts
US20140101542A1 (en) * 2012-10-09 2014-04-10 Microsoft Corporation Automated data visualization about selected text
US9588941B2 (en) * 2013-03-07 2017-03-07 International Business Machines Corporation Context-based visualization generation
US9460199B2 (en) * 2013-05-01 2016-10-04 International Business Machines Corporation Application of text analytics to determine provenance of an object
WO2015017525A1 (en) * 2013-07-30 2015-02-05 Haiku Deck, Inc. Automatically evaluating content to create multimedia presentation
US20150074127A1 (en) * 2013-09-10 2015-03-12 Microsoft Corporation Creating Visualizations from Data in Electronic Documents
US20150077419A1 (en) * 2013-09-19 2015-03-19 International Business Machines Corporation Visualization of data related to unstructured text
US10572473B2 (en) * 2013-10-09 2020-02-25 International Business Machines Corporation Optimized data visualization according to natural language query
JP2014053040A (ja) * 2013-11-20 2014-03-20 Canon Inc 情報処理装置、情報処理方法及びプログラム
KR101635383B1 (ko) * 2014-01-21 2016-07-01 정영교 전자 다이어리의 일정정보와 마인드 맵의 연동방법, 이를 수행하기 위한 프로그램을 제공하는 서버 및 컴퓨터로 판독 가능한 기록매체
US9542363B2 (en) * 2014-01-31 2017-01-10 Konica Minolta Laboratory U.S.A., Inc. Processing of page-image based document to generate a re-targeted document for different display devices which support different types of user input methods
US20150278214A1 (en) * 2014-04-01 2015-10-01 Tableau Software, Inc. Systems and Methods for Ranking Data Visualizations Using Different Data Fields
US9424318B2 (en) * 2014-04-01 2016-08-23 Tableau Software, Inc. Systems and methods for ranking data visualizations
US9613102B2 (en) * 2014-04-01 2017-04-04 Tableau Software, Inc. Systems and methods for ranking data visualizations
US10007708B2 (en) * 2014-10-31 2018-06-26 Business Objects Software Ltd. System and method of providing visualization suggestions
CN105701083A (zh) * 2014-11-28 2016-06-22 国际商业机器公司 文本表示方法和装置
US10607139B2 (en) * 2015-09-23 2020-03-31 International Business Machines Corporation Candidate visualization techniques for use with genetic algorithms
US9633048B1 (en) * 2015-11-16 2017-04-25 Adobe Systems Incorporated Converting a text sentence to a series of images
US20170139899A1 (en) * 2015-11-18 2017-05-18 Le Holdings (Beijing) Co., Ltd. Keyword extraction method and electronic device
CN105701082A (zh) * 2016-01-13 2016-06-22 刘敏 演示文档的自动排版方法及系统
CN106294666A (zh) * 2016-08-04 2017-01-04 上海汽笛生网络科技有限公司 一种实现文本形象化动态展示的方法
CN106503191A (zh) * 2016-10-26 2017-03-15 冯村 一种数据管理设备和方法
US10380778B2 (en) * 2016-12-09 2019-08-13 Dropbox, Inc. Automated chart generation within a document generation application using heuristic model with predefined data types
US11132541B2 (en) * 2017-09-29 2021-09-28 The Mitre Corporation Systems and method for generating event timelines using human language technology

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103678273A (zh) * 2012-09-14 2014-03-26 安徽华贞信息科技有限公司 互联网段落级话题识别系统
CN103236163A (zh) * 2013-04-28 2013-08-07 北京航空航天大学 一种基于群智网络的交通拥堵规避提示系统
CN103488608A (zh) * 2013-09-27 2014-01-01 杨昕吉 可视化样式电子名片快速构建的方法和系统

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP3617910A4

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110728129A (zh) * 2019-09-03 2020-01-24 北京字节跳动网络技术有限公司 对图片中的文本内容进行排版的方法、装置、介质和设备

Also Published As

Publication number Publication date
EP3617910A4 (en) 2020-04-29
JP2020524833A (ja) 2020-08-20
JP7116744B2 (ja) 2022-08-10
CN108733635A (zh) 2018-11-02
EP3617910A1 (en) 2020-03-04
CN108733635B (zh) 2021-12-03
US20200210640A1 (en) 2020-07-02

Similar Documents

Publication Publication Date Title
WO2018196607A1 (zh) 一种文本信息展示方法及装置
Bartram et al. Untidy data: The unreasonable effectiveness of tables
US10885131B2 (en) System and method for temporal identification of latent user communities using electronic content
US20090300043A1 (en) Text based schema discovery and information extraction
JP2022171690A (ja) データ要素間の関係を決定するためのシステム及び方法
Ertug et al. From the editors—A brief primer on data visualization opportunities in management research
US8538965B1 (en) Determining a relevance score of an item in a hierarchy of sub collections of items
US9746932B2 (en) Gesture inferred vocabulary bindings
KR20170098854A (ko) 보고 생성 방법
US10803390B1 (en) Method for the management of artifacts in knowledge ecosystems
US20170286551A1 (en) Scalable processing of heterogeneous user-generated content
Illari IQ: Purpose and dimensions
JP2004021445A (ja) テキストデータ分析システム、テキストデータ分析方法およびコンピュータプログラム
CN111190965A (zh) 基于文本数据的即席关系分析系统及方法
Sterman et al. Citations as data: harvesting the scholarly record of your university to enrich institutional knowledge and support research
KR20100098028A (ko) 시맨틱 메타데이터를 활용한 데이터 구조화 방법 및 시스템
US20160085850A1 (en) Knowledge brokering and knowledge campaigns
US11816770B2 (en) System for ontological graph creation via a user interface
US20130318104A1 (en) Method and system for analyzing data in artifacts and creating a modifiable data network
WO2021117483A1 (ja) 情報処理装置、情報処理方法、およびプログラム
Dai et al. MOETA: a novel text-mining model for collecting and analysing competitive intelligence
KR101062655B1 (ko) 태그를 이용한 메타데이터 관리 시스템 및 그 방법
Reuter et al. End-user development and social big data–towards tailorable situation assessment with social media
CN113157964A (zh) 一种语音搜索数据集的方法、装置及电子设备
JP2016035688A (ja) テキスト分析装置、テキスト分析方法、テキスト分析プログラムおよび記録媒体

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18791089

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2019557425

Country of ref document: JP

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE

ENP Entry into the national phase

Ref document number: 2018791089

Country of ref document: EP

Effective date: 20191125