# proto/Source/dependencies.h File Reference

Declaration of dependency to string (and vice versa) convertion module. More...

`#include <string>`
`#include "config.h"`

## Namespaces
namespace | ace
namespace | ace::dependency
## Functions
const char * | ace::dependency2cstring (dependency_index_t dependency_index)
| Converts given index to string representation of dependency value.
dependency_index_t | ace::string2dependency (std::string &str)
| Converts given string to index representation of dependency value.

## Detailed Description

Declaration of dependency to string (and vice versa) convertion module.

This module is PDT corpus related. It provides conversion for all dependency types declared within PDT, in both directions: 1. String to index (input datafile -> program memory). 2. Index to string (program memory -> output datafile). Numeric indices are used because of smaller amount of memory they require.

(C) Ceslav Przywara 2008, MFF UK Prague