什么是置换索引? [英] What is a permuted index?
问题描述
我正在阅读Accelerated C ++。我不明白习题5-1:
I am reading Accelerated C++. I don't understand Exercise 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
这个解释不清楚。
推荐答案
术语置换索引是KWIC索引的另一个名称,指它索引标题的所有循环置换的事实。由许多具有自己的描述性标题的小段组成的书,最着名的是手册页的集合,通常以排列的索引段结束,允许读者通过其标题中的任何词容易地找到段。这种做法已不再常见。
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.
From: http://en.wikipedia.org/wiki/Key_Word_in_Context
ps:您可以通过 http://www.proxify.com
这篇关于什么是置换索引?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!