The embodiment of the invention provides a
customs declaration data matching method and device, and the method comprises the steps: segmenting a
customs declaration text based on a preset rule, obtaining a first text, segmenting a Chinese text and an English text in the first text, and sequentially selecting the corresponding Chinese text or English text as a second text based on the text sequenceof the first text, and determining a to-be-
matched field of the second text according to the length of the longest word in the word segmentation dictionary, deleting invalid words in the to-be-
matched field, performing word normalization
processing on the invalid words, performing similarity calculation on the invalid words and words in the word segmentation dictionary, and if a calculation result is greater than a preset value, segmenting the to-be-
matched field from the
customs declaration text to serve as segmented words, and matching whether the segmented words conform to customs
declaration specifications. According to the method of the invention,
data matching verification can be carried out on the Chinese text and the English text respectively, the to-be-matched field is determinedaccording to the length of the longest word in the word segmentation dictionary, the influence of similar words is considered, and the
verification efficiency and accuracy are improved.