摘要:
The method for displaying according to the present invention is used for displaying the displacement of an object (group) on the display of an electronic device. The method calculates an animation interval according to an amount of animation and an animation time; calculates an animation end time according to the animation interval and the order of animation to be executed; calculates a distribution ratio according to the animation end time and a distribution curve; calculates a displacement according to the distribution ratio and an animation execution distance; calculates an updated coordinate according to the displacement after the object (group) is moved; and replots the displaced object (group) in the display window of the display of the electronic device according to the updated coordinate. By calculating the displacement of each step of animation during the animation process, the present invention can present the process of object (group) movement. Thereby, when the object (group) is moving, the animated displaying effects with speed variations can be exhibited.
摘要:
A method for filtering file clusters is presented. In the method, a plurality of advanced filter actions with different filter conditions and independent from each other is performed on an obtained main result file. Thereby, a history record of each advanced filter is kept, and the history record of each advanced filter and respective search results are presented on a target interface in a presentation mode of opening a new page or updating an index list.
摘要:
A method for filtering out identical or similar documents includes storing a plurality of documents to be filtered as a pat tree (PT) data structure profile based on a pat tree data structure, searching for all string nodes with a consecutive character length reaching a lower threshold in the PT profile and all documents to which the string nodes belong, and finding documents having identical consecutive characters with a length reaching a higher threshold from the documents. Another technical solution includes searching for all string nodes with a consecutive character length reaching a lower threshold in the PT profile and all documents to which the string nodes belong, and finding documents having identical consecutive characters with such a length that a ratio of the length of the identical consecutive characters to a total character length of the original document reaches a ratio threshold from the documents, these documents are similarity.
摘要:
A method for converting an HTML web page to plain text includes extracting from HTML source code of the HTML web page a portion containing a plurality of character strings and tags, calculating length and position of each character string in the extracted portion so as to find a first predetermined percentage of the character strings with the longest lengths, analyzing a number of position intervals between adjacent ones of the character strings belonging to the first predetermined percentage of the character strings with the longest lengths, labeling the corresponding character strings as belonging to a same block if the number of position intervals is not greater than a second predetermined value so as to find a largest character string block, and deleting the tags in the largest character string block so as to obtain main content of the HTML web page in plain text.
摘要:
A method for merging document clusters includes the following steps. An association graph among document clusters is established. The association graph is an oriented graph. Each document cluster is represented by one node in the association graph, and each node is searched in a pair-wise manner. An oriented edge is established between any two nodes having associated weights there-between reaching a preset value. An arrow of the oriented edge points to a node capable of serving as a descriptor for the other node. An associated weight is assigned to the oriented edge to represent an association degree between the two nodes. Any two document clusters that can serve as a descriptor for each other and have an association degree there-between reaching a preset threshold value are merged into a single document cluster.
摘要:
A method for merging document clusters includes the following steps. An association graph among document clusters is established. The association graph is an oriented graph. Each document cluster is represented by one node in the association graph, and each node is searched in a pair-wise manner. An oriented edge is established between any two nodes having associated weights there-between reaching a preset value. An arrow of the oriented edge points to a node capable of serving as a descriptor for the other node. An associated weight is assigned to the oriented edge to represent an association degree between the two nodes. Any two document clusters that can serve as a descriptor for each other and have an association degree there-between reaching a preset threshold value are merged into a single document cluster.
摘要:
In a method for updating RSS feeds, summaries of new content are downloaded on a regular basis from a subscribed feed. When a summary of new content is downloaded, the new content can also be downloaded via a URL in the summary according to user's settings so as to pre-load the new content, thereby achieving greater user convenience.
摘要:
The present invention provides a method of establishing a plain text document from a HTML document. The method including the steps of (A) acquiring a HTML document defined by HTML elements, each composed of tags and content between the tags; (B) pre-processing the HTML document by omitting some of the tags (including the content between those tags), whereby the rest of the HTML document comprises at least one target tag (including content between the target tags); (C) using a data structure to store the remaining tags of the pre-processed HTML document; (D) grouping the remaining tags (including the content between the remaining tags) stored in the data structure of the pre-processed HTML document into at least one target group according to the target tag(s); and (E) identifying the target group(s) most related to a title of the HTML document by comparing correlation(s) between the target group(s) and the title, and establishing a plain text document having the content of the identified target group.
摘要:
A dynamic typesetting method of a display image includes the following steps obtaining a typeset-able area of a display image; calculating the size of the typeset-able area for applying a template having multiple display panes; calculating a page placement starting position of each display panes; according to the number of the display panes obtaining the data items corresponding to the number from a database; calculating a data weight of each of the data items, and sorting the data items and temporarily storing the data items in a temporary sequence according to values of the data weights; taking out the data items in the temporary storage sequence in sequence according to a typesetting order of the display panes, and placing the corresponding data items according to the page placement starting position of each display panes; and receiving a user operating instruction, and repeating actions in part of above steps accordingly.
摘要:
The method for displaying according to the present invention is used for displaying the displacement of an object (group) on the display of an electronic device. The method calculates an animation interval according to an amount of animation and an animation time; calculates an animation end time according to the animation interval and the order of animation to be executed; calculates a distribution ratio according to the animation end time and a distribution curve; calculates a displacement according to the distribution ratio and an animation execution distance; calculates an updated coordinate according to the displacement after the object (group) is moved; and replots the displaced object (group) in the display window of the display of the electronic device according to the updated coordinate. By calculating the displacement of each step of animation during the animation process, the present invention can present the process of object (group) movement. Thereby, when the object (group) is moving, the animated displaying effects with speed variations can be exhibited.