#include <ConcBigrams.h>
CIndexBigram::CIndexBigram | ( | string | Path | ) |
References m_Path, and m_SecondWordFile.
CIndexBigram::~CIndexBigram | ( | ) |
void CIndexBigram::CloseFiles | ( | ) | [private] |
References m_SecondWordFile.
Referenced by LoadBigrams(), RemoveFiles(), and ~CIndexBigram().
string CIndexBigram::GetSecondWordFileName | ( | ) | const |
References m_Path.
Referenced by CIndexSetForBigrams::ConvertTempBigramsToPersistent(), CIndexSetForBigrams::CreateRightBigrams(), LoadBigrams(), and RemoveFiles().
string CIndexBigram::GetFirstWordFileName | ( | ) | const |
References m_Path.
Referenced by CIndexSetForBigrams::ConvertTempBigramsToPersistent(), CIndexSetForBigrams::CreateRightBigrams(), LoadBigrams(), and RemoveFiles().
bool CIndexBigram::LoadBigrams | ( | ) |
References CloseFiles(), GetFirstWordFileName(), GetSecondWordFileName(), m_FirstWords, m_SecondWordFile, and ReadVector().
Referenced by CIndexSetForBigrams::LoadIndexSet().
bool CIndexBigram::RemoveFiles | ( | ) |
References CloseFiles(), GetFirstWordFileName(), GetSecondWordFileName(), and RemoveWithPrint().
Referenced by CIndexSetForBigrams::DestroyIndexSet().
size_t CIndexBigram::ReadSecondWords | ( | size_t | FirstWord, | |
vector< CSecondWord > & | SecondWords | |||
) | const |
References FSeek(), m_FirstWords, m_SecondWordFile, and ReadVectorInner().
Referenced by CStringIndexSet::DumpBigramsOfOneDirection(), and CIndexSetForBigrams::FindOccurrencesForBigrams().
string CIndexBigram::m_Path |
Referenced by CIndexBigram(), GetFirstWordFileName(), and GetSecondWordFileName().
vector<DWORD> CIndexBigram::m_FirstWords |
Referenced by CIndexBigram(), CloseFiles(), LoadBigrams(), and ReadSecondWords().