The application discloses a rule and
dependency grammar-based
spatiotemporal correlation degree calculation method, which comprises the following steps: obtaining an
open field text sequence, and preprocessing the text sequence to obtain a preprocessed text sequence; performing syntactic analysis on the preprocessed text sequence, formulating a
rule matching table, and matching the syntactic analysis result according to the
rule matching table to obtain candidate triplets and spatiotemporal information; calculating a
spatiotemporal correlation degree value according to a dependency path of a relation predicate in the candidate triplets and the spatiotemporal information, a dependency distance of a head entity and the spatiotemporal information, a spatiotemporal feature of head and
tail entity types, and a spatiotemporal
semantic feature of the relation predicate; defining two threshold values, comparing the
spatiotemporal correlation degree value with the two threshold values, determining a
classification result of the spatiotemporal correlation degree, and generating a knowledge expression model. The application accurately calculates spatiotemporal correlation by comprehensively considering the context and spatiotemporal information of the text, thereby obtaining a spatiotemporal knowledge expression model and more accurately conveying the
semantics of the text.