---
name: "Graph::Writer::HTK"
section: "3pm"
platform: "linux"
package: "libgraph-readwrite-perl"
version: "2.10-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/Graph::Writer::HTK"
---

# Graph::Writer::HTK(3pm)

write a perl Graph out as an HTK lattice file

## NAME

Graph::Writer::HTK - write a perl Graph out as an HTK lattice file

## SYNOPSIS

```
  use Graph::Writer::HTK;
  $writer = Graph::Reader::HTK->new();
  $reader->write_graph($graph, 'mylattice.lat');
```

## DESCRIPTION

This module will write a directed graph to a file in the HTK \<http://htk.eng.cam.ac.uk\> lattice format. The graph must be an instance of the Graph class.

## SEE ALSO

- Graph

  Jarkko Hietaniemi's Graph class and others, used for representing and manipulating directed graphs. Available from CPAN. Also described / used in the chapter on directed graph algorithms in the **Algorithms in Perl** book from O'Reilly.

- Graph::Writer

  The base-class for this module, which defines the public methods, and describes the ideas behind Graph reader and writer modules.

- Graph::Reader::HTK

  A class which will read a perl Graph from an HTK lattice file.

## REPOSITORY

\<https://github.com/neilb/Graph-ReadWrite\>

## AUTHOR

Neil Bowers \<neil@bowers.com\>

## COPYRIGHT

Copyright (c) 2000-2012, Neil Bowers. All rights reserved. Copyright (c) 2000, Canon Research Centre Europe. All rights reserved.

This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
