Click here to Skip to main content
15,894,740 members
Articles / Programming Languages / C++

N-gram and Fast Pattern Extraction Algorithm

Rate me:
Please Sign up or sign in to vote.
4.97/5 (82 votes)
31 Oct 2007GPL38 min read 376.5K   7.4K   171  
This article demonstrates N-gram construction and Fast Text Pattern Extraction using a modified LZW algorithm.
//{{NO_DEPENDENCIES}}
// Microsoft Visual C++ generated include file.
// Used by Patterns.rc
//
#define IDM_ABOUTBOX                    0x0010
#define IDD_ABOUTBOX                    100
#define IDS_ABOUTBOX                    101
#define IDD_PATTERNS_DIALOG             102
#define IDR_MAINFRAME                   128
#define IDC_EDIT1                       1000
#define IDC_BROWSE                      1001
#define IDC_LIST1                       1002
#define IDC_RADIO1                      1003
#define IDC_RADIO2                      1004
#define IDC_RADIO3                      1005
#define IDC_CHECK1                      1006
#define IDC_EDIT2                       1007
#define IDC_SAVE                        1008
#define IDC_STATUS                      1009
#define IDC_EDIT3                       1010
#define IDC_SPIN1                       1011
#define IDC_CHECK2                      1012

// Next default values for new objects
// 
#ifdef APSTUDIO_INVOKED
#ifndef APSTUDIO_READONLY_SYMBOLS
#define _APS_NEXT_RESOURCE_VALUE        129
#define _APS_NEXT_COMMAND_VALUE         32771
#define _APS_NEXT_CONTROL_VALUE         1013
#define _APS_NEXT_SYMED_VALUE           101
#endif
#endif

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The GNU General Public License (GPLv3)


Written By
Software Developer (Senior)
Egypt Egypt

Comments and Discussions