---
name: "tax2thesaurus"
section: "1p"
platform: "linux"
package: "libbiblio-thesaurus-perl"
version: "0.43-3"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/tax2thesaurus"
---

# tax2thesaurus(1p)

indented taxonomy to thesaurus

## 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)](/perl/1.md).
