mirror of https://github.com/tongzx/nt5src
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
70 lines
1.5 KiB
70 lines
1.5 KiB
//+---------------------------------------------------------------------------
|
|
//
|
|
//
|
|
// CThaiTrigramBreak - class CThaiTrigramBreak
|
|
//
|
|
// History:
|
|
// created 11/99 aarayas
|
|
//
|
|
// ©1999 Microsoft Corporation
|
|
//----------------------------------------------------------------------------
|
|
#include "CThaiTrigramBreak.h"
|
|
|
|
//+---------------------------------------------------------------------------
|
|
//
|
|
// Class: CThaiTrigramBreak
|
|
//
|
|
// Synopsis: Constructor - initialize local variables
|
|
//
|
|
// Arguments:
|
|
//
|
|
// Modifies:
|
|
//
|
|
// History: created 11/99 aarayas
|
|
//
|
|
// Notes:
|
|
//
|
|
//----------------------------------------------------------------------------
|
|
CThaiTrigramBreak::CThaiTrigramBreak()
|
|
{
|
|
}
|
|
|
|
//+---------------------------------------------------------------------------
|
|
//
|
|
// Class: CThaiTrigramBreak
|
|
//
|
|
// Synopsis: Destructor - clean up code
|
|
//
|
|
// Arguments:
|
|
//
|
|
// Modifies:
|
|
//
|
|
// History: created 11/99 aarayas
|
|
//
|
|
// Notes:
|
|
//
|
|
//----------------------------------------------------------------------------
|
|
CThaiTrigramBreak::~CThaiTrigramBreak()
|
|
{
|
|
}
|
|
|
|
//+---------------------------------------------------------------------------
|
|
//
|
|
// Class: CThaiTrigramBreak
|
|
//
|
|
// Synopsis: Associate the class to the string.
|
|
//
|
|
// Arguments:
|
|
//
|
|
// Modifies:
|
|
//
|
|
// History: created 7/99 aarayas
|
|
//
|
|
// Notes:
|
|
//
|
|
//----------------------------------------------------------------------------
|
|
void CThaiTrigramBreak::Init(CTrie* pTrie, CTrie* pTrigramTrie)
|
|
{
|
|
assert(pTrigramTrie != NULL);
|
|
thaiTrigramIter.Init(pTrigramTrie);
|
|
}
|