View full-text article in PMC Entropy (Basel). 2022 Aug 9;24(8):1095. doi: 10.3390/e24081095 Search in PMC Search in PubMed View in NLM Catalog Add to search Copyright and License information © 2022 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/). PMC Copyright notice Algorithm 1 Pattern Dictionary (PD) Parser Require: Pattern Dictionary D, Test Sequence x1l 1:Set c=1, vc=1, d=1 2: while vc+d−1<l do 3: if xvcvc+d−1∈SDd then 4: if d+1≤Dmax then 5: d=d+1 6: else 7: vc+1=vc+d 8: c=c+1 9: d=1 10: else 11: vc+1=vc+d−1 12: c=c+1 13: d=1 14: return xv1v2−1,xv2v3−1,…,xvcl