---
name: "Graph::Reader::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::Reader::HTK"
---

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

read an HTK lattice in as an instance of Graph

## NAME

Graph::Reader::HTK - read an HTK lattice in as an instance of Graph

## SYNOPSIS

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

## DESCRIPTION

This module can be used to read a directed graph in the HTK \<http://htk.eng.cam.ac.uk\> lattice format. It returns 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::Reader

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

- Graph::Writer::HTK

  A class which will write a perl Graph out as an HTK lattice.

- HTK \<http://htk.eng.cam.ac.uk\>

  The Hidden Markov Model Toolkit.

## 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.
