Source code of Windows XP (NT5)
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.

30 lines
891 B

  1. /******************************************************************************
  2. * trees.h *
  3. *---------*
  4. *
  5. *------------------------------------------------------------------------------
  6. * Copyright (c) 1997 Entropic Research Laboratory, Inc.
  7. * Copyright (C) 1998 Entropic, Inc
  8. * Copyright (C) 2000 Microsoft Corporation Date: 03/02/00
  9. * All Rights Reserved
  10. *
  11. ********************************************************************* PACOG ***/
  12. #ifndef __TREES_H_
  13. #define __TREES_H_
  14. #include <stdio.h>
  15. class CClustTree
  16. {
  17. public:
  18. virtual ~CClustTree() {};
  19. virtual int LoadFromFile (FILE* fp) = 0;
  20. virtual int GetNumStates (const char* pszTriphone) = 0;
  21. virtual const char* TriphoneToCluster(const char* pszTriphone, int iState) = 0;
  22. #ifdef _DEBUG_
  23. virtual void Debug() = 0;
  24. #endif
  25. static CClustTree* ClassFactory();
  26. };
  27. #endif