ixdomain converts weighting domain files between three different formats. Weighting domains can be converted between domain format as defined by the IXWeightingDomain class of the Indexing Kit, histogram format, and NEXTSTEP Release 2 word frequency table (WFTable) format. Domain format files are preferred for use with ixbuild(1).
Each line of a file in histogram format has the form:
Where token is the token or word in the index, weight is its weight (frequency) in the domain, and rank is its cardinal rank in the domain (1 == most common, 2 = second most common, and so on). The fields of the line are separated by single spaces; be sure to search backward from the end of a line to find the token, as it is possible for it to contain embedded spaces or tabs.