About the possibility of determining the prefix and suffix of a word by subwords of fixed length
In applied problems ofbusiness informatics related to data analysis (in particular, in the analysis and forecasting of time series, in the study oflog files ofbusiness processes, etc.), problems of qualitative analysis arise. Qualitative analysis methods often use symbolic coding as a way of presenting information about the processes under study. In a number of situations, due to the fragmentation of such descriptions, the problem arises of reconstructing a complete symbolic description of a process (word) from its successive fragments (subwords). From the multiset of all subwords of a sufficiently large length, the original word is uniquely restored. In the case of insufficiently long subwords, several different reconstructions of the original word are possible. The number of feasible reconstructions can be reduced by determining the suffix and prefix of the reconstructed word. A method is proposed for determining the prefix and suffix of a word consisting of k _ 1 symbols each on the basis of multiset V of subwords of a fixed length equal to k. We accept the hypothesis that this multiset is generated by a window of a fixed length k of one symbol shift in an unknown word. The method for determining the prefix and suffix is based on the construction and analysis of the matrix formed by subwords from Fwritten in rows in arbitrary order and the use of the operator acting on multisets of characters of the alphabet formed by neighboring columns of this matrix. The method is capable of determining the prefix a1a2 ... ak_ 1 and suffix b1b2 ... bk_ 1, ai≠bi. for any i from 1 to k _ 1. Ifin the prefix and suffix ai≠bi . only for some values of i, the characters in the corresponding p ositions are determined, and a. = b for the remaining characters. In the worst case, the method concludes that a. = b. for any i from 1 to k - 1, but does not determine the characters themselves. This is a situation in which the prefix and suffix coincide but cannot be determined.