c++ - 什么是置换索引?

标签 c++ indexing permutation

我正在阅读 Accelerated C++。我不明白练习 5-1:

Design and implement a program to produce a permuted index from the following input. A permuted index is one in which each phrase is indexed by every word in the phrase.

     The quick      brown fox 
jumped over the     fence
The quick brown     fox 
                    jumped over the fence
         jumped     over the fence
            The     quick brown fox 
    jumped over     the fence
                    The quick brown fox

那个解释对我来说不是很清楚。什么是置换索引?

最佳答案

The term permuted index is another name for a KWIC index, referring to the fact that it indexes all cyclic permutations of the headings. Books composed of many short sections with their own descriptive headings, most notably collections of manual pages, often ended with a permuted index section, allowing the reader to easily find a section by any word from its heading. This practice is no longer common.

发件人:http://en.wikipedia.org/wiki/Key_Word_in_Context

ps:您可以通过 http://www.proxify.com 访问维基百科

关于c++ - 什么是置换索引?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4015016/

相关文章:

c++ - 这是什么意思 : warning: converting from ‘void (ClassName::*)()’ to ‘void (*)()’

postgresql - PostgreSQL 索引如何处理 MVCC

r - R 中 13 个行索引之间的欧氏距离的排列

algorithm - 在 Matlab 中彻底排列大小为 20 的向量

c++ - 为什么我需要在 QVector<MyClass> 中有一个默认构造函数?

c++ - 字节转ASCII转方 block 字符

c++ - C++ 中构造函数指针的语法

arrays - 如果数组来自源文件,则在 bash 中按索引访问数组无法正常工作

mysql - MySQL 中的聚簇索引

algorithm - 有多少个长度为 n 的单词最多有 k 个连续的元音?