Tanl Linguistic Pipeline

IXE::BigramTable Class Reference

A BigramTable contains the index (TermID) of the first word in the Lexicon starting with that bigram. More...

#include <IndexTable.h>

Inheritance diagram for IXE::BigramTable:
IXE::IndexTable< TermID >

List of all members.

Public Member Functions

void access (mappedFile const &file, off32_t &offset)
 Prepare for accessing the bigrams table.
value_type operator[] (size_type i) const
 Get the entry at position.
value_type & operator[] (size_type i)

Detailed Description

A BigramTable contains the index (TermID) of the first word in the Lexicon starting with that bigram.


Member Function Documentation

void IXE::BigramTable::access ( mappedFile const &  file,
off32_t &  offset 
)

Prepare for accessing the bigrams table.

Advance the offset to past the table.

Referenced by IXE::Lexicon::access().

value_type IXE::BigramTable::operator[] ( size_type  i  )  const [inline]

Get the entry at position.

Parameters:
i the position

Reimplemented from IXE::IndexTable< TermID >.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
 
Copyright © 2005-2011 G. Attardi. Generated on 4 Mar 2011 by doxygen 1.6.1.