Unlock instant, AI-driven research and patent intelligence for your innovation.

Time information identification method and device

A technology of time information and time, applied in the field of information processing, can solve problems such as difficult to realize effective identification of time information

Active Publication Date: 2015-09-30
TENCENT TECH (SHENZHEN) CO LTD
View PDF7 Cites 12 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] Based on this, it is necessary to provide a time information identification method and device for the current problem that it is difficult to effectively identify time information

Method used

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

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Time information identification method and device
  • Time information identification method and device
  • Time information identification method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0038] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0039] There are many expressions of time in Chinese. Through sorting, the known expressions of Chinese time are classified and combined identification conditions are provided, as shown in Table 1 below. Based on this, a method and device for identifying time information are provided.

[0040] The date in Table 1 refers to the time with one day as the smallest unit, and the moment refers to the time within a day. Time categories include relative date, absolute date, relative moment, and absolute moment. Relative dates and relative moments are called relative time, and relative time is used to rep...

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

PUM

No PUM Login to View More

Abstract

The invention relates to a time information identification method and device. The method comprises the steps that a first character sequence is acquired; according to the mapping relation between preset time correlation characters and preset standard characters, the preset time correlation characters in the first character sequence are mapped into the corresponding preset standard characters in sequence, and a second character sequence is acquired; according to the mapping relation between preset relative time words and characteristic character strings with a preset characteristic format, preset relative time words in the second character sequence are mapped into the corresponding characteristic character strings in sequence, and a third character sequence is acquired; character strings matched with a preset absolute time format and character strings matched with the preset characteristic format are searched for in the third character sequence respectively; time information is determined according to the matched character strings. Through the time information identification method and device, the time information can be identified from natural linguistic words, various operations can be conducted according to the identified time information, and the method and device can be applied to various kinds of scenes where the time information is needed.

Description

technical field [0001] The present invention relates to the technical field of information processing, in particular to a time information identification method and device. Background technique [0002] Currently, the SDK (Software Development Kit, software development kit) provided by the Android (Android) operating system usually utilizes a TextView (text view control) to display text content. Setting the android:autoLink attribute of TextView can automatically mark the link text, and the user can click the link text to perform specific actions. [0003] However, the current Android operating system and other operating systems only support automatic marking of phone numbers, email addresses and web addresses, and cannot recognize time information such as date and time, especially time information expressed in words. Moreover, texts such as phone numbers, email addresses, and URLs have very strict formats, which can be easily recognized and marked as link texts, while the ...

Claims

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

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F17/30
CPCG06F16/90344
Inventor 王涛易薇李斌
Owner TENCENT TECH (SHENZHEN) CO LTD