{"title":"高效的树结构分类检索","authors":"D. Belazzougui, G. Kucherov","doi":"10.4230/LIPIcs.CPM.2020.4","DOIUrl":null,"url":null,"abstract":"We study a document retrieval problem in the new framework where $D$ text documents are organized in a {\\em category tree} with a pre-defined number $h$ of categories. This situation occurs e.g. with taxomonic trees in biology or subject classification systems for scientific literature. Given a string pattern $p$ and a category (level in the category tree), we wish to efficiently retrieve the $t$ \\emph{categorical units} containing this pattern and belonging to the category. We propose several efficient solutions for this problem. One of them uses $n(\\log\\sigma(1+o(1))+\\log D+O(h)) + O(\\Delta)$ bits of space and $O(|p|+t)$ query time, where $n$ is the total length of the documents, $\\sigma$ the size of the alphabet used in the documents and $\\Delta$ is the total number of nodes in the category tree. Another solution uses $n(\\log\\sigma(1+o(1))+O(\\log D))+O(\\Delta)+O(D\\log n)$ bits of space and $O(|p|+t\\log D)$ query time. We finally propose other solutions which are more space-efficient at the expense of a slight increase in query time.","PeriodicalId":236737,"journal":{"name":"Annual Symposium on Combinatorial Pattern Matching","volume":"60 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2020-06-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Efficient tree-structured categorical retrieval\",\"authors\":\"D. Belazzougui, G. Kucherov\",\"doi\":\"10.4230/LIPIcs.CPM.2020.4\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"We study a document retrieval problem in the new framework where $D$ text documents are organized in a {\\\\em category tree} with a pre-defined number $h$ of categories. This situation occurs e.g. with taxomonic trees in biology or subject classification systems for scientific literature. Given a string pattern $p$ and a category (level in the category tree), we wish to efficiently retrieve the $t$ \\\\emph{categorical units} containing this pattern and belonging to the category. We propose several efficient solutions for this problem. One of them uses $n(\\\\log\\\\sigma(1+o(1))+\\\\log D+O(h)) + O(\\\\Delta)$ bits of space and $O(|p|+t)$ query time, where $n$ is the total length of the documents, $\\\\sigma$ the size of the alphabet used in the documents and $\\\\Delta$ is the total number of nodes in the category tree. Another solution uses $n(\\\\log\\\\sigma(1+o(1))+O(\\\\log D))+O(\\\\Delta)+O(D\\\\log n)$ bits of space and $O(|p|+t\\\\log D)$ query time. We finally propose other solutions which are more space-efficient at the expense of a slight increase in query time.\",\"PeriodicalId\":236737,\"journal\":{\"name\":\"Annual Symposium on Combinatorial Pattern Matching\",\"volume\":\"60 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2020-06-01\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Annual Symposium on Combinatorial Pattern Matching\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.4230/LIPIcs.CPM.2020.4\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Annual Symposium on Combinatorial Pattern Matching","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.4230/LIPIcs.CPM.2020.4","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
We study a document retrieval problem in the new framework where $D$ text documents are organized in a {\em category tree} with a pre-defined number $h$ of categories. This situation occurs e.g. with taxomonic trees in biology or subject classification systems for scientific literature. Given a string pattern $p$ and a category (level in the category tree), we wish to efficiently retrieve the $t$ \emph{categorical units} containing this pattern and belonging to the category. We propose several efficient solutions for this problem. One of them uses $n(\log\sigma(1+o(1))+\log D+O(h)) + O(\Delta)$ bits of space and $O(|p|+t)$ query time, where $n$ is the total length of the documents, $\sigma$ the size of the alphabet used in the documents and $\Delta$ is the total number of nodes in the category tree. Another solution uses $n(\log\sigma(1+o(1))+O(\log D))+O(\Delta)+O(D\log n)$ bits of space and $O(|p|+t\log D)$ query time. We finally propose other solutions which are more space-efficient at the expense of a slight increase in query time.