Scroll to navigation

TAX2THESAURUS(1p) User Contributed Perl Documentation TAX2THESAURUS(1p)
 

NAME

tax2thesaurus - indented taxonomy to thesaurus

SYNOPSIS

 tax2thesaurus file.tax > file.the

DESCRIPTION

A top term "_top" is added to the taxonomy.

example of the taxonomy format

 science
   physics
      dynamics
   math
      algebra
      trignometry
 literature

Correspondent output

 science
 BT  _top
 #lev 1
 
 physics
 BT  science
 #lev 2
 
 dynamics
 BT  physics
 #lev 3
 
 math
 BT  science
 #lev 2
 
 algebra
 BT  math
 #lev 3
 
 trignometry
 BT  math
 #lev 3
 
 literature
 BT  _top
 #lev 1

AUTHOR

J.Joao Almeida, jj@di.uminho.pt

SEE ALSO

perl(1).
2011-12-13 perl v5.14.2