The invention provides a travel itinerary generation method based on semantic analysis, which includes the steps of acquiring travel text, segmenting the travel text according to the basic information of the travel text, obtaining several segment results, generating a segment result matrix from the segment results, and filtering tourism Several POIs corresponding to the destination in the thematic resource database generate POI sets, match the POI set elements with the segmented result matrix elements, generate the POI records accessed by each segmented result every day to generate an access record matrix, and store the access records. Several segmentation results in the matrix are compared in chronological order, the records of points of interest that deviate from the itinerary of the day are removed, and the segmentation results and the corresponding records of points of interest are used to generate a travel itinerary; the invention relates to an electronic device and a readable storage medium. A travel itinerary generation method based on semantic analysis; the present invention can automatically extract the basic information of existing travel texts on the Internet, and directly convert the travel texts that users like to read into structured itineraries.