initial commit
This commit is contained in:
Executable
+44
@@ -0,0 +1,44 @@
|
||||
/***************************************************************************************
|
||||
*
|
||||
* WRITEPAD(r): Handwriting Recognition Engine (HWRE) and components.
|
||||
* Copyright (c) 2001-2016 PhatWare (r) Corp. All rights reserved.
|
||||
*
|
||||
* Licensing and other inquires: <developer@phatware.com>
|
||||
* Developer: Stan Miasnikov, et al. (c) PhatWare Corp. <http://www.phatware.com>
|
||||
*
|
||||
* WRITEPAD HWRE is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* THE MATERIAL EMBODIED ON THIS SOFTWARE IS PROVIDED TO YOU "AS-IS"
|
||||
* AND WITHOUT WARRANTY OF ANY KIND, EXPRESS, IMPLIED OR OTHERWISE,
|
||||
* INCLUDING WITHOUT LIMITATION, ANY WARRANTY OF MERCHANTABILITY OR
|
||||
* FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL PHATWARE CORP.
|
||||
* BE LIABLE TO YOU OR ANYONE ELSE FOR ANY DIRECT, SPECIAL, INCIDENTAL,
|
||||
* INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND, OR ANY DAMAGES WHATSOEVER,
|
||||
* INCLUDING WITHOUT LIMITATION, LOSS OF PROFIT, LOSS OF USE, SAVINGS
|
||||
* OR REVENUE, OR THE CLAIMS OF THIRD PARTIES, WHETHER OR NOT PHATWARE CORP.
|
||||
* HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH LOSS, HOWEVER CAUSED AND ON
|
||||
* ANY THEORY OF LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE
|
||||
* POSSESSION, USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
* See the GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with WritePad HWRE project. If not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
**************************************************************************************/
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <ctype.h>
|
||||
#include "RecognizerWrapper.h"
|
||||
#include "RecoTypes.h"
|
||||
|
||||
#include "ShapeAPI.h"
|
||||
#include "liintern.h"
|
||||
|
||||
#define LIG_NUMBITS (sizeof((*((LIGStatesType*)0))[0]) * 8)
|
||||
#define LIG_BITINDEX(let, gr) ((((let) - LIG_FIRST_LETTER) * LIG_LET_NUM_GROUPS + (gr)) * LIG_NUM_BITS_PER_GROUP)
|
||||
#define LIG_BITSSHIFT(bitindex) (LIG_NUMBITS - LIG_NUM_BITS_PER_GROUP - bitindex % LIG_NUMBITS)
|
||||
|
||||
static const char K_PAIRED_CHARS[][3] = {
|
||||
Executable
+44
@@ -0,0 +1,44 @@
|
||||
/***************************************************************************************
|
||||
*
|
||||
* WRITEPAD(r): Handwriting Recognition Engine (HWRE) and components.
|
||||
* Copyright (c) 2001-2016 PhatWare (r) Corp. All rights reserved.
|
||||
*
|
||||
* Licensing and other inquires: <developer@phatware.com>
|
||||
* Developer: Stan Miasnikov, et al. (c) PhatWare Corp. <http://www.phatware.com>
|
||||
*
|
||||
* WRITEPAD HWRE is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* THE MATERIAL EMBODIED ON THIS SOFTWARE IS PROVIDED TO YOU "AS-IS"
|
||||
* AND WITHOUT WARRANTY OF ANY KIND, EXPRESS, IMPLIED OR OTHERWISE,
|
||||
* INCLUDING WITHOUT LIMITATION, ANY WARRANTY OF MERCHANTABILITY OR
|
||||
* FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL PHATWARE CORP.
|
||||
* BE LIABLE TO YOU OR ANYONE ELSE FOR ANY DIRECT, SPECIAL, INCIDENTAL,
|
||||
* INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND, OR ANY DAMAGES WHATSOEVER,
|
||||
* INCLUDING WITHOUT LIMITATION, LOSS OF PROFIT, LOSS OF USE, SAVINGS
|
||||
* OR REVENUE, OR THE CLAIMS OF THIRD PARTIES, WHETHER OR NOT PHATWARE CORP.
|
||||
* HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH LOSS, HOWEVER CAUSED AND ON
|
||||
* ANY THEORY OF LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE
|
||||
* POSSESSION, USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
* See the GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with WritePad HWRE project. If not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
**************************************************************************************/
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <ctype.h>
|
||||
#include "RecognizerWrapper.h"
|
||||
#include "RecoTypes.h"
|
||||
|
||||
#include "ShapeAPI.h"
|
||||
#include "liintern.h"
|
||||
|
||||
#define LIG_NUMBITS (sizeof((*((LIGStatesType*)0))[0]) * 8)
|
||||
#define LIG_BITINDEX(let, gr) ((((let) - LIG_FIRST_LETTER) * LIG_LET_NUM_GROUPS + (gr)) * LIG_NUM_BITS_PER_GROUP)
|
||||
#define LIG_BITSSHIFT(bitindex) (LIG_NUMBITS - LIG_NUM_BITS_PER_GROUP - bitindex % LIG_NUMBITS)
|
||||
|
||||
static const char K_PAIRED_CHARS[][3] = {
|
||||
Executable
+44
@@ -0,0 +1,44 @@
|
||||
/***************************************************************************************
|
||||
*
|
||||
* WRITEPAD(r): Handwriting Recognition Engine (HWRE) and components.
|
||||
* Copyright (c) 2001-2016 PhatWare (r) Corp. All rights reserved.
|
||||
*
|
||||
* Licensing and other inquires: <developer@phatware.com>
|
||||
* Developer: Stan Miasnikov, et al. (c) PhatWare Corp. <http://www.phatware.com>
|
||||
*
|
||||
* WRITEPAD HWRE is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* THE MATERIAL EMBODIED ON THIS SOFTWARE IS PROVIDED TO YOU "AS-IS"
|
||||
* AND WITHOUT WARRANTY OF ANY KIND, EXPRESS, IMPLIED OR OTHERWISE,
|
||||
* INCLUDING WITHOUT LIMITATION, ANY WARRANTY OF MERCHANTABILITY OR
|
||||
* FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL PHATWARE CORP.
|
||||
* BE LIABLE TO YOU OR ANYONE ELSE FOR ANY DIRECT, SPECIAL, INCIDENTAL,
|
||||
* INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND, OR ANY DAMAGES WHATSOEVER,
|
||||
* INCLUDING WITHOUT LIMITATION, LOSS OF PROFIT, LOSS OF USE, SAVINGS
|
||||
* OR REVENUE, OR THE CLAIMS OF THIRD PARTIES, WHETHER OR NOT PHATWARE CORP.
|
||||
* HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH LOSS, HOWEVER CAUSED AND ON
|
||||
* ANY THEORY OF LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE
|
||||
* POSSESSION, USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
* See the GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with WritePad HWRE project. If not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
**************************************************************************************/
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <ctype.h>
|
||||
#include "RecognizerWrapper.h"
|
||||
#include "RecoTypes.h"
|
||||
|
||||
#include "ShapeAPI.h"
|
||||
#include "liintern.h"
|
||||
|
||||
#define LIG_NUMBITS (sizeof((*((LIGStatesType*)0))[0]) * 8)
|
||||
#define LIG_BITINDEX(let, gr) ((((let) - LIG_FIRST_LETTER) * LIG_LET_NUM_GROUPS + (gr)) * LIG_NUM_BITS_PER_GROUP)
|
||||
#define LIG_BITSSHIFT(bitindex) (LIG_NUMBITS - LIG_NUM_BITS_PER_GROUP - bitindex % LIG_NUMBITS)
|
||||
|
||||
static const char K_PAIRED_CHARS[][3] = {
|
||||
Executable
+44
@@ -0,0 +1,44 @@
|
||||
/***************************************************************************************
|
||||
*
|
||||
* WRITEPAD(r): Handwriting Recognition Engine (HWRE) and components.
|
||||
* Copyright (c) 2001-2016 PhatWare (r) Corp. All rights reserved.
|
||||
*
|
||||
* Licensing and other inquires: <developer@phatware.com>
|
||||
* Developer: Stan Miasnikov, et al. (c) PhatWare Corp. <http://www.phatware.com>
|
||||
*
|
||||
* WRITEPAD HWRE is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* THE MATERIAL EMBODIED ON THIS SOFTWARE IS PROVIDED TO YOU "AS-IS"
|
||||
* AND WITHOUT WARRANTY OF ANY KIND, EXPRESS, IMPLIED OR OTHERWISE,
|
||||
* INCLUDING WITHOUT LIMITATION, ANY WARRANTY OF MERCHANTABILITY OR
|
||||
* FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL PHATWARE CORP.
|
||||
* BE LIABLE TO YOU OR ANYONE ELSE FOR ANY DIRECT, SPECIAL, INCIDENTAL,
|
||||
* INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND, OR ANY DAMAGES WHATSOEVER,
|
||||
* INCLUDING WITHOUT LIMITATION, LOSS OF PROFIT, LOSS OF USE, SAVINGS
|
||||
* OR REVENUE, OR THE CLAIMS OF THIRD PARTIES, WHETHER OR NOT PHATWARE CORP.
|
||||
* HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH LOSS, HOWEVER CAUSED AND ON
|
||||
* ANY THEORY OF LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE
|
||||
* POSSESSION, USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
* See the GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with WritePad HWRE project. If not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
**************************************************************************************/
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <ctype.h>
|
||||
#include "RecognizerWrapper.h"
|
||||
#include "RecoTypes.h"
|
||||
|
||||
#include "ShapeAPI.h"
|
||||
#include "liintern.h"
|
||||
|
||||
#define LIG_NUMBITS (sizeof((*((LIGStatesType*)0))[0]) * 8)
|
||||
#define LIG_BITINDEX(let, gr) ((((let) - LIG_FIRST_LETTER) * LIG_LET_NUM_GROUPS + (gr)) * LIG_NUM_BITS_PER_GROUP)
|
||||
#define LIG_BITSSHIFT(bitindex) (LIG_NUMBITS - LIG_NUM_BITS_PER_GROUP - bitindex % LIG_NUMBITS)
|
||||
|
||||
static const char K_PAIRED_CHARS[][3] = {
|
||||
Executable
+44
@@ -0,0 +1,44 @@
|
||||
/***************************************************************************************
|
||||
*
|
||||
* WRITEPAD(r): Handwriting Recognition Engine (HWRE) and components.
|
||||
* Copyright (c) 2001-2016 PhatWare (r) Corp. All rights reserved.
|
||||
*
|
||||
* Licensing and other inquires: <developer@phatware.com>
|
||||
* Developer: Stan Miasnikov, et al. (c) PhatWare Corp. <http://www.phatware.com>
|
||||
*
|
||||
* WRITEPAD HWRE is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* THE MATERIAL EMBODIED ON THIS SOFTWARE IS PROVIDED TO YOU "AS-IS"
|
||||
* AND WITHOUT WARRANTY OF ANY KIND, EXPRESS, IMPLIED OR OTHERWISE,
|
||||
* INCLUDING WITHOUT LIMITATION, ANY WARRANTY OF MERCHANTABILITY OR
|
||||
* FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL PHATWARE CORP.
|
||||
* BE LIABLE TO YOU OR ANYONE ELSE FOR ANY DIRECT, SPECIAL, INCIDENTAL,
|
||||
* INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND, OR ANY DAMAGES WHATSOEVER,
|
||||
* INCLUDING WITHOUT LIMITATION, LOSS OF PROFIT, LOSS OF USE, SAVINGS
|
||||
* OR REVENUE, OR THE CLAIMS OF THIRD PARTIES, WHETHER OR NOT PHATWARE CORP.
|
||||
* HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH LOSS, HOWEVER CAUSED AND ON
|
||||
* ANY THEORY OF LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE
|
||||
* POSSESSION, USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
* See the GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with WritePad HWRE project. If not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
**************************************************************************************/
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <ctype.h>
|
||||
#include "RecognizerWrapper.h"
|
||||
#include "RecoTypes.h"
|
||||
|
||||
#include "ShapeAPI.h"
|
||||
#include "liintern.h"
|
||||
|
||||
#define LIG_NUMBITS (sizeof((*((LIGStatesType*)0))[0]) * 8)
|
||||
#define LIG_BITINDEX(let, gr) ((((let) - LIG_FIRST_LETTER) * LIG_LET_NUM_GROUPS + (gr)) * LIG_NUM_BITS_PER_GROUP)
|
||||
#define LIG_BITSSHIFT(bitindex) (LIG_NUMBITS - LIG_NUM_BITS_PER_GROUP - bitindex % LIG_NUMBITS)
|
||||
|
||||
static const char K_PAIRED_CHARS[][3] = {
|
||||
Executable
+44
@@ -0,0 +1,44 @@
|
||||
/***************************************************************************************
|
||||
*
|
||||
* WRITEPAD(r): Handwriting Recognition Engine (HWRE) and components.
|
||||
* Copyright (c) 2001-2016 PhatWare (r) Corp. All rights reserved.
|
||||
*
|
||||
* Licensing and other inquires: <developer@phatware.com>
|
||||
* Developer: Stan Miasnikov, et al. (c) PhatWare Corp. <http://www.phatware.com>
|
||||
*
|
||||
* WRITEPAD HWRE is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* THE MATERIAL EMBODIED ON THIS SOFTWARE IS PROVIDED TO YOU "AS-IS"
|
||||
* AND WITHOUT WARRANTY OF ANY KIND, EXPRESS, IMPLIED OR OTHERWISE,
|
||||
* INCLUDING WITHOUT LIMITATION, ANY WARRANTY OF MERCHANTABILITY OR
|
||||
* FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL PHATWARE CORP.
|
||||
* BE LIABLE TO YOU OR ANYONE ELSE FOR ANY DIRECT, SPECIAL, INCIDENTAL,
|
||||
* INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND, OR ANY DAMAGES WHATSOEVER,
|
||||
* INCLUDING WITHOUT LIMITATION, LOSS OF PROFIT, LOSS OF USE, SAVINGS
|
||||
* OR REVENUE, OR THE CLAIMS OF THIRD PARTIES, WHETHER OR NOT PHATWARE CORP.
|
||||
* HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH LOSS, HOWEVER CAUSED AND ON
|
||||
* ANY THEORY OF LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE
|
||||
* POSSESSION, USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
* See the GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with WritePad HWRE project. If not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
**************************************************************************************/
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <ctype.h>
|
||||
#include "RecognizerWrapper.h"
|
||||
#include "RecoTypes.h"
|
||||
|
||||
#include "ShapeAPI.h"
|
||||
#include "liintern.h"
|
||||
|
||||
#define LIG_NUMBITS (sizeof((*((LIGStatesType*)0))[0]) * 8)
|
||||
#define LIG_BITINDEX(let, gr) ((((let) - LIG_FIRST_LETTER) * LIG_LET_NUM_GROUPS + (gr)) * LIG_NUM_BITS_PER_GROUP)
|
||||
#define LIG_BITSSHIFT(bitindex) (LIG_NUMBITS - LIG_NUM_BITS_PER_GROUP - bitindex % LIG_NUMBITS)
|
||||
|
||||
static const char K_PAIRED_CHARS[][3] = {
|
||||
Executable
+44
@@ -0,0 +1,44 @@
|
||||
/***************************************************************************************
|
||||
*
|
||||
* WRITEPAD(r): Handwriting Recognition Engine (HWRE) and components.
|
||||
* Copyright (c) 2001-2016 PhatWare (r) Corp. All rights reserved.
|
||||
*
|
||||
* Licensing and other inquires: <developer@phatware.com>
|
||||
* Developer: Stan Miasnikov, et al. (c) PhatWare Corp. <http://www.phatware.com>
|
||||
*
|
||||
* WRITEPAD HWRE is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* THE MATERIAL EMBODIED ON THIS SOFTWARE IS PROVIDED TO YOU "AS-IS"
|
||||
* AND WITHOUT WARRANTY OF ANY KIND, EXPRESS, IMPLIED OR OTHERWISE,
|
||||
* INCLUDING WITHOUT LIMITATION, ANY WARRANTY OF MERCHANTABILITY OR
|
||||
* FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL PHATWARE CORP.
|
||||
* BE LIABLE TO YOU OR ANYONE ELSE FOR ANY DIRECT, SPECIAL, INCIDENTAL,
|
||||
* INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND, OR ANY DAMAGES WHATSOEVER,
|
||||
* INCLUDING WITHOUT LIMITATION, LOSS OF PROFIT, LOSS OF USE, SAVINGS
|
||||
* OR REVENUE, OR THE CLAIMS OF THIRD PARTIES, WHETHER OR NOT PHATWARE CORP.
|
||||
* HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH LOSS, HOWEVER CAUSED AND ON
|
||||
* ANY THEORY OF LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE
|
||||
* POSSESSION, USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
* See the GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with WritePad HWRE project. If not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
**************************************************************************************/
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <ctype.h>
|
||||
#include "RecognizerWrapper.h"
|
||||
#include "RecoTypes.h"
|
||||
|
||||
#include "ShapeAPI.h"
|
||||
#include "liintern.h"
|
||||
|
||||
#define LIG_NUMBITS (sizeof((*((LIGStatesType*)0))[0]) * 8)
|
||||
#define LIG_BITINDEX(let, gr) ((((let) - LIG_FIRST_LETTER) * LIG_LET_NUM_GROUPS + (gr)) * LIG_NUM_BITS_PER_GROUP)
|
||||
#define LIG_BITSSHIFT(bitindex) (LIG_NUMBITS - LIG_NUM_BITS_PER_GROUP - bitindex % LIG_NUMBITS)
|
||||
|
||||
static const char K_PAIRED_CHARS[][3] = {
|
||||
Executable
+44
@@ -0,0 +1,44 @@
|
||||
/***************************************************************************************
|
||||
*
|
||||
* WRITEPAD(r): Handwriting Recognition Engine (HWRE) and components.
|
||||
* Copyright (c) 2001-2016 PhatWare (r) Corp. All rights reserved.
|
||||
*
|
||||
* Licensing and other inquires: <developer@phatware.com>
|
||||
* Developer: Stan Miasnikov, et al. (c) PhatWare Corp. <http://www.phatware.com>
|
||||
*
|
||||
* WRITEPAD HWRE is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* THE MATERIAL EMBODIED ON THIS SOFTWARE IS PROVIDED TO YOU "AS-IS"
|
||||
* AND WITHOUT WARRANTY OF ANY KIND, EXPRESS, IMPLIED OR OTHERWISE,
|
||||
* INCLUDING WITHOUT LIMITATION, ANY WARRANTY OF MERCHANTABILITY OR
|
||||
* FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL PHATWARE CORP.
|
||||
* BE LIABLE TO YOU OR ANYONE ELSE FOR ANY DIRECT, SPECIAL, INCIDENTAL,
|
||||
* INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND, OR ANY DAMAGES WHATSOEVER,
|
||||
* INCLUDING WITHOUT LIMITATION, LOSS OF PROFIT, LOSS OF USE, SAVINGS
|
||||
* OR REVENUE, OR THE CLAIMS OF THIRD PARTIES, WHETHER OR NOT PHATWARE CORP.
|
||||
* HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH LOSS, HOWEVER CAUSED AND ON
|
||||
* ANY THEORY OF LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE
|
||||
* POSSESSION, USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
* See the GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with WritePad HWRE project. If not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
**************************************************************************************/
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <ctype.h>
|
||||
#include "RecognizerWrapper.h"
|
||||
#include "RecoTypes.h"
|
||||
|
||||
#include "ShapeAPI.h"
|
||||
#include "liintern.h"
|
||||
|
||||
#define LIG_NUMBITS (sizeof((*((LIGStatesType*)0))[0]) * 8)
|
||||
#define LIG_BITINDEX(let, gr) ((((let) - LIG_FIRST_LETTER) * LIG_LET_NUM_GROUPS + (gr)) * LIG_NUM_BITS_PER_GROUP)
|
||||
#define LIG_BITSSHIFT(bitindex) (LIG_NUMBITS - LIG_NUM_BITS_PER_GROUP - bitindex % LIG_NUMBITS)
|
||||
|
||||
static const char K_PAIRED_CHARS[][3] = {
|
||||
Executable
+44
@@ -0,0 +1,44 @@
|
||||
/***************************************************************************************
|
||||
*
|
||||
* WRITEPAD(r): Handwriting Recognition Engine (HWRE) and components.
|
||||
* Copyright (c) 2001-2016 PhatWare (r) Corp. All rights reserved.
|
||||
*
|
||||
* Licensing and other inquires: <developer@phatware.com>
|
||||
* Developer: Stan Miasnikov, et al. (c) PhatWare Corp. <http://www.phatware.com>
|
||||
*
|
||||
* WRITEPAD HWRE is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* THE MATERIAL EMBODIED ON THIS SOFTWARE IS PROVIDED TO YOU "AS-IS"
|
||||
* AND WITHOUT WARRANTY OF ANY KIND, EXPRESS, IMPLIED OR OTHERWISE,
|
||||
* INCLUDING WITHOUT LIMITATION, ANY WARRANTY OF MERCHANTABILITY OR
|
||||
* FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL PHATWARE CORP.
|
||||
* BE LIABLE TO YOU OR ANYONE ELSE FOR ANY DIRECT, SPECIAL, INCIDENTAL,
|
||||
* INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND, OR ANY DAMAGES WHATSOEVER,
|
||||
* INCLUDING WITHOUT LIMITATION, LOSS OF PROFIT, LOSS OF USE, SAVINGS
|
||||
* OR REVENUE, OR THE CLAIMS OF THIRD PARTIES, WHETHER OR NOT PHATWARE CORP.
|
||||
* HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH LOSS, HOWEVER CAUSED AND ON
|
||||
* ANY THEORY OF LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE
|
||||
* POSSESSION, USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
* See the GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with WritePad HWRE project. If not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
**************************************************************************************/
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <ctype.h>
|
||||
#include "RecognizerWrapper.h"
|
||||
#include "RecoTypes.h"
|
||||
|
||||
#include "ShapeAPI.h"
|
||||
#include "liintern.h"
|
||||
|
||||
#define LIG_NUMBITS (sizeof((*((LIGStatesType*)0))[0]) * 8)
|
||||
#define LIG_BITINDEX(let, gr) ((((let) - LIG_FIRST_LETTER) * LIG_LET_NUM_GROUPS + (gr)) * LIG_NUM_BITS_PER_GROUP)
|
||||
#define LIG_BITSSHIFT(bitindex) (LIG_NUMBITS - LIG_NUM_BITS_PER_GROUP - bitindex % LIG_NUMBITS)
|
||||
|
||||
static const char K_PAIRED_CHARS[][3] = {
|
||||
Executable
+44
@@ -0,0 +1,44 @@
|
||||
/***************************************************************************************
|
||||
*
|
||||
* WRITEPAD(r): Handwriting Recognition Engine (HWRE) and components.
|
||||
* Copyright (c) 2001-2016 PhatWare (r) Corp. All rights reserved.
|
||||
*
|
||||
* Licensing and other inquires: <developer@phatware.com>
|
||||
* Developer: Stan Miasnikov, et al. (c) PhatWare Corp. <http://www.phatware.com>
|
||||
*
|
||||
* WRITEPAD HWRE is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* THE MATERIAL EMBODIED ON THIS SOFTWARE IS PROVIDED TO YOU "AS-IS"
|
||||
* AND WITHOUT WARRANTY OF ANY KIND, EXPRESS, IMPLIED OR OTHERWISE,
|
||||
* INCLUDING WITHOUT LIMITATION, ANY WARRANTY OF MERCHANTABILITY OR
|
||||
* FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL PHATWARE CORP.
|
||||
* BE LIABLE TO YOU OR ANYONE ELSE FOR ANY DIRECT, SPECIAL, INCIDENTAL,
|
||||
* INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND, OR ANY DAMAGES WHATSOEVER,
|
||||
* INCLUDING WITHOUT LIMITATION, LOSS OF PROFIT, LOSS OF USE, SAVINGS
|
||||
* OR REVENUE, OR THE CLAIMS OF THIRD PARTIES, WHETHER OR NOT PHATWARE CORP.
|
||||
* HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH LOSS, HOWEVER CAUSED AND ON
|
||||
* ANY THEORY OF LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE
|
||||
* POSSESSION, USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
* See the GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with WritePad HWRE project. If not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
**************************************************************************************/
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <ctype.h>
|
||||
#include "RecognizerWrapper.h"
|
||||
#include "RecoTypes.h"
|
||||
|
||||
#include "ShapeAPI.h"
|
||||
#include "liintern.h"
|
||||
|
||||
#define LIG_NUMBITS (sizeof((*((LIGStatesType*)0))[0]) * 8)
|
||||
#define LIG_BITINDEX(let, gr) ((((let) - LIG_FIRST_LETTER) * LIG_LET_NUM_GROUPS + (gr)) * LIG_NUM_BITS_PER_GROUP)
|
||||
#define LIG_BITSSHIFT(bitindex) (LIG_NUMBITS - LIG_NUM_BITS_PER_GROUP - bitindex % LIG_NUMBITS)
|
||||
|
||||
static const char K_PAIRED_CHARS[][3] = {
|
||||
Executable
+44
@@ -0,0 +1,44 @@
|
||||
/***************************************************************************************
|
||||
*
|
||||
* WRITEPAD(r): Handwriting Recognition Engine (HWRE) and components.
|
||||
* Copyright (c) 2001-2016 PhatWare (r) Corp. All rights reserved.
|
||||
*
|
||||
* Licensing and other inquires: <developer@phatware.com>
|
||||
* Developer: Stan Miasnikov, et al. (c) PhatWare Corp. <http://www.phatware.com>
|
||||
*
|
||||
* WRITEPAD HWRE is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* THE MATERIAL EMBODIED ON THIS SOFTWARE IS PROVIDED TO YOU "AS-IS"
|
||||
* AND WITHOUT WARRANTY OF ANY KIND, EXPRESS, IMPLIED OR OTHERWISE,
|
||||
* INCLUDING WITHOUT LIMITATION, ANY WARRANTY OF MERCHANTABILITY OR
|
||||
* FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL PHATWARE CORP.
|
||||
* BE LIABLE TO YOU OR ANYONE ELSE FOR ANY DIRECT, SPECIAL, INCIDENTAL,
|
||||
* INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND, OR ANY DAMAGES WHATSOEVER,
|
||||
* INCLUDING WITHOUT LIMITATION, LOSS OF PROFIT, LOSS OF USE, SAVINGS
|
||||
* OR REVENUE, OR THE CLAIMS OF THIRD PARTIES, WHETHER OR NOT PHATWARE CORP.
|
||||
* HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH LOSS, HOWEVER CAUSED AND ON
|
||||
* ANY THEORY OF LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE
|
||||
* POSSESSION, USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
* See the GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with WritePad. If not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
**************************************************************************************/
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <ctype.h>
|
||||
#include "RecognizerWrapper.h"
|
||||
#include "RecoTypes.h"
|
||||
|
||||
#include "ShapeAPI.h"
|
||||
#include "liintern.h"
|
||||
|
||||
#define LIG_NUMBITS (sizeof((*((LIGStatesType*)0))[0]) * 8)
|
||||
#define LIG_BITINDEX(let, gr) ((((let) - LIG_FIRST_LETTER) * LIG_LET_NUM_GROUPS + (gr)) * LIG_NUM_BITS_PER_GROUP)
|
||||
#define LIG_BITSSHIFT(bitindex) (LIG_NUMBITS - LIG_NUM_BITS_PER_GROUP - bitindex % LIG_NUMBITS)
|
||||
|
||||
static const char K_PAIRED_CHARS[][3] = {
|
||||
Executable
+44
@@ -0,0 +1,44 @@
|
||||
/***************************************************************************************
|
||||
*
|
||||
* WRITEPAD(r): Handwriting Recognition Engine (HWRE) and components.
|
||||
* Copyright (c) 2001-2016 PhatWare (r) Corp. All rights reserved.
|
||||
*
|
||||
* Licensing and other inquires: <developer@phatware.com>
|
||||
* Developer: Stan Miasnikov, et al. (c) PhatWare Corp. <http://www.phatware.com>
|
||||
*
|
||||
* WRITEPAD HWRE is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* THE MATERIAL EMBODIED ON THIS SOFTWARE IS PROVIDED TO YOU "AS-IS"
|
||||
* AND WITHOUT WARRANTY OF ANY KIND, EXPRESS, IMPLIED OR OTHERWISE,
|
||||
* INCLUDING WITHOUT LIMITATION, ANY WARRANTY OF MERCHANTABILITY OR
|
||||
* FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL PHATWARE CORP.
|
||||
* BE LIABLE TO YOU OR ANYONE ELSE FOR ANY DIRECT, SPECIAL, INCIDENTAL,
|
||||
* INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND, OR ANY DAMAGES WHATSOEVER,
|
||||
* INCLUDING WITHOUT LIMITATION, LOSS OF PROFIT, LOSS OF USE, SAVINGS
|
||||
* OR REVENUE, OR THE CLAIMS OF THIRD PARTIES, WHETHER OR NOT PHATWARE CORP.
|
||||
* HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH LOSS, HOWEVER CAUSED AND ON
|
||||
* ANY THEORY OF LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE
|
||||
* POSSESSION, USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
* See the GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with WritePad. If not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
**************************************************************************************/
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <ctype.h>
|
||||
#include "RecognizerWrapper.h"
|
||||
#include "RecoTypes.h"
|
||||
|
||||
#include "ShapeAPI.h"
|
||||
#include "liintern.h"
|
||||
|
||||
#define LIG_NUMBITS (sizeof((*((LIGStatesType*)0))[0]) * 8)
|
||||
#define LIG_BITINDEX(let, gr) ((((let) - LIG_FIRST_LETTER) * LIG_LET_NUM_GROUPS + (gr)) * LIG_NUM_BITS_PER_GROUP)
|
||||
#define LIG_BITSSHIFT(bitindex) (LIG_NUMBITS - LIG_NUM_BITS_PER_GROUP - bitindex % LIG_NUMBITS)
|
||||
|
||||
static const char K_PAIRED_CHARS[][3] = {
|
||||
Executable
+44
@@ -0,0 +1,44 @@
|
||||
/***************************************************************************************
|
||||
*
|
||||
* WRITEPAD(r): Handwriting Recognition Engine (HWRE) and components.
|
||||
* Copyright (c) 2001-2016 PhatWare (r) Corp. All rights reserved.
|
||||
*
|
||||
* Licensing and other inquires: <developer@phatware.com>
|
||||
* Developer: Stan Miasnikov, et al. (c) PhatWare Corp. <http://www.phatware.com>
|
||||
*
|
||||
* WRITEPAD HWRE is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* THE MATERIAL EMBODIED ON THIS SOFTWARE IS PROVIDED TO YOU "AS-IS"
|
||||
* AND WITHOUT WARRANTY OF ANY KIND, EXPRESS, IMPLIED OR OTHERWISE,
|
||||
* INCLUDING WITHOUT LIMITATION, ANY WARRANTY OF MERCHANTABILITY OR
|
||||
* FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL PHATWARE CORP.
|
||||
* BE LIABLE TO YOU OR ANYONE ELSE FOR ANY DIRECT, SPECIAL, INCIDENTAL,
|
||||
* INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND, OR ANY DAMAGES WHATSOEVER,
|
||||
* INCLUDING WITHOUT LIMITATION, LOSS OF PROFIT, LOSS OF USE, SAVINGS
|
||||
* OR REVENUE, OR THE CLAIMS OF THIRD PARTIES, WHETHER OR NOT PHATWARE CORP.
|
||||
* HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH LOSS, HOWEVER CAUSED AND ON
|
||||
* ANY THEORY OF LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE
|
||||
* POSSESSION, USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
* See the GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with WritePad. If not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
**************************************************************************************/
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <ctype.h>
|
||||
#include "RecognizerWrapper.h"
|
||||
#include "RecoTypes.h"
|
||||
|
||||
#include "ShapeAPI.h"
|
||||
#include "liintern.h"
|
||||
|
||||
#define LIG_NUMBITS (sizeof((*((LIGStatesType*)0))[0]) * 8)
|
||||
#define LIG_BITINDEX(let, gr) ((((let) - LIG_FIRST_LETTER) * LIG_LET_NUM_GROUPS + (gr)) * LIG_NUM_BITS_PER_GROUP)
|
||||
#define LIG_BITSSHIFT(bitindex) (LIG_NUMBITS - LIG_NUM_BITS_PER_GROUP - bitindex % LIG_NUMBITS)
|
||||
|
||||
static const char K_PAIRED_CHARS[][3] = {
|
||||
Executable
+44
@@ -0,0 +1,44 @@
|
||||
/***************************************************************************************
|
||||
*
|
||||
* WRITEPAD(r): Handwriting Recognition Engine (HWRE) and components.
|
||||
* Copyright (c) 2001-2016 PhatWare (r) Corp. All rights reserved.
|
||||
*
|
||||
* Licensing and other inquires: <developer@phatware.com>
|
||||
* Developer: Stan Miasnikov, et al. (c) PhatWare Corp. <http://www.phatware.com>
|
||||
*
|
||||
* WRITEPAD HWRE is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* THE MATERIAL EMBODIED ON THIS SOFTWARE IS PROVIDED TO YOU "AS-IS"
|
||||
* AND WITHOUT WARRANTY OF ANY KIND, EXPRESS, IMPLIED OR OTHERWISE,
|
||||
* INCLUDING WITHOUT LIMITATION, ANY WARRANTY OF MERCHANTABILITY OR
|
||||
* FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL PHATWARE CORP.
|
||||
* BE LIABLE TO YOU OR ANYONE ELSE FOR ANY DIRECT, SPECIAL, INCIDENTAL,
|
||||
* INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND, OR ANY DAMAGES WHATSOEVER,
|
||||
* INCLUDING WITHOUT LIMITATION, LOSS OF PROFIT, LOSS OF USE, SAVINGS
|
||||
* OR REVENUE, OR THE CLAIMS OF THIRD PARTIES, WHETHER OR NOT PHATWARE CORP.
|
||||
* HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH LOSS, HOWEVER CAUSED AND ON
|
||||
* ANY THEORY OF LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE
|
||||
* POSSESSION, USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
* See the GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with WritePad. If not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
**************************************************************************************/
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <ctype.h>
|
||||
#include "RecognizerWrapper.h"
|
||||
#include "RecoTypes.h"
|
||||
|
||||
#include "ShapeAPI.h"
|
||||
#include "liintern.h"
|
||||
|
||||
#define LIG_NUMBITS (sizeof((*((LIGStatesType*)0))[0]) * 8)
|
||||
#define LIG_BITINDEX(let, gr) ((((let) - LIG_FIRST_LETTER) * LIG_LET_NUM_GROUPS + (gr)) * LIG_NUM_BITS_PER_GROUP)
|
||||
#define LIG_BITSSHIFT(bitindex) (LIG_NUMBITS - LIG_NUM_BITS_PER_GROUP - bitindex % LIG_NUMBITS)
|
||||
|
||||
static const char K_PAIRED_CHARS[][3] = {
|
||||
Executable
+54
@@ -0,0 +1,54 @@
|
||||
LOCAL_PATH := $(call my-dir)
|
||||
|
||||
#########
|
||||
### Static Library
|
||||
#########
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
LOCAL_MODULE := libWritePadRecos
|
||||
|
||||
LOCAL_CFLAGS := -DRECODICT -D_EMBEDDED_DEVICE \
|
||||
-D_FLAT_32 -DHWR_SYSTEM=HWR_LINUX -D_OS_LINUX \
|
||||
-DLANG_SPANISH \
|
||||
-DLANG_SWED \
|
||||
-DLANG_GERMAN \
|
||||
-DLANG_FRENCH \
|
||||
-DLANG_DUTCH \
|
||||
-DLANG_PORTUGUESE \
|
||||
-DLANG_PORTUGUESEB \
|
||||
-DLANG_ITALIAN \
|
||||
-DLANG_NORW \
|
||||
-DLANG_DAN \
|
||||
-DLANG_FINNISH \
|
||||
-DLANG_ENGLISH \
|
||||
-DLANG_INDONESIAN \
|
||||
-DLANG_ENGLISHUK \
|
||||
-I. \
|
||||
-I$(LOCAL_PATH)/../../../UniversalRecognizer/V300/InkData \
|
||||
-I$(LOCAL_PATH)/../../../UniversalRecognizer/V300/RecognizerWrapper \
|
||||
-I$(LOCAL_PATH)/../../../UniversalRecognizer/V300/reco/include \
|
||||
-I$(LOCAL_PATH)/../../../UniversalRecognizer/V300/reco/data \
|
||||
-I$(LOCAL_PATH)/../../../UniversalRecognizer/V300/include \
|
||||
-Wno-multichar \
|
||||
-std=gnu++11
|
||||
|
||||
|
||||
include jni/filelist.mk
|
||||
|
||||
include $(BUILD_STATIC_LIBRARY)
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
LOCAL_MODULE := WritePadReco
|
||||
|
||||
LOCAL_CFLAGS := -I$(LOCAL_PATH)/include -std=gnu99
|
||||
|
||||
LOCAL_SRC_FILES := interface.c letimg.c lidata.c
|
||||
|
||||
# LOCAL_LDLIBS := -ldl -llog # -lGLESv1_CM
|
||||
|
||||
LOCAL_STATIC_LIBRARIES := libWritePadRecos
|
||||
|
||||
include $(BUILD_SHARED_LIBRARY)
|
||||
|
||||
Executable
+4
@@ -0,0 +1,4 @@
|
||||
#APP_PROJECT_PATH := $(call my-dir)/jni
|
||||
APP_OPTIM := release
|
||||
APP_MODULES := libWritePadRecos WritePadReco
|
||||
APP_ABI := all
|
||||
Executable
+79
@@ -0,0 +1,79 @@
|
||||
LOCAL_SRC_FILES := \
|
||||
../../../UniversalRecognizer/V300/InkData/InkData.cpp \
|
||||
../../../UniversalRecognizer/V300/InkData/PHStream.cpp \
|
||||
../../../UniversalRecognizer/V300/InkData/PHStroke.cpp \
|
||||
../../../UniversalRecognizer/V300/InkData/UndoAction.cpp \
|
||||
../../../UniversalRecognizer/V300/InkData/InkWrapper.cpp \
|
||||
../../../UniversalRecognizer/V300/InkData/ShapesRec.cpp \
|
||||
../../../UniversalRecognizer/V300/InkData/ImageObject.cpp \
|
||||
../../../UniversalRecognizer/V300/InkData/TextObject.cpp \
|
||||
../../../UniversalRecognizer/V300/RecognizerWrapper/gestures.cpp \
|
||||
../../../UniversalRecognizer/V300/RecognizerWrapper/PhatCalc.cpp \
|
||||
../../../UniversalRecognizer/V300/RecognizerWrapper/WordFile.cpp \
|
||||
../../../UniversalRecognizer/V300/RecognizerWrapper/WordLrnFile.cpp \
|
||||
../../../UniversalRecognizer/V300/RecognizerWrapper/RecognizerWrapper.cpp \
|
||||
../../../UniversalRecognizer/V300/reco/src/reco.cpp \
|
||||
../../../UniversalRecognizer/V300/reco/src/recokern.cpp \
|
||||
../../../UniversalRecognizer/V300/reco/src/recolibs.cpp \
|
||||
../../../UniversalRecognizer/V300/reco/src/recoutil.cpp \
|
||||
../../../UniversalRecognizer/V300/reco/src/recodict.cpp \
|
||||
../../../UniversalRecognizer/V300/reco/src/hwrctype.cpp \
|
||||
../../../UniversalRecognizer/V300/reco/src/post_cap_tbl.cpp \
|
||||
../../../UniversalRecognizer/V300/reco/src/post_capital.cpp \
|
||||
../../../UniversalRecognizer/V300/reco/src/hwrswap.cpp \
|
||||
../../../UniversalRecognizer/V300/reco/src/langutil.cpp \
|
||||
../../../UniversalRecognizer/V300/reco/src/hwrmem.cpp \
|
||||
../../../UniversalRecognizer/V300/reco/src/hwrmath.cpp \
|
||||
../../../UniversalRecognizer/V300/reco/src/hwrstr.cpp \
|
||||
../../../UniversalRecognizer/V300/reco/src/letimagestodte.cpp \
|
||||
../../../UniversalRecognizer/V300/reco/src/dtiutil.cpp \
|
||||
../../../UniversalRecognizer/V300/reco/src/ldbutil.cpp \
|
||||
../../../UniversalRecognizer/V300/reco/src/ligstate.cpp \
|
||||
../../../UniversalRecognizer/V300/reco/src/newdict.cpp \
|
||||
../../../UniversalRecognizer/V300/reco/src/spell.cpp \
|
||||
../../../UniversalRecognizer/V300/reco/src/calccell.cpp \
|
||||
../../../UniversalRecognizer/V300/reco/src/bitmaps.cpp \
|
||||
../../../UniversalRecognizer/V300/reco/src/param.cpp \
|
||||
../../../UniversalRecognizer/V300/reco/src/angle.cpp \
|
||||
../../../UniversalRecognizer/V300/reco/src/arcs.cpp \
|
||||
../../../UniversalRecognizer/V300/reco/src/breaks.cpp \
|
||||
../../../UniversalRecognizer/V300/reco/src/check.cpp \
|
||||
../../../UniversalRecognizer/V300/reco/src/circle.cpp \
|
||||
../../../UniversalRecognizer/V300/reco/src/convert.cpp \
|
||||
../../../UniversalRecognizer/V300/reco/src/cross_geometry.cpp \
|
||||
../../../UniversalRecognizer/V300/reco/src/cross.cpp \
|
||||
../../../UniversalRecognizer/V300/reco/src/triadsutil.cpp \
|
||||
../../../UniversalRecognizer/V300/reco/src/connections.cpp \
|
||||
../../../UniversalRecognizer/V300/reco/data/dti_img.cpp \
|
||||
../../../UniversalRecognizer/V300/reco/data/ldb_img.cpp \
|
||||
../../../UniversalRecognizer/V300/reco/data/snn_img.cpp \
|
||||
../../../UniversalRecognizer/V300/reco/data/trd_img.cpp \
|
||||
../../../UniversalRecognizer/V300/reco/data/vprf_img.cpp \
|
||||
../../../UniversalRecognizer/V300/reco/data/vsuf_img.cpp \
|
||||
../../../UniversalRecognizer/V300/reco/src/xrdict.cpp \
|
||||
../../../UniversalRecognizer/V300/reco/src/utils.cpp \
|
||||
../../../UniversalRecognizer/V300/reco/src/xrattrib.cpp \
|
||||
../../../UniversalRecognizer/V300/reco/src/xrmatrix.cpp \
|
||||
../../../UniversalRecognizer/V300/reco/src/poly.cpp \
|
||||
../../../UniversalRecognizer/V300/reco/src/mlp.cpp \
|
||||
../../../UniversalRecognizer/V300/reco/src/filter.cpp \
|
||||
../../../UniversalRecognizer/V300/reco/src/pict.cpp \
|
||||
../../../UniversalRecognizer/V300/reco/src/prep.cpp \
|
||||
../../../UniversalRecognizer/V300/reco/src/sketch.cpp \
|
||||
../../../UniversalRecognizer/V300/reco/src/stroke.cpp \
|
||||
../../../UniversalRecognizer/V300/reco/src/stroke1.cpp \
|
||||
../../../UniversalRecognizer/V300/reco/src/links.cpp \
|
||||
../../../UniversalRecognizer/V300/reco/src/link_begin.cpp \
|
||||
../../../UniversalRecognizer/V300/reco/src/link_next.cpp \
|
||||
../../../UniversalRecognizer/V300/reco/src/low3.cpp \
|
||||
../../../UniversalRecognizer/V300/reco/src/low_util.cpp \
|
||||
../../../UniversalRecognizer/V300/reco/src/luspecl.cpp \
|
||||
../../../UniversalRecognizer/V300/reco/src/tracedata.cpp \
|
||||
../../../UniversalRecognizer/V300/reco/src/dct_functions.cpp \
|
||||
../../../UniversalRecognizer/V300/reco/src/low_data.cpp \
|
||||
../../../UniversalRecognizer/V300/reco/src/apostroph.cpp \
|
||||
../../../UniversalRecognizer/V300/reco/src/wordbreaks.cpp \
|
||||
../../../UniversalRecognizer/V300/reco/src/wordcorrector.cpp \
|
||||
../../../UniversalRecognizer/V300/reco/src/worddict.cpp \
|
||||
../../../UniversalRecognizer/V300/reco/src/wordsegment.cpp \
|
||||
../../../UniversalRecognizer/V300/reco/src/precutil.cpp
|
||||
Executable
+159
@@ -0,0 +1,159 @@
|
||||
/***************************************************************************************
|
||||
*
|
||||
* WRITEPAD(r): Handwriting Recognition Engine (HWRE) and components.
|
||||
* Copyright (c) 2001-2016 PhatWare (r) Corp. All rights reserved.
|
||||
*
|
||||
* Licensing and other inquires: <developer@phatware.com>
|
||||
* Developer: Stan Miasnikov, et al. (c) PhatWare Corp. <http://www.phatware.com>
|
||||
*
|
||||
* WRITEPAD HWRE is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* THE MATERIAL EMBODIED ON THIS SOFTWARE IS PROVIDED TO YOU "AS-IS"
|
||||
* AND WITHOUT WARRANTY OF ANY KIND, EXPRESS, IMPLIED OR OTHERWISE,
|
||||
* INCLUDING WITHOUT LIMITATION, ANY WARRANTY OF MERCHANTABILITY OR
|
||||
* FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL PHATWARE CORP.
|
||||
* BE LIABLE TO YOU OR ANYONE ELSE FOR ANY DIRECT, SPECIAL, INCIDENTAL,
|
||||
* INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND, OR ANY DAMAGES WHATSOEVER,
|
||||
* INCLUDING WITHOUT LIMITATION, LOSS OF PROFIT, LOSS OF USE, SAVINGS
|
||||
* OR REVENUE, OR THE CLAIMS OF THIRD PARTIES, WHETHER OR NOT PHATWARE CORP.
|
||||
* HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH LOSS, HOWEVER CAUSED AND ON
|
||||
* ANY THEORY OF LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE
|
||||
* POSSESSION, USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
* See the GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with WritePad. If not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
**************************************************************************************/
|
||||
|
||||
#ifndef __ink_wrapper_h__
|
||||
#define __ink_wrapper_h__
|
||||
|
||||
#include <stdio.h>
|
||||
#include "RecognizerApi.h"
|
||||
|
||||
#define LF_FONT_BOLD 0x00000001
|
||||
#define LF_FONT_ITALIC 0x00000002
|
||||
#define LF_FONT_UNDERSCORE 0x00000004
|
||||
#define LF_FONT_STRIKE 0x00000008
|
||||
|
||||
#define OBJECTFLAG_POSITIONLOCKED 0x00010000
|
||||
#define OBJECTFLAG_SIZELOCKED 0x00020000
|
||||
#define OBJECTFLAG_CONTENTLOCKED 0x00040000
|
||||
#define OBJECTFLAG_LOCKED 0x00070000
|
||||
#define OBJECTFLAG_GROUPED 0x00100000
|
||||
|
||||
#if defined(__cplusplus)
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
|
||||
typedef void * INK_DATA_PTR;
|
||||
|
||||
typedef struct __ImageAttributes
|
||||
{
|
||||
CGRect imagerect;
|
||||
int iZOrder;
|
||||
int nIndex;
|
||||
void * pData;
|
||||
UInt32 nDataSize;
|
||||
void * userData;
|
||||
UInt32 flags;
|
||||
} ImageAttributes;
|
||||
|
||||
typedef struct __TextAttributes
|
||||
{
|
||||
CGRect textrect;
|
||||
int iZOrder;
|
||||
int nIndex;
|
||||
LPCUSTR pUnicodeText;
|
||||
UInt32 nTextLength;
|
||||
LPUSTR pFontName;
|
||||
int fontSize;
|
||||
UInt32 fontAttributes;
|
||||
UInt32 alignment;
|
||||
COLORREF fontColor;
|
||||
COLORREF backColor;
|
||||
void * userData;
|
||||
UInt32 flags;
|
||||
} TextAttributes;
|
||||
|
||||
// Ink data API
|
||||
INK_DATA_PTR INK_InitData();
|
||||
void INK_FreeData( INK_DATA_PTR pData );
|
||||
void INK_Erase( INK_DATA_PTR pData );
|
||||
int INK_StrokeCount( INK_DATA_PTR pData, BOOL selectedOnly );
|
||||
BOOL INK_DeleteStroke( INK_DATA_PTR pData, int nStroke );
|
||||
SHAPETYPE INK_RecognizeShape( CGStroke pStroke, int nStrokeCnt, SHAPETYPE inType );
|
||||
int INK_AddStroke( INK_DATA_PTR pData, CGStroke pStroke, int nStrokeCnt, float fWidth, COLORREF color );
|
||||
int INK_GetStroke( INK_DATA_PTR pData, int nStroke, CGPoint ** ppoints, float * pfWidth, COLORREF * color );
|
||||
int INK_GetStrokeP( INK_DATA_PTR pData, int nStroke, CGStroke * ppoints, float * pfWidth, COLORREF * pColor );
|
||||
BOOL INK_GetStrokeRect( INK_DATA_PTR pData, int nStroke, CGRect * rect, BOOL bAddWidth );
|
||||
BOOL INK_GetDataRect( INK_DATA_PTR pData, CGRect * rect, BOOL selectedOnly );
|
||||
int INK_AddEmptyStroke( INK_DATA_PTR pData, float fWidth, COLORREF color );
|
||||
int INK_AddPixelToStroke( INK_DATA_PTR pData, int nStroke, float x, float y, int p );
|
||||
BOOL INK_GetStrokePointP( INK_DATA_PTR pData, int nStroke, int nPoint, float * pX, float * pY, int *pP );
|
||||
BOOL INK_GetStrokePoint( INK_DATA_PTR pData, int nStroke, int nPoint, float * pX, float * pY );
|
||||
INK_DATA_PTR INK_CreateCopy( INK_DATA_PTR pData );
|
||||
void INK_SortInk( INK_DATA_PTR pData );
|
||||
void INK_Undo( INK_DATA_PTR pData );
|
||||
void INK_Redo( INK_DATA_PTR pData );
|
||||
void INK_EnableUndo( INK_DATA_PTR pData, BOOL enable );
|
||||
BOOL INK_CanRedo( INK_DATA_PTR pData );
|
||||
BOOL INK_CanUndo( INK_DATA_PTR pData );
|
||||
BOOL INK_SelectAllStrokes( INK_DATA_PTR pData, BOOL bSelect );
|
||||
BOOL INK_DeleteSelectedStrokes( INK_DATA_PTR pData, BOOL bAll );
|
||||
void INK_SetStrokesRecognizable( INK_DATA_PTR pData, BOOL bSet, BOOL bSelectedOnly );
|
||||
void INK_SetStrokeRecognizable( INK_DATA_PTR pData, int nStroke, BOOL bSet );
|
||||
void INK_SelectStroke( INK_DATA_PTR pData, int nStroke, BOOL bSelect );
|
||||
BOOL INK_IsStrokeRecognizable( INK_DATA_PTR pData, int nStroke );
|
||||
BOOL INK_IsStrokeSelected( INK_DATA_PTR pData, int nStroke );
|
||||
void INK_SetUndoLevels( INK_DATA_PTR pData, int levels );
|
||||
int INK_Serialize( INK_DATA_PTR pData, BOOL bWrite, FILE * pFile, void ** ppData, long * pcbSize, BOOL skipImages, BOOL savePressure );
|
||||
BOOL INK_Paste( INK_DATA_PTR pData, const void * pRawData, long cbSize, CGPoint atPosition );
|
||||
BOOL INK_Copy( INK_DATA_PTR pData, void ** ppRawData, long * pcbSize );
|
||||
BOOL INK_MoveStroke( INK_DATA_PTR pData, int nStroke, float xOffset, float yOffset, CGRect * pRect, BOOL recordUndo );
|
||||
void INK_ChangeSelZOrder( INK_DATA_PTR pData, int iDepth, BOOL bFwd );
|
||||
BOOL INK_IsShapeRecognitionEnabled( INK_DATA_PTR pData );
|
||||
void INK_EnableShapeRecognition( INK_DATA_PTR pData, BOOL bEnable );
|
||||
int INK_FindStrokeByPoint( INK_DATA_PTR pData, CGPoint thePoint, float proximity );
|
||||
int INK_SelectStrokesInRect( INK_DATA_PTR pData, CGRect selRect );
|
||||
void INK_EmptyUndoBuffer( INK_DATA_PTR pData );
|
||||
BOOL INK_CurveIntersectsStroke( INK_DATA_PTR pData, int nStroke, const CGStroke points, int nPointCount );
|
||||
BOOL INK_SetStrokeWidthAndColor( INK_DATA_PTR pData, int nStroke, COLORREF color, float fWidth );
|
||||
int INK_DeleteIntersectedStrokes( INK_DATA_PTR pData, const CGStroke points, int nPointCount );
|
||||
BOOL INK_ResizeStroke( INK_DATA_PTR pData, int nStroke, float x0, float y0, float scalex, float scaley, BOOL bReset, CGRect * pRect, BOOL recordUndo );
|
||||
|
||||
int INK_GetStrokeZOrder( INK_DATA_PTR pData, int nStroke );
|
||||
BOOL INK_SetStrokeZOrder( INK_DATA_PTR pData, int nStroke, int iZOrder );
|
||||
|
||||
// image support
|
||||
int INK_AddImage( INK_DATA_PTR pData, const ImageAttributes * pImage );
|
||||
int INK_SetImage( INK_DATA_PTR pData, int nImageIndex, const ImageAttributes * pImage );
|
||||
BOOL INK_SetImageUserData( INK_DATA_PTR pData, int nImageIndex, void * userData );
|
||||
BOOL INK_DeleteImage( INK_DATA_PTR pData, int nImageIndex );
|
||||
BOOL INK_GetImage( INK_DATA_PTR pData, int nImageIndex, ImageAttributes * pAttrib );
|
||||
int INK_GetImageFromPoint( INK_DATA_PTR pData, CGPoint point, ImageAttributes * pAttrib );
|
||||
BOOL INK_DeleteAllImages( INK_DATA_PTR pData );
|
||||
int INK_CountImages( INK_DATA_PTR pData );
|
||||
BOOL INK_SetImageFrame( INK_DATA_PTR pData, int nImageIndex, CGRect frame );
|
||||
|
||||
// text support
|
||||
BOOL INK_AddText( INK_DATA_PTR pData, const TextAttributes * pText );
|
||||
BOOL INK_SetText( INK_DATA_PTR pData, int nTextIndex, const TextAttributes * pText );
|
||||
BOOL INK_SetTextUserData( INK_DATA_PTR pData, int nTextIndex, void * userData );
|
||||
BOOL INK_DeleteText( INK_DATA_PTR pData, int nTextIndex );
|
||||
BOOL INK_GetText( INK_DATA_PTR pData, int nTextIndex, TextAttributes * pText );
|
||||
int INK_GetTextFromPoint( INK_DATA_PTR pData, CGPoint point, TextAttributes * pText );
|
||||
BOOL INK_DeleteAllTexts( INK_DATA_PTR pData, BOOL bRecordUndo );
|
||||
int INK_CountTexts( INK_DATA_PTR pData );
|
||||
BOOL INK_SetTextFrame( INK_DATA_PTR pData, int nTextIndex, CGRect frame );
|
||||
|
||||
#if defined(__cplusplus)
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
+110
@@ -0,0 +1,110 @@
|
||||
/***************************************************************************************
|
||||
*
|
||||
* WRITEPAD(r): Handwriting Recognition Engine (HWRE) and components.
|
||||
* Copyright (c) 2001-2016 PhatWare (r) Corp. All rights reserved.
|
||||
*
|
||||
* Licensing and other inquires: <developer@phatware.com>
|
||||
* Developer: Stan Miasnikov, et al. (c) PhatWare Corp. <http://www.phatware.com>
|
||||
*
|
||||
* WRITEPAD HWRE is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* THE MATERIAL EMBODIED ON THIS SOFTWARE IS PROVIDED TO YOU "AS-IS"
|
||||
* AND WITHOUT WARRANTY OF ANY KIND, EXPRESS, IMPLIED OR OTHERWISE,
|
||||
* INCLUDING WITHOUT LIMITATION, ANY WARRANTY OF MERCHANTABILITY OR
|
||||
* FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL PHATWARE CORP.
|
||||
* BE LIABLE TO YOU OR ANYONE ELSE FOR ANY DIRECT, SPECIAL, INCIDENTAL,
|
||||
* INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND, OR ANY DAMAGES WHATSOEVER,
|
||||
* INCLUDING WITHOUT LIMITATION, LOSS OF PROFIT, LOSS OF USE, SAVINGS
|
||||
* OR REVENUE, OR THE CLAIMS OF THIRD PARTIES, WHETHER OR NOT PHATWARE CORP.
|
||||
* HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH LOSS, HOWEVER CAUSED AND ON
|
||||
* ANY THEORY OF LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE
|
||||
* POSSESSION, USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
* See the GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with WritePad. If not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
**************************************************************************************/
|
||||
|
||||
#ifndef __RecognizerAPI_h__
|
||||
#define __RecognizerAPI_h__
|
||||
|
||||
#include "gestures.h"
|
||||
#include "recotypes.h"
|
||||
|
||||
#ifndef WIN32
|
||||
#define GetRValue(rgb) ((float)((rgb)&0xFF)/255.0)
|
||||
#define GetGValue(rgb) ((float)(((rgb)>>8)&0xFF)/255.0)
|
||||
#define GetBValue(rgb) ((float)(((rgb)>>16)&0xFF)/255.0)
|
||||
#endif // WIN32
|
||||
|
||||
#define GetAValue(rgb) ((float)(((rgb)>>24)&0xFF)/255.0)
|
||||
#define RGBA(r,g,b,a) ((COLORREF)(((unsigned char)(r)|((unsigned int)((unsigned char)(g))<<8))|(((unsigned int)(unsigned char)(b))<<16)|(((unsigned int)(unsigned char)(a))<<24)))
|
||||
#define CCTB(cc) ((unsigned char)(cc * (float)0xFF))
|
||||
|
||||
|
||||
#define RECMODE_GENERAL 0 // Normal recognition -- all sybols allowed
|
||||
#define RECMODE_CAPS 1 // All recognized text converted to capitals
|
||||
#define RECMODE_NUM 2 // Numeric and Lex DB recognition mode
|
||||
#define RECMODE_WWW 3 // internet address mode
|
||||
#define RECMODE_NUMBERSPURE 4 // pure numeric mode, no alpha or punctuation, recognizes 0123456789 only
|
||||
#define RECMODE_CUSTOM 5 // custom charset for numbers and punctuation, no alpha
|
||||
#define RECMODE_ALPHAONLY 6 // Alpha characters only, no punctuation or numbers
|
||||
#define RECMODE_INVALID (-1)
|
||||
|
||||
#define MAX_TRACE_LENGTH 4096
|
||||
#define TRACE_BREAK_LENGTH 200
|
||||
|
||||
#define MAX_STRING_BUFFER 2048
|
||||
|
||||
#define FLAG_SEPLET 0x00000001
|
||||
#define FLAG_USERDICT 0x00000002
|
||||
#define FLAG_MAINDICT 0x00000004
|
||||
#define FLAG_ONLYDICT 0x00000008
|
||||
#define FLAG_STATICSEGMENT 0x00000010
|
||||
#define FLAG_SINGLEWORDONLY 0x00000020
|
||||
#define FLAG_INTERNATIONAL 0x00000040
|
||||
#define FLAG_SUGGESTONLYDICT 0x00000080
|
||||
#define FLAG_ANALYZER 0x00000100
|
||||
#define FLAG_CORRECTOR 0x00000200
|
||||
#define FLAG_SPELLIGNORENUM 0x00000400
|
||||
#define FLAG_SPELLIGNOREUPPER 0x00000800
|
||||
#define FLAG_NOSINGLELETSPACE 0x00001000
|
||||
#define FLAG_ENABLECALC 0x00002000
|
||||
#define FLAG_NOSPACE 0x00004000
|
||||
#define FLAG_ALTDICT 0x00008000
|
||||
#define FLAG_USECUSTOMPUNCT 0x00010000
|
||||
#define FLAG_SMOOTHSTROKES 0x00020000
|
||||
|
||||
#define FLAG_ERROR 0xFFFFFFFF
|
||||
|
||||
#define READ_FLAG 0x01
|
||||
#define MEM_STREAM_FLAG 0x02
|
||||
#define INK_FMT_MASK 0x3C
|
||||
|
||||
#define INK_RAW 0x01
|
||||
#define INK_CALCOMP 0x02
|
||||
#define INK_PWCOMP 0x03
|
||||
#define INK_JPEG 0x04
|
||||
#define INK_DATA 0x05
|
||||
#define INK_PNG 0x06
|
||||
|
||||
#define IGNORE_LAST_STROKE 0x0001000
|
||||
#define SORT_STROKES 0x0002000
|
||||
#define SAVE_PRESSURE 0x0004000
|
||||
|
||||
#define MAKE_READ_FMT( dwDataFmt, bMemStream ) ( ((dwDataFmt) << 2L) | ((bMemStream)?MEM_STREAM_FLAG:0) | READ_FLAG )
|
||||
#define MAKE_WRITE_FMT( dwDataFmt, bMemStream ) ( ((dwDataFmt) << 2L) | ((bMemStream)?MEM_STREAM_FLAG:0) )
|
||||
#define INK_DATA_FMT( dwFlags ) ( ((dwFlags) & INK_FMT_MASK) >> 2L )
|
||||
#define INK_READ( dwFlags ) ( (dwFlags) & READ_FLAG )
|
||||
#define INK_WRITE( dwFlags ) ( ((dwFlags) & READ_FLAG) == 0 )
|
||||
#define IS_MEM_STREAM( dwFlags ) ( (dwFlags) & MEM_STREAM_FLAG )
|
||||
#define IS_FILE_STREAM( dwFlags ) ( ((dwFlags) & MEM_STREAM_FLAG) == 0 )
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
+156
@@ -0,0 +1,156 @@
|
||||
/***************************************************************************************
|
||||
*
|
||||
* WRITEPAD(r): Handwriting Recognition Engine (HWRE) and components.
|
||||
* Copyright (c) 2001-2016 PhatWare (r) Corp. All rights reserved.
|
||||
*
|
||||
* Licensing and other inquires: <developer@phatware.com>
|
||||
* Developer: Stan Miasnikov, et al. (c) PhatWare Corp. <http://www.phatware.com>
|
||||
*
|
||||
* WRITEPAD HWRE is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* THE MATERIAL EMBODIED ON THIS SOFTWARE IS PROVIDED TO YOU "AS-IS"
|
||||
* AND WITHOUT WARRANTY OF ANY KIND, EXPRESS, IMPLIED OR OTHERWISE,
|
||||
* INCLUDING WITHOUT LIMITATION, ANY WARRANTY OF MERCHANTABILITY OR
|
||||
* FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL PHATWARE CORP.
|
||||
* BE LIABLE TO YOU OR ANYONE ELSE FOR ANY DIRECT, SPECIAL, INCIDENTAL,
|
||||
* INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND, OR ANY DAMAGES WHATSOEVER,
|
||||
* INCLUDING WITHOUT LIMITATION, LOSS OF PROFIT, LOSS OF USE, SAVINGS
|
||||
* OR REVENUE, OR THE CLAIMS OF THIRD PARTIES, WHETHER OR NOT PHATWARE CORP.
|
||||
* HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH LOSS, HOWEVER CAUSED AND ON
|
||||
* ANY THEORY OF LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE
|
||||
* POSSESSION, USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
* See the GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with WritePad. If not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
**************************************************************************************/
|
||||
|
||||
#ifndef __RecognizerWrapper_h__
|
||||
#define __RecognizerWrapper_h__
|
||||
|
||||
#include "RecognizerApi.h"
|
||||
#include "InkWrapper.h"
|
||||
|
||||
|
||||
#if defined(__cplusplus)
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
|
||||
typedef void * RECOGNIZER_PTR;
|
||||
|
||||
// #define RecoStringEncoding NSUnicodeStringEncoding
|
||||
#define RecoStringEncoding NSWindowsCP1252StringEncoding // NSISOLatin1StringEncoding
|
||||
|
||||
#define USER_SHORTCUT_FILE "usershortcuts.csv"
|
||||
#define DICTIONARY_EXT "dct"
|
||||
#define kEmptyWord "<--->"
|
||||
|
||||
enum {
|
||||
kDictionaryType_Main = 0,
|
||||
kDictionaryType_Alternative,
|
||||
kDictionaryType_User
|
||||
};
|
||||
|
||||
typedef int (RECO_ONGOTWORDLIST)( const UCHR * szWordFrom, const UCHR * szWordTo, unsigned int nFlags, void * pParam );
|
||||
typedef RECO_ONGOTWORDLIST * PRECO_ONGOTWORDLIST;
|
||||
|
||||
// recognizer Info
|
||||
const char * HWR_Description();
|
||||
const char * HWR_ID();
|
||||
int HWR_Capabilities();
|
||||
BOOL HWR_IsLanguageSupported( int langID );
|
||||
int HWR_GetSupportedLanguages( int ** languages );
|
||||
|
||||
// recognizer library language ID
|
||||
int HWR_GetLanguageID( RECOGNIZER_PTR pRecognizer );
|
||||
const char * HWR_GetLanguageName( RECOGNIZER_PTR pRecognizer );
|
||||
|
||||
// recognition API
|
||||
RECOGNIZER_PTR HWR_InitRecognizer( const char * inDictionaryMain, const char * inDictionaryCustom, const char * inLearner, const char * inAutoCorrect, int language, int * pFlags );
|
||||
RECOGNIZER_PTR HWR_InitRecognizerFromMemory( const char * inDictionaryMain, const char * inDictionaryCustom, const char * inLearner, const char * inAutoCorrect, int language, int * pFlags );
|
||||
|
||||
void HWR_FreeRecognizer( RECOGNIZER_PTR pRecognizer, const char * inDictionaryCustom, const char * inLearner, const char * inWordList );
|
||||
BOOL HWR_RecognizerAddStroke( RECOGNIZER_PTR pRecognizer, CGStroke pStroke, int nStrokeCnt );
|
||||
BOOL HWR_Recognize( RECOGNIZER_PTR pRecognizer );
|
||||
BOOL HWR_Reset( RECOGNIZER_PTR pRecognizer );
|
||||
const UCHR * HWR_RecognizeInkData( RECOGNIZER_PTR pRecognizer, INK_DATA_PTR pInkData, int nFirstStroke, int nLastStroke, BOOL bAsync, BOOL bFlipY, BOOL bSort, BOOL bSelOnly );
|
||||
BOOL HWR_PreRecognizeInkData( RECOGNIZER_PTR pRecognizer, INK_DATA_PTR pInkData, int nDataLen, BOOL bFlipY );
|
||||
const UCHR * HWR_GetResult( RECOGNIZER_PTR pRecognizer );
|
||||
USHORT HWR_GetResultWeight( RECOGNIZER_PTR pRecognizer, int nWord, int nAlternative );
|
||||
const UCHR * HWR_GetResultWord( RECOGNIZER_PTR pRecognizer, int nWord, int nAlternative );
|
||||
int HWR_GetResultStrokesNumber( RECOGNIZER_PTR pRecognizer, int nWord, int nAlternative );
|
||||
int HWR_GetResultWordCount( RECOGNIZER_PTR pRecognizer );
|
||||
int HWR_GetResultAlternativeCount( RECOGNIZER_PTR pRecognizer, int nWord );
|
||||
int HWR_SetRecognitionMode( RECOGNIZER_PTR pRecognizer, int nNewMode );
|
||||
int HWR_GetRecognitionMode( RECOGNIZER_PTR pRecognizer );
|
||||
int HWR_GetStrokeIDs( RECOGNIZER_PTR pRecognizer, int word, int altrnative, const int ** strokes );
|
||||
unsigned int HWR_SetRecognitionFlags( RECOGNIZER_PTR pRecognizer, unsigned int newFlags );
|
||||
unsigned int HWR_GetRecognitionFlags( RECOGNIZER_PTR pRecognizer );
|
||||
void HWR_StopAsyncReco( RECOGNIZER_PTR pRecognizer );
|
||||
void HWR_SetCustomCharset( RECOGNIZER_PTR pRecognizer, const UCHR * pCustomNum, const UCHR * pCustPunct );
|
||||
BOOL HWR_RecognizeSymbol( RECOGNIZER_PTR pRecognizer, INK_DATA_PTR pInkData, int base, int charsize );
|
||||
|
||||
// simple calculator functions
|
||||
BOOL HWR_EnablePhatCalc( RECOGNIZER_PTR pRecognizer, BOOL bEnable );
|
||||
const UCHR * HWR_CalculateString( RECOGNIZER_PTR pRecognizer, const UCHR * pszString );
|
||||
|
||||
// autocorrector functions
|
||||
BOOL HWR_SaveWordList( RECOGNIZER_PTR pRecognizer, const char * inWordListFile );
|
||||
int HWR_EnumWordList( RECOGNIZER_PTR pRecognizer, RECO_ONGOTWORDLIST callback, void * pParam );
|
||||
BOOL HWR_EmptyWordList( RECOGNIZER_PTR pRecognizer );
|
||||
BOOL HWR_AddWordToWordList( RECOGNIZER_PTR pRecognizer, const UCHR * pszWord1, const UCHR * pszWord2, int dwFlags, BOOL bReplace );
|
||||
BOOL HWR_ResetAutoCorrector( RECOGNIZER_PTR pRecognizer, const char * inWordListFile );
|
||||
const UCHR * HWR_AutocorrectWord( RECOGNIZER_PTR pRecognizer, const UCHR * pszWord );
|
||||
BOOL HWR_ReloadAutoCorrector( RECOGNIZER_PTR pRecognizer, const char * inWordListFile );
|
||||
BOOL HWR_ImportWordList( RECOGNIZER_PTR pRecognizer, const char * inImportFile );
|
||||
BOOL HWR_ExportWordList( RECOGNIZER_PTR pRecognizer, const char * inExportFile );
|
||||
int HWR_GetAutocorrectorData( RECOGNIZER_PTR pRecognizer, char **ppData );
|
||||
BOOL HWR_SetAutocorrectorData( RECOGNIZER_PTR pRecognizer, const char *pData );
|
||||
|
||||
// learner functions
|
||||
BOOL HWR_ResetLearner( RECOGNIZER_PTR pRecognizer, const char * inLearnerFile );
|
||||
BOOL HWR_AnalyzeWordList( RECOGNIZER_PTR pRecognizer, const UCHR *pszWordList, UCHR *pszResult );
|
||||
BOOL HWR_LearnNewWord( RECOGNIZER_PTR pRecognizer, const UCHR * pszWord, USHORT nWeight );
|
||||
BOOL HWR_ReplaceWord( RECOGNIZER_PTR pRecognizer, const UCHR * pszWord1, USHORT nWeight1, const UCHR * pszWord2, USHORT nWeight2 );
|
||||
BOOL HWR_ReloadLearner( RECOGNIZER_PTR pRecognizer, const char * inDictionaryCustom );
|
||||
BOOL HWR_SaveLearner( RECOGNIZER_PTR pRecognizer, const char * pszFileName );
|
||||
int HWR_GetLearnerData( RECOGNIZER_PTR pRecognizer, char **ppData );
|
||||
BOOL HWR_SetLearnerData( RECOGNIZER_PTR pRecognizer, const char *pData );
|
||||
|
||||
// dictionary functions
|
||||
const UCHR * HWR_WordFlipCase( RECOGNIZER_PTR pRecognizer, const UCHR * pszWord );
|
||||
const UCHR * HWR_WordEnsureLowerCase( RECOGNIZER_PTR pRecognizer, const UCHR * pszWord );
|
||||
int HWR_EnumUserWords( RECOGNIZER_PTR pRecognizer, PRECO_ONGOTWORD callback, void * pParam );
|
||||
BOOL HWR_NewUserDict( RECOGNIZER_PTR pRecognizer );
|
||||
BOOL HWR_SaveUserDict( RECOGNIZER_PTR pRecognizer, const char * inDictionaryCustom );
|
||||
BOOL HWR_IsWordInDict( RECOGNIZER_PTR pRecognizer, const UCHR * pszWord );
|
||||
BOOL HWR_AddUserWordToDict( RECOGNIZER_PTR pRecognizer, const UCHR * pszWord, BOOL filter );
|
||||
int HWR_SpellCheckWord( RECOGNIZER_PTR pRecognizer, const UCHR *pszWord, UCHR *pszAnswer, int cbSize, int flags );
|
||||
BOOL HWR_SetDictionaryData( RECOGNIZER_PTR pRecognizer, const char *pData, int nDictType );
|
||||
int HWR_GetDictionaryData( RECOGNIZER_PTR pRecognizer, char ** ppData, int nDictType );
|
||||
BOOL HWR_HasDictionaryChanged( RECOGNIZER_PTR pRecognizer, int nDictType );
|
||||
int HWR_GetDictionaryLength( RECOGNIZER_PTR pRecognizer, int nDictType );
|
||||
BOOL HWR_ResetUserDict( RECOGNIZER_PTR pRecognizer, const char * inDictionaryCustom );
|
||||
BOOL HWR_ExportUserDictionary( RECOGNIZER_PTR pRecognizer, const char * inExportFile );
|
||||
BOOL HWR_ImportUserDictionary( RECOGNIZER_PTR pRecognizer, const char * inImportFile );
|
||||
BOOL HWR_ReloadUserDict( RECOGNIZER_PTR pRecognizer, const char * inDictionaryCustom );
|
||||
BOOL HWR_LoadAlternativeDict( RECOGNIZER_PTR pRecognizer, const char * inDictionaryAlt );
|
||||
|
||||
// letter shapes (added in version 5)
|
||||
BOOL HWR_SetDefaultShapes( RECOGNIZER_PTR pRecognizer );
|
||||
BOOL HWR_SetLetterShapes( RECOGNIZER_PTR pRecognizer, const unsigned char * pShapes );
|
||||
const unsigned char * HWR_GetLetterShapes( RECOGNIZER_PTR pRecognizer );
|
||||
|
||||
// external resource set function
|
||||
BOOL HWR_SetExternalResource( int lang, const void* data );
|
||||
|
||||
#if defined(__cplusplus)
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
Executable
+39
@@ -0,0 +1,39 @@
|
||||
/***************************************************************************************
|
||||
*
|
||||
* WRITEPAD(r): Handwriting Recognition Engine (HWRE) and components.
|
||||
* Copyright (c) 2001-2016 PhatWare (r) Corp. All rights reserved.
|
||||
*
|
||||
* Licensing and other inquires: <developer@phatware.com>
|
||||
* Developer: Stan Miasnikov, et al. (c) PhatWare Corp. <http://www.phatware.com>
|
||||
*
|
||||
* WRITEPAD HWRE is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* THE MATERIAL EMBODIED ON THIS SOFTWARE IS PROVIDED TO YOU "AS-IS"
|
||||
* AND WITHOUT WARRANTY OF ANY KIND, EXPRESS, IMPLIED OR OTHERWISE,
|
||||
* INCLUDING WITHOUT LIMITATION, ANY WARRANTY OF MERCHANTABILITY OR
|
||||
* FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL PHATWARE CORP.
|
||||
* BE LIABLE TO YOU OR ANYONE ELSE FOR ANY DIRECT, SPECIAL, INCIDENTAL,
|
||||
* INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND, OR ANY DAMAGES WHATSOEVER,
|
||||
* INCLUDING WITHOUT LIMITATION, LOSS OF PROFIT, LOSS OF USE, SAVINGS
|
||||
* OR REVENUE, OR THE CLAIMS OF THIRD PARTIES, WHETHER OR NOT PHATWARE CORP.
|
||||
* HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH LOSS, HOWEVER CAUSED AND ON
|
||||
* ANY THEORY OF LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE
|
||||
* POSSESSION, USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
* See the GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with WritePad. If not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
**************************************************************************************/
|
||||
|
||||
#ifndef __LIDATADF_H
|
||||
#define __LIDATADF_H
|
||||
|
||||
#include "letimg.h"
|
||||
|
||||
const LIDBType* LIGetLetterDB( int languageID );
|
||||
|
||||
#endif // __LIDATADF_H
|
||||
Executable
+91
@@ -0,0 +1,91 @@
|
||||
/***************************************************************************************
|
||||
*
|
||||
* WRITEPAD(r): Handwriting Recognition Engine (HWRE) and components.
|
||||
* Copyright (c) 2001-2016 PhatWare (r) Corp. All rights reserved.
|
||||
*
|
||||
* Licensing and other inquires: <developer@phatware.com>
|
||||
* Developer: Stan Miasnikov, et al. (c) PhatWare Corp. <http://www.phatware.com>
|
||||
*
|
||||
* WRITEPAD HWRE is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* THE MATERIAL EMBODIED ON THIS SOFTWARE IS PROVIDED TO YOU "AS-IS"
|
||||
* AND WITHOUT WARRANTY OF ANY KIND, EXPRESS, IMPLIED OR OTHERWISE,
|
||||
* INCLUDING WITHOUT LIMITATION, ANY WARRANTY OF MERCHANTABILITY OR
|
||||
* FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL PHATWARE CORP.
|
||||
* BE LIABLE TO YOU OR ANYONE ELSE FOR ANY DIRECT, SPECIAL, INCIDENTAL,
|
||||
* INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND, OR ANY DAMAGES WHATSOEVER,
|
||||
* INCLUDING WITHOUT LIMITATION, LOSS OF PROFIT, LOSS OF USE, SAVINGS
|
||||
* OR REVENUE, OR THE CLAIMS OF THIRD PARTIES, WHETHER OR NOT PHATWARE CORP.
|
||||
* HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH LOSS, HOWEVER CAUSED AND ON
|
||||
* ANY THEORY OF LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE
|
||||
* POSSESSION, USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
* See the GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with WritePad. If not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
**************************************************************************************/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "recotypes.h"
|
||||
|
||||
#if defined(__cplusplus)
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
|
||||
/************************************************/
|
||||
|
||||
typedef enum {
|
||||
GEST_NONE = 0x00000000,
|
||||
GEST_DELETE = 0x00000001,
|
||||
GEST_SCROLLUP = 0x00000002,
|
||||
GEST_BACK = 0x00000004,
|
||||
GEST_SPACE = 0x00000008,
|
||||
GEST_RETURN = 0x00000010,
|
||||
GEST_CORRECT = 0x00000020,
|
||||
GEST_SPELL = 0x00000040,
|
||||
GEST_SELECTALL = 0x00000080,
|
||||
GEST_UNDO = 0x00000100,
|
||||
GEST_SMALLPT = 0x00000200,
|
||||
GEST_COPY = 0x00000400,
|
||||
GEST_CUT = 0x00000800,
|
||||
GEST_PASTE = 0x00001000,
|
||||
GEST_TAB = 0x00002000,
|
||||
GEST_MENU = 0x00004000,
|
||||
GEST_LOOP = 0x00008000,
|
||||
GEST_REDO = 0x00010000,
|
||||
GEST_SCROLLDN = 0x00020000,
|
||||
GEST_SAVE = 0x00040000,
|
||||
GEST_SENDMAIL = 0x00080000,
|
||||
GEST_OPTIONS = 0x00100000,
|
||||
GEST_SENDTODEVICE = 0x00200000,
|
||||
GEST_BACK_LONG = 0x00400000,
|
||||
|
||||
GEST_LEFTARC = 0x10000000,
|
||||
GEST_RIGHTARC = 0x20000000,
|
||||
GEST_ARCS = 0x30000000,
|
||||
|
||||
GEST_TIMEOUT = 0x40000000,
|
||||
GEST_CUSTOIM = 0x80000000,
|
||||
|
||||
GEST_ALL = 0x0FFFFFFF
|
||||
}
|
||||
GESTURE_TYPE, *pGESTURE_TYPE;
|
||||
|
||||
|
||||
#ifndef TRACE_BREAK
|
||||
#define TRACE_BREAK (-1)
|
||||
#endif //TRACE_BREAK
|
||||
|
||||
/************************************************/
|
||||
|
||||
GESTURE_TYPE HWR_CheckGesture( GESTURE_TYPE gtCheck, CGStroke stroke, int nPoints, int nScale, int nMinLen );
|
||||
|
||||
#if defined(__cplusplus)
|
||||
}
|
||||
#endif
|
||||
Executable
+55
@@ -0,0 +1,55 @@
|
||||
/***************************************************************************************
|
||||
*
|
||||
* WRITEPAD(r): Handwriting Recognition Engine (HWRE) and components.
|
||||
* Copyright (c) 2001-2016 PhatWare (r) Corp. All rights reserved.
|
||||
*
|
||||
* Licensing and other inquires: <developer@phatware.com>
|
||||
* Developer: Stan Miasnikov, et al. (c) PhatWare Corp. <http://www.phatware.com>
|
||||
*
|
||||
* WRITEPAD HWRE is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* THE MATERIAL EMBODIED ON THIS SOFTWARE IS PROVIDED TO YOU "AS-IS"
|
||||
* AND WITHOUT WARRANTY OF ANY KIND, EXPRESS, IMPLIED OR OTHERWISE,
|
||||
* INCLUDING WITHOUT LIMITATION, ANY WARRANTY OF MERCHANTABILITY OR
|
||||
* FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL PHATWARE CORP.
|
||||
* BE LIABLE TO YOU OR ANYONE ELSE FOR ANY DIRECT, SPECIAL, INCIDENTAL,
|
||||
* INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND, OR ANY DAMAGES WHATSOEVER,
|
||||
* INCLUDING WITHOUT LIMITATION, LOSS OF PROFIT, LOSS OF USE, SAVINGS
|
||||
* OR REVENUE, OR THE CLAIMS OF THIRD PARTIES, WHETHER OR NOT PHATWARE CORP.
|
||||
* HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH LOSS, HOWEVER CAUSED AND ON
|
||||
* ANY THEORY OF LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE
|
||||
* POSSESSION, USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
* See the GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with WritePad. If not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
**************************************************************************************/
|
||||
|
||||
#ifndef LANGID_H
|
||||
#define LANGID_H
|
||||
|
||||
#define LANGUAGE_NONE 0
|
||||
#define LANGUAGE_ENGLISH 1
|
||||
#define LANGUAGE_FRENCH 2
|
||||
#define LANGUAGE_GERMAN 3
|
||||
#define LANGUAGE_SPANISH 4
|
||||
#define LANGUAGE_ITALIAN 5
|
||||
#define LANGUAGE_SWEDISH 6
|
||||
#define LANGUAGE_NORWEGIAN 7
|
||||
#define LANGUAGE_DUTCH 8
|
||||
#define LANGUAGE_DANISH 9
|
||||
#define LANGUAGE_PORTUGUESE 10
|
||||
#define LANGUAGE_PORTUGUESEB 11
|
||||
#define LANGUAGE_MEDICAL 12
|
||||
#define LANGUAGE_FINNISH 13
|
||||
#define LANGUAGE_INDONESIAN 14
|
||||
#define LANGUAGE_ENGLISHUK 15
|
||||
#define LANGUAGE_SIZE 16
|
||||
|
||||
#define LANG_MEDICAL 0x71 // special entry for medical dictionary
|
||||
|
||||
#endif // LANGID_H
|
||||
Executable
+247
@@ -0,0 +1,247 @@
|
||||
/***************************************************************************************
|
||||
*
|
||||
* WRITEPAD(r): Handwriting Recognition Engine (HWRE) and components.
|
||||
* Copyright (c) 2001-2016 PhatWare (r) Corp. All rights reserved.
|
||||
*
|
||||
* Licensing and other inquires: <developer@phatware.com>
|
||||
* Developer: Stan Miasnikov, et al. (c) PhatWare Corp. <http://www.phatware.com>
|
||||
*
|
||||
* WRITEPAD HWRE is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* THE MATERIAL EMBODIED ON THIS SOFTWARE IS PROVIDED TO YOU "AS-IS"
|
||||
* AND WITHOUT WARRANTY OF ANY KIND, EXPRESS, IMPLIED OR OTHERWISE,
|
||||
* INCLUDING WITHOUT LIMITATION, ANY WARRANTY OF MERCHANTABILITY OR
|
||||
* FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL PHATWARE CORP.
|
||||
* BE LIABLE TO YOU OR ANYONE ELSE FOR ANY DIRECT, SPECIAL, INCIDENTAL,
|
||||
* INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND, OR ANY DAMAGES WHATSOEVER,
|
||||
* INCLUDING WITHOUT LIMITATION, LOSS OF PROFIT, LOSS OF USE, SAVINGS
|
||||
* OR REVENUE, OR THE CLAIMS OF THIRD PARTIES, WHETHER OR NOT PHATWARE CORP.
|
||||
* HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH LOSS, HOWEVER CAUSED AND ON
|
||||
* ANY THEORY OF LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE
|
||||
* POSSESSION, USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
* See the GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with WritePad. If not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
**************************************************************************************/
|
||||
|
||||
#ifndef __LETIMG_H
|
||||
#define __LETIMG_H
|
||||
|
||||
#include "RecoTypes.h"
|
||||
#include "ligstate.h"
|
||||
|
||||
#define LIError (-1)
|
||||
#define LINoError 0
|
||||
|
||||
#define LItop 0
|
||||
#define LIbottom 255
|
||||
#define LIleft 0
|
||||
#define LIright 255
|
||||
|
||||
typedef struct {
|
||||
int top;
|
||||
int left;
|
||||
int bottom;
|
||||
int right;
|
||||
} LIRectType;
|
||||
|
||||
typedef struct {
|
||||
int x;
|
||||
int y;
|
||||
} LIPointType;
|
||||
|
||||
typedef struct {
|
||||
int handledb;
|
||||
} LIDBType;
|
||||
|
||||
typedef struct {
|
||||
int handlei;
|
||||
} LIInfoType;
|
||||
|
||||
typedef struct {
|
||||
int handlev;
|
||||
} LIVarType;
|
||||
|
||||
typedef struct {
|
||||
int handles;
|
||||
} LIStokeType;
|
||||
|
||||
const LIInfoType* LIGetLetterInfo (const LIDBType *lidb, int letter);
|
||||
const LIVarType* LIGetVariantInfo(const LIDBType *lidb, const LIInfoType *letI, int variantIndex);
|
||||
const LIStokeType* LIGetStrokeInfo (const LIDBType *lidb, const LIVarType *letV, int strokeIndex);
|
||||
|
||||
int LIGetLetNumVar (const LIInfoType *letI);
|
||||
|
||||
int LIGetGroup (const LIVarType *letV);
|
||||
int LIGetNumStrokes(const LIVarType *letV);
|
||||
|
||||
int LIGetNumPoints (const LIStokeType *letS);
|
||||
int LIGetPointX (const LIStokeType *letS, int pointIndex);
|
||||
int LIGetPointY (const LIStokeType *letS, int pointIndex);
|
||||
|
||||
int LIGetVariantBBox (const LIDBType *lidb, const LIVarType *letV, LIRectType *bbox);
|
||||
int LIGetVariantBaseLine(const LIDBType *lidb, const LIVarType *letV, LIRectType *baseRect);
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#define LI_LET_IMG_X 0
|
||||
#define LI_LET_IMG_X_FROM_RIGHT 0 /* LI_LET_IMG_X */
|
||||
#ifdef _DEVICE_IPAD_
|
||||
#define LI_LET_IMG_Y 10 // (g_bIsVGA ? 8 : 4)
|
||||
#define LI_PAIRED_LET_V_SPACE 10 // (g_bIsVGA ? 10 : 6)
|
||||
#define LI_LET_IMG_LEFT_OFFSET 30 // (g_bIsVGA ? 40 : 20)
|
||||
#define LI_LET_SELL_WIDTH 60 // (g_bIsVGA ? 70 : 35)
|
||||
#define LI_LET_SELL_HEIGHT 60 // (g_bIsVGA ? 70 : 35)
|
||||
#define LETTER_STRIP_SIZE 66
|
||||
#define LETTER_NAME_SIZE 22
|
||||
#define LETTER_PEN_SIZE 3
|
||||
#else // _DEVICE_IPAD_
|
||||
#define LETTER_PEN_SIZE 2
|
||||
#define LI_LET_IMG_Y 6 // (g_bIsVGA ? 8 : 4)
|
||||
#define LI_PAIRED_LET_V_SPACE 6 // (g_bIsVGA ? 10 : 6)
|
||||
#define LI_LET_IMG_LEFT_OFFSET 22 // (g_bIsVGA ? 40 : 20)
|
||||
#define LI_LET_SELL_WIDTH 50 // (g_bIsVGA ? 70 : 35)
|
||||
#define LI_LET_SELL_HEIGHT 50 // (g_bIsVGA ? 70 : 35)
|
||||
#define LETTER_STRIP_SIZE 64
|
||||
#define LETTER_NAME_SIZE 18
|
||||
#endif // _DEVICE_IPAD_
|
||||
|
||||
#define LI_LET_GROUP_H_SPACE (-2) // (g_bIsVGA ? (-4) : (-2))
|
||||
#define LI_LET_LINE_V_SPACE (0)
|
||||
#define LI_LET_SEL_OVAL_SIZE 10 // (g_bIsVGA ? 18 : 9)
|
||||
#define LI_LET_CAPT_REPLACE_INDEX_FROM_END 1
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#define SELECTION_FRAME_PEN_SIZE 1
|
||||
#define BASELINE_PEN_SIZE 1
|
||||
|
||||
#define NUM_OVERLAPED_PTS 2
|
||||
#define LI_MAX_LET_IMG 16
|
||||
|
||||
#define I_WRITE_RG_X 5
|
||||
#define I_WRITE_RG_Y 0 /* from the controls Y origin */
|
||||
#define I_WRITE_RG_HEIGHT 19
|
||||
#define I_WRITE_RB_XSPACE 5
|
||||
#define I_WRITE_RB_HEIGHT 16
|
||||
#define I_WRITE_RB_Y (I_WRITE_RG_Y + I_WRITE_RG_HEIGHT)
|
||||
|
||||
#define I_WR_OFTEN_WIDTH 80
|
||||
#define I_WR_SOMETIMES_WIDTH 80
|
||||
#define I_WR_RARE_WIDTH 80
|
||||
|
||||
#define LANGUAGE_Y 10
|
||||
#define LANGUAGE_W 80
|
||||
|
||||
#define ORIGIN_LEFT(r) ((r).left + (((r).right - (r).left) <= 250 ? 5 : 20))
|
||||
|
||||
#define LI_ARRAY_LENGTH(a) (sizeof(a)/sizeof((a)[0]))
|
||||
|
||||
enum E_LET_GROUPMODE {
|
||||
LI_SET_GROUP_STATE,
|
||||
LI_GET_GROUP_STATE,
|
||||
LI_GET_DTEGROUP
|
||||
};
|
||||
|
||||
typedef struct {
|
||||
int group;
|
||||
int index;
|
||||
} LIVarSortType;
|
||||
|
||||
enum E_LI_LETSTATE {
|
||||
LI_OFTEN,
|
||||
LI_SOMETIMES,
|
||||
LI_RARE
|
||||
};
|
||||
|
||||
typedef struct {
|
||||
LIRectType groupRect[LI_MAX_LET_IMG];
|
||||
LIRectType letterRect[LI_MAX_LET_IMG];
|
||||
int letterVar[LI_MAX_LET_IMG];
|
||||
enum E_LI_LETSTATE letState[LI_MAX_LET_IMG];
|
||||
int numVar;
|
||||
int numGroup;
|
||||
int letter;
|
||||
int selOvalSize;
|
||||
int selectedGroupIndex;
|
||||
} LILayoutType;
|
||||
|
||||
#define NUM_PAIRED_CHARS 2
|
||||
|
||||
typedef struct {
|
||||
char letter[NUM_PAIRED_CHARS];
|
||||
LIRectType framerect;
|
||||
struct { int x; int y; } sepline[2];
|
||||
LILayoutType letimg[NUM_PAIRED_CHARS];
|
||||
} LILetImgDrawType;
|
||||
|
||||
int LIGetLetNumOfGroup( const LILayoutType *inLayout);
|
||||
int LISelelectGroup( LILayoutType *ioLayout, int inGroupIndex);
|
||||
int LIGetSelectedGroup( const LILayoutType *inLayout);
|
||||
int LIIntersectRect( const LIRectType *inSrc1, const LIRectType *inSrc2 );
|
||||
|
||||
int LIGetDTELetGroup(
|
||||
const LIDBType *inLidb,
|
||||
const LILayoutType *inLayout,
|
||||
int inGroupIndex );
|
||||
int LIGetLetGroupState(
|
||||
const LIDBType *inLidb,
|
||||
const LILayoutType *inLayout,
|
||||
int inGroupIndex);
|
||||
int LISetLetGroupState(
|
||||
const LIDBType *inLidb,
|
||||
LILayoutType *ioLayout,
|
||||
int inGroupIndex,
|
||||
enum E_LI_LETSTATE inLetState);
|
||||
int GetSetLetGroupParms(
|
||||
const LIDBType *inLidb,
|
||||
LILayoutType *ioLayout,
|
||||
int inGroupIndex,
|
||||
enum E_LI_LETSTATE inLetState,
|
||||
enum E_LET_GROUPMODE inMode);
|
||||
int LIHitTestLetterLayout(
|
||||
const LILayoutType *inLayout,
|
||||
int inX,
|
||||
int inY,
|
||||
int inIsTestGroup);
|
||||
int LIGetLetGroupRect(
|
||||
const LILayoutType *inLayout,
|
||||
int inGroupIndex,
|
||||
LIRectType *outRect);
|
||||
int LICalcLetterLayout(const LIDBType *inLidb,
|
||||
int inLetter,
|
||||
LILayoutType *outLayout,
|
||||
LIRectType *ioDestRect,
|
||||
int inLetHSize,
|
||||
int inLetVSize,
|
||||
int inLineHeight,
|
||||
int inGroupHSpace,
|
||||
int inPenSize );
|
||||
|
||||
// calculates layout for all letters...
|
||||
void CalcLetterLayout(
|
||||
LIRectType *ioDestRect,
|
||||
char inLetter,
|
||||
LILetImgDrawType *outLayout,
|
||||
const LIDBType *inLidb,
|
||||
const LIGStatesType *inGStates );
|
||||
|
||||
int CalculateScreenRect(
|
||||
const LIRectType *inBBox,
|
||||
const LIRectType *inDestRect,
|
||||
LIRectType *outScreenRect );
|
||||
|
||||
int ConvertToScreenCoord(
|
||||
LIPointType *ioPt,
|
||||
const LIRectType *inSrcRect,
|
||||
const LIRectType *inDestRect );
|
||||
|
||||
enum E_LI_LETSTATE SelectNextGroupDtate( const LIDBType *lidb, LILetImgDrawType *ioLIdraw, LIGStatesType *ioGStates );
|
||||
|
||||
#endif /* __LETIMG_H */
|
||||
|
||||
Executable
+43
@@ -0,0 +1,43 @@
|
||||
/***************************************************************************************
|
||||
*
|
||||
* WRITEPAD(r): Handwriting Recognition Engine (HWRE) and components.
|
||||
* Copyright (c) 2001-2016 PhatWare (r) Corp. All rights reserved.
|
||||
*
|
||||
* Licensing and other inquires: <developer@phatware.com>
|
||||
* Developer: Stan Miasnikov, et al. (c) PhatWare Corp. <http://www.phatware.com>
|
||||
*
|
||||
* WRITEPAD HWRE is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* THE MATERIAL EMBODIED ON THIS SOFTWARE IS PROVIDED TO YOU "AS-IS"
|
||||
* AND WITHOUT WARRANTY OF ANY KIND, EXPRESS, IMPLIED OR OTHERWISE,
|
||||
* INCLUDING WITHOUT LIMITATION, ANY WARRANTY OF MERCHANTABILITY OR
|
||||
* FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL PHATWARE CORP.
|
||||
* BE LIABLE TO YOU OR ANYONE ELSE FOR ANY DIRECT, SPECIAL, INCIDENTAL,
|
||||
* INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND, OR ANY DAMAGES WHATSOEVER,
|
||||
* INCLUDING WITHOUT LIMITATION, LOSS OF PROFIT, LOSS OF USE, SAVINGS
|
||||
* OR REVENUE, OR THE CLAIMS OF THIRD PARTIES, WHETHER OR NOT PHATWARE CORP.
|
||||
* HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH LOSS, HOWEVER CAUSED AND ON
|
||||
* ANY THEORY OF LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE
|
||||
* POSSESSION, USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
* See the GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with WritePad. If not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
**************************************************************************************/
|
||||
|
||||
#ifndef LIDATA_H_INC
|
||||
#define LIDATA_H_INC
|
||||
|
||||
#if defined( FOR_GERMAN )
|
||||
#include "lidt_ger.h"
|
||||
#elif defined( FOR_FRENCH )
|
||||
#include "lidt_fre.h"
|
||||
#else /* assumed FOR_ENGLISH or FOR_INTERNATIONAL */
|
||||
#include "lidt_eng.h"
|
||||
#endif /* FOR_languages */
|
||||
|
||||
#endif // LIDATA_H_INC
|
||||
Executable
+1182
File diff suppressed because it is too large
Load Diff
Executable
+1164
File diff suppressed because it is too large
Load Diff
Executable
+1157
File diff suppressed because it is too large
Load Diff
Executable
+75
@@ -0,0 +1,75 @@
|
||||
/***************************************************************************************
|
||||
*
|
||||
* WRITEPAD(r): Handwriting Recognition Engine (HWRE) and components.
|
||||
* Copyright (c) 2001-2016 PhatWare (r) Corp. All rights reserved.
|
||||
*
|
||||
* Licensing and other inquires: <developer@phatware.com>
|
||||
* Developer: Stan Miasnikov, et al. (c) PhatWare Corp. <http://www.phatware.com>
|
||||
*
|
||||
* WRITEPAD HWRE is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* THE MATERIAL EMBODIED ON THIS SOFTWARE IS PROVIDED TO YOU "AS-IS"
|
||||
* AND WITHOUT WARRANTY OF ANY KIND, EXPRESS, IMPLIED OR OTHERWISE,
|
||||
* INCLUDING WITHOUT LIMITATION, ANY WARRANTY OF MERCHANTABILITY OR
|
||||
* FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL PHATWARE CORP.
|
||||
* BE LIABLE TO YOU OR ANYONE ELSE FOR ANY DIRECT, SPECIAL, INCIDENTAL,
|
||||
* INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND, OR ANY DAMAGES WHATSOEVER,
|
||||
* INCLUDING WITHOUT LIMITATION, LOSS OF PROFIT, LOSS OF USE, SAVINGS
|
||||
* OR REVENUE, OR THE CLAIMS OF THIRD PARTIES, WHETHER OR NOT PHATWARE CORP.
|
||||
* HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH LOSS, HOWEVER CAUSED AND ON
|
||||
* ANY THEORY OF LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE
|
||||
* POSSESSION, USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
* See the GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with WritePad. If not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
**************************************************************************************/
|
||||
|
||||
#ifndef __LISTATE_H
|
||||
#define __LISTATE_H
|
||||
|
||||
typedef enum __E_LIG_STATE {
|
||||
LIG_STATE_UNDEF = 0,
|
||||
LIG_STATE_OFTEN = 1,
|
||||
LIG_STATE_RARELY = 2,
|
||||
LIG_STATE_NEVER = 3
|
||||
}E_LIG_STATE;
|
||||
|
||||
|
||||
#define LIG_FIRST_LETTER 0x20
|
||||
#define LIG_LAST_LETTER 0xFF
|
||||
#define LIG_NUM_LETTERS (LIG_LAST_LETTER - LIG_FIRST_LETTER + 1)
|
||||
#if LIG_NUM_LETTERS <= 0
|
||||
#error
|
||||
#endif
|
||||
#define LIG_LET_NUM_GROUPS 8
|
||||
#define LIG_NUM_BITS_PER_GROUP 2
|
||||
#define LIG_NUM_BIT_GROUP_MASK 0x3
|
||||
|
||||
#define LIG_STATES_SIZE \
|
||||
(LIG_NUM_LETTERS * LIG_LET_NUM_GROUPS * LIG_NUM_BITS_PER_GROUP / 8)
|
||||
|
||||
typedef unsigned char LIGStatesType[LIG_STATES_SIZE];
|
||||
|
||||
|
||||
/*
|
||||
* Sets state for a given letter and group.
|
||||
* Returns 0 if letter and group are in the allowed range, -1 otherwise.
|
||||
*/
|
||||
int LIGSetGroupState(LIGStatesType *ioGStates,
|
||||
int inLetter,
|
||||
int inGroup,
|
||||
E_LIG_STATE inGroupState);
|
||||
|
||||
/*
|
||||
* Returns state for a given letter and group.
|
||||
*/
|
||||
E_LIG_STATE LIGGetGroupState(const LIGStatesType *inGStates,
|
||||
int inLetter,
|
||||
int inGroup);
|
||||
|
||||
#endif /* __LISTATE_H */
|
||||
Executable
+184
@@ -0,0 +1,184 @@
|
||||
/***************************************************************************************
|
||||
*
|
||||
* WRITEPAD(r): Handwriting Recognition Engine (HWRE) and components.
|
||||
* Copyright (c) 2001-2016 PhatWare (r) Corp. All rights reserved.
|
||||
*
|
||||
* Licensing and other inquires: <developer@phatware.com>
|
||||
* Developer: Stan Miasnikov, et al. (c) PhatWare Corp. <http://www.phatware.com>
|
||||
*
|
||||
* WRITEPAD HWRE is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* THE MATERIAL EMBODIED ON THIS SOFTWARE IS PROVIDED TO YOU "AS-IS"
|
||||
* AND WITHOUT WARRANTY OF ANY KIND, EXPRESS, IMPLIED OR OTHERWISE,
|
||||
* INCLUDING WITHOUT LIMITATION, ANY WARRANTY OF MERCHANTABILITY OR
|
||||
* FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL PHATWARE CORP.
|
||||
* BE LIABLE TO YOU OR ANYONE ELSE FOR ANY DIRECT, SPECIAL, INCIDENTAL,
|
||||
* INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND, OR ANY DAMAGES WHATSOEVER,
|
||||
* INCLUDING WITHOUT LIMITATION, LOSS OF PROFIT, LOSS OF USE, SAVINGS
|
||||
* OR REVENUE, OR THE CLAIMS OF THIRD PARTIES, WHETHER OR NOT PHATWARE CORP.
|
||||
* HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH LOSS, HOWEVER CAUSED AND ON
|
||||
* ANY THEORY OF LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE
|
||||
* POSSESSION, USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
* See the GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with WritePad. If not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
**************************************************************************************/
|
||||
|
||||
#ifndef __LIINTERN_H
|
||||
#define __LIINTERN_H
|
||||
|
||||
typedef unsigned char US8_t;
|
||||
typedef unsigned short US16_t;
|
||||
|
||||
#define kLIHeaderSize 4 /* sizeof(long) */
|
||||
|
||||
#define M_GetNumLetters(letptr) \
|
||||
( \
|
||||
((long)(((US8_t*)(letptr))[0]) << 24) \
|
||||
+ ((long)(((US8_t*)(letptr))[1]) << 16) \
|
||||
+ ((long)(((US8_t*)(letptr))[2]) << 8) \
|
||||
+ ((long)(((US8_t*)(letptr))[3]) << 0) \
|
||||
)
|
||||
|
||||
#define M_SetNumLetters(letptr, nlet) \
|
||||
( \
|
||||
(((US8_t*)(letptr))[0]) = (US8_t)((nlet) >> 24), \
|
||||
(((US8_t*)(letptr))[1]) = (US8_t)((nlet) >> 16), \
|
||||
(((US8_t*)(letptr))[2]) = (US8_t)((nlet) >> 8), \
|
||||
(((US8_t*)(letptr))[3]) = (US8_t)((nlet) >> 0) \
|
||||
)
|
||||
|
||||
#define kLILetterFieldSize 1 /* sizeof(let->Letter) */
|
||||
#define kLINumVarFieldSize 1 /* sizeof(let->numberOfVariants) */
|
||||
#define kLIOffsetFieldSize 2 /* sizeof(let->LetImageOffset) */
|
||||
|
||||
#define kLILetterFieldOffset \
|
||||
0 /* offsetof(let->Letter) */
|
||||
|
||||
#define kLINumVarFieldOffset \
|
||||
(kLILetterFieldOffset + kLILetterFieldSize) /* offsetof(let->numberOfVariants) */
|
||||
|
||||
#define kLIOffseFieldOffset \
|
||||
(kLINumVarFieldOffset + kLINumVarFieldSize) /* offsetof(let->LetImageOffset) */
|
||||
|
||||
#define M_CalcLetHSize(nvar) \
|
||||
( (nvar) * kLIOffsetFieldSize + \
|
||||
kLINumVarFieldSize + \
|
||||
kLILetterFieldSize \
|
||||
)
|
||||
|
||||
#define M_GetLetHLetField(letptr) \
|
||||
(((US8_t*)(letptr))[kLILetterFieldOffset])
|
||||
|
||||
#define M_GetLetHNVarField(letptr) \
|
||||
(((US8_t*)(letptr))[kLINumVarFieldOffset])
|
||||
|
||||
#define M_GetLetHOffsetField(letptr, var) \
|
||||
( \
|
||||
((US16_t)((US8_t*)(letptr))[kLIOffseFieldOffset + (var) * kLIOffsetFieldSize + 0] << 8) \
|
||||
+ ((US16_t)((US8_t*)(letptr))[kLIOffseFieldOffset + (var) * kLIOffsetFieldSize + 1]) \
|
||||
)
|
||||
|
||||
#define M_SetLetHLetField(letptr, let) \
|
||||
(((US8_t*)(letptr))[kLILetterFieldOffset] = (US8_t)(let))
|
||||
|
||||
#define M_SetLetHNVarField(letptr, nvar) \
|
||||
(((US8_t*)(letptr))[kLINumVarFieldOffset] = (US8_t)(nvar))
|
||||
|
||||
#define M_SetLetHOffsetField(letptr, var, offset) \
|
||||
( \
|
||||
((US8_t*)(letptr))[kLIOffseFieldOffset + (var) * kLIOffsetFieldSize + 0] \
|
||||
= (US8_t)((offset) >> 8), \
|
||||
((US8_t*)(letptr))[kLIOffseFieldOffset + (var) * kLIOffsetFieldSize + 1] \
|
||||
= (US8_t)(offset) \
|
||||
)
|
||||
|
||||
#define kLVGroupNumFieldSize 1 /* sizeof(letV->groupLetNumber) */
|
||||
#define kLVStrkNumFieldSize 1 /* sizeof(letV->numberOfSrokes) */
|
||||
#define kLVStrokeOffsetFieldSize 2 /* sizeof(letH->strokeOffset) */
|
||||
|
||||
#define kLVGroupNumFieldOffset \
|
||||
0 /* offsetof(letV->groupLetNumber) */
|
||||
|
||||
#define kLVNumStrkFieldOffset \
|
||||
(kLVGroupNumFieldOffset + kLVGroupNumFieldSize) /* offsetof(letV->numberOfSrokes) */
|
||||
|
||||
#define kLVStrkOffseFieldOffset \
|
||||
(kLVNumStrkFieldOffset + kLVStrkNumFieldSize) /* offsetof(letV->strokeOffset) */
|
||||
|
||||
#define M_CalcLetVSize(nstrk) \
|
||||
( (nstrk) * kLVStrokeOffsetFieldSize + \
|
||||
kLVStrkNumFieldSize + \
|
||||
kLVGroupNumFieldSize \
|
||||
)
|
||||
|
||||
#define M_GetLVGroupNumField(letvptr) \
|
||||
(((US8_t*)(letvptr))[kLVGroupNumFieldOffset])
|
||||
|
||||
#define M_GetLVStrkNumField(letvptr) \
|
||||
(((US8_t*)(letvptr))[kLVNumStrkFieldOffset])
|
||||
|
||||
#define M_GetLVStrokeOffsetField(letvptr, strkind) \
|
||||
( \
|
||||
((US16_t)((US8_t*)(letvptr))[kLVStrkOffseFieldOffset + (strkind) * kLVStrokeOffsetFieldSize + 0] << 8) \
|
||||
+ ((US16_t)((US8_t*)(letvptr))[kLVStrkOffseFieldOffset + (strkind) * kLVStrokeOffsetFieldSize + 1]) \
|
||||
)
|
||||
|
||||
#define M_SetLVGroupNumField(letvptr, groupnum) \
|
||||
(((US8_t*)(letvptr))[kLVGroupNumFieldOffset] = (US8_t)(groupnum))
|
||||
|
||||
#define M_SetLVStrkNumField(letvptr, nstrk) \
|
||||
(((US8_t*)(letvptr))[kLVNumStrkFieldOffset] = (US8_t)(nstrk))
|
||||
|
||||
#define M_SetLVStrokeOffsetField(letvptr, strkind, offset) \
|
||||
( \
|
||||
((US8_t*)(letvptr))[kLVStrkOffseFieldOffset + (strkind) * kLVStrokeOffsetFieldSize + 0] \
|
||||
= (US8_t)((offset) >> 8), \
|
||||
((US8_t*)(letvptr))[kLVStrkOffseFieldOffset + (strkind) * kLVStrokeOffsetFieldSize + 1] \
|
||||
= (US8_t)(offset) \
|
||||
)
|
||||
|
||||
#define kLSNumPointsFieldSize 1 /* sizeof(letStrk->numberOfPoints) */
|
||||
#define kLSPointFieldSize 2 /* sizeof(letStrk->spoints) */
|
||||
|
||||
#define kLSNumPointsFieldOffset \
|
||||
0 /* offsetof(letStrk->numberOfPoints) */
|
||||
|
||||
#define kLSPointFieldOffset \
|
||||
((kLSNumPointsFieldOffset + kLSNumPointsFieldSize)) /* offsetof(letStrk->spoints) */
|
||||
|
||||
#define M_CalcLetSSize(npts) \
|
||||
( (npts) * kLSPointFieldSize + \
|
||||
kLSNumPointsFieldSize \
|
||||
)
|
||||
|
||||
#define M_GetLSNumPointsField(strkptr) \
|
||||
(((US8_t*)(strkptr))[kLSNumPointsFieldOffset])
|
||||
|
||||
#define M_GetLSStrkPtXField(strkptr, ptindex) \
|
||||
(((US8_t*)(strkptr))[kLSPointFieldOffset + ptindex * kLSPointFieldSize])
|
||||
|
||||
#define M_GetLSStrkPtYField(strkptr, ptindex) \
|
||||
(((US8_t*)(strkptr))[kLSPointFieldOffset + ptindex * kLSPointFieldSize + 1])
|
||||
|
||||
#define M_GetLSStrkPtField(strkptr, ptindex, x, y) \
|
||||
( \
|
||||
(x) = M_GetLSStrkPtXField(strkptr, ptindex), \
|
||||
(y) = M_GetLSStrkPtYField(strkptr, ptindex) \
|
||||
)
|
||||
|
||||
#define M_SetLSNumPointsField(strkptr, npts) \
|
||||
((US8_t*)(strkptr))[kLSNumPointsFieldOffset] = (US8_t)(npts);
|
||||
|
||||
#define M_SetLSStrkPtField(strkptr, ptindex, x, y) \
|
||||
( \
|
||||
((US8_t*)(strkptr))[kLSPointFieldOffset + ptindex * kLSPointFieldSize] = (US8_t)(x), \
|
||||
((US8_t*)(strkptr))[kLSPointFieldOffset + ptindex * kLSPointFieldSize + 1] = (US8_t)(y) \
|
||||
)
|
||||
|
||||
#endif /* __LIINTERN_H */
|
||||
Executable
+118
@@ -0,0 +1,118 @@
|
||||
/***************************************************************************************
|
||||
*
|
||||
* WRITEPAD(r): Handwriting Recognition Engine (HWRE) and components.
|
||||
* Copyright (c) 2001-2016 PhatWare (r) Corp. All rights reserved.
|
||||
*
|
||||
* Licensing and other inquires: <developer@phatware.com>
|
||||
* Developer: Stan Miasnikov, et al. (c) PhatWare Corp. <http://www.phatware.com>
|
||||
*
|
||||
* WRITEPAD HWRE is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* THE MATERIAL EMBODIED ON THIS SOFTWARE IS PROVIDED TO YOU "AS-IS"
|
||||
* AND WITHOUT WARRANTY OF ANY KIND, EXPRESS, IMPLIED OR OTHERWISE,
|
||||
* INCLUDING WITHOUT LIMITATION, ANY WARRANTY OF MERCHANTABILITY OR
|
||||
* FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL PHATWARE CORP.
|
||||
* BE LIABLE TO YOU OR ANYONE ELSE FOR ANY DIRECT, SPECIAL, INCIDENTAL,
|
||||
* INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND, OR ANY DAMAGES WHATSOEVER,
|
||||
* INCLUDING WITHOUT LIMITATION, LOSS OF PROFIT, LOSS OF USE, SAVINGS
|
||||
* OR REVENUE, OR THE CLAIMS OF THIRD PARTIES, WHETHER OR NOT PHATWARE CORP.
|
||||
* HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH LOSS, HOWEVER CAUSED AND ON
|
||||
* ANY THEORY OF LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE
|
||||
* POSSESSION, USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
* See the GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with WritePad. If not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
**************************************************************************************/
|
||||
|
||||
#ifndef __Reco_Defs_h__
|
||||
#define __Reco_Defs_h__
|
||||
|
||||
/* ------------------------- Defines ---------------------------------------- */
|
||||
|
||||
|
||||
#define HW_RECINT_ID_001 0x01000002 /* Rec Interface ID */
|
||||
#define HW_MAX_SPELL_NUM_ALTS 10 /* How many variants will be out by the SpellCheck func */
|
||||
#define HW_RECID_MAXLEN 32 /* Max length of the RecID string */
|
||||
#define HW_MAX_FILENAME 128 /* Limit for filename buffer */
|
||||
|
||||
// Recognizer Control Falgs
|
||||
#define HW_RECFL_NSEG 0x0001 /* Do not perform segmentation at all*/
|
||||
#define HW_RECFL_NCSEG 0x0002 /* Do not allow segm not waiting for final stroke. (No results on the go) */
|
||||
#define HW_RECFL_TTSEG 0x0004 /* Perform read-ahead of tentative segmented words */
|
||||
#define HW_RECFL_INTL_CS 0x0010 /* Enables international charsets */
|
||||
#define HW_RECFL_ALPHAONLY 0x0020 /* Enables international charsets */
|
||||
#define HW_RECFL_CUSTOM_WITH_ALPHA 0x0040 /* Alpha with custom punctuation */
|
||||
#define HW_RECFL_SEPLET 0x0100 /* Enables separate letter mode */
|
||||
#define HW_RECFL_DICTONLY 0x0200 /* Restricts dictionary words only recognition */
|
||||
#define HW_RECFL_NUMONLY 0x0400 /* NUMBERS only */
|
||||
#define HW_RECFL_CAPSONLY 0x0800 /* CAPITALS only */
|
||||
#define HW_RECFL_PURE 0x1000 /* NUMBERS and CAPITALS modes do not use any other chars */
|
||||
#define HW_RECFL_INTERNET 0x2000 /* Internet address mode */
|
||||
#define HW_RECFL_STATICSEG 0x4000 /* Static segmentation */
|
||||
#define HW_RECFL_CUSTOM 0x8000 /* use custom charset */
|
||||
|
||||
// Bits of recognizer capabilities
|
||||
|
||||
#define HW_CPFL_CURS 0x0001 /* Cursive capable */
|
||||
#define HW_CPFL_TRNBL 0x0002 /* Training capable */
|
||||
#define HW_CPFL_SPVSQ 0x0004 /* Speed VS Quality control capable */
|
||||
#define HW_CPFL_INTER 0x0008 /* International support capable */
|
||||
|
||||
#define HW_MAXWORDLEN 50 /* maximum word length */
|
||||
|
||||
#define HW_SPELL_CHECK 0x0000 /* SpellCheck flag: do spell checking */
|
||||
#define HW_SPELL_LIST 0x0001 /* SpellCheck flag: list continuations */
|
||||
#define HW_SPELL_USERDICT 0x0002 /* SpellCheck flag: use user dictionary */
|
||||
#define HW_SPELL_USEALTDICT 0x0004 /* SpellCheck flag: use alternative dictionary */
|
||||
#define HW_SPELL_IGNORENUM 0x0008 /* SpellCheck flag: ignore words containing numbers */
|
||||
#define HW_SPELL_IGNOREUPPER 0x0010 /* SpellCheck flag: ignore words in UPPER case */
|
||||
|
||||
#define HW_NUM_ANSWERS 1 /* Request to get number of recognized words */
|
||||
#define HW_NUM_ALTS 2 /* Request number of alternatives for given word */
|
||||
#define HW_ALT_WORD 3 /* Requestto get pointer to a given word alternative */
|
||||
#define HW_ALT_WEIGHT 4 /* Request to get weight of a give word alternative */
|
||||
#define HW_ALT_NSTR 5 /* Request to get number of strokes used for a given word alternative */
|
||||
#define HW_ALT_STROKES 6 /* Request to get a pointer to a given word alternative stroke ids */
|
||||
|
||||
#define MIN_RECOGNITION_WEIGHT 51 /* Minimum recognition quality */
|
||||
#define MAX_RECOGNITION_WEIGHT 100 /* Maximum recognition quality */
|
||||
#define AVE_RECOGNITION_WEIGHT ((MIN_RECOGNITION_WEIGHT+MAX_RECOGNITION_WEIGHT)/2)
|
||||
|
||||
#define LRN_WEIGHTSBUFFER_SIZE 448
|
||||
#define LRN_SETDEFWEIGHTS_OP 0 /* LEARN interface commands for RecoGetSetPictWghts func */
|
||||
#define LRN_GETCURWEIGHTS_OP 1
|
||||
#define LRN_SETCURWEIGHTS_OP 2
|
||||
|
||||
#define PM_ALTSEP 1 /* Recognized word list alternatives separator */
|
||||
#define PM_LISTSEP 2 /* Recognized word list wordlist separator */
|
||||
#define PM_LISTEND 0 /* Recognized word list end */
|
||||
|
||||
#define PM_NUMSEPARATOR (-1)
|
||||
|
||||
|
||||
#define HW_RECINT_UNICODE 1 // NOTE: define to use Unicode (UTF-16)
|
||||
|
||||
|
||||
/* ------------------------- Structures ------------------------------------- */
|
||||
|
||||
typedef void * RECOCTX; /* Type of handle of recognizer context */
|
||||
typedef void * RECOHDICT; /* Type of handle of user dictionary handle */
|
||||
|
||||
|
||||
#ifdef HW_RECINT_UNICODE
|
||||
typedef unsigned short UCHR;
|
||||
typedef const unsigned short CUCHR;
|
||||
#else // HW_RECINT_UNICODE
|
||||
typedef char UCHR;
|
||||
typedef const char CUCHR;
|
||||
#endif // HW_RECINT_UNICODE
|
||||
|
||||
typedef int (RECO_ONGOTWORD)( const UCHR * szWord, void * pParam );
|
||||
typedef RECO_ONGOTWORD * PRECO_ONGOTWORD;
|
||||
|
||||
#endif // __Reco_Defs_h__
|
||||
Executable
+141
@@ -0,0 +1,141 @@
|
||||
/***************************************************************************************
|
||||
*
|
||||
* WRITEPAD(r): Handwriting Recognition Engine (HWRE) and components.
|
||||
* Copyright (c) 2001-2016 PhatWare (r) Corp. All rights reserved.
|
||||
*
|
||||
* Licensing and other inquires: <developer@phatware.com>
|
||||
* Developer: Stan Miasnikov, et al. (c) PhatWare Corp. <http://www.phatware.com>
|
||||
*
|
||||
* WRITEPAD HWRE is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* THE MATERIAL EMBODIED ON THIS SOFTWARE IS PROVIDED TO YOU "AS-IS"
|
||||
* AND WITHOUT WARRANTY OF ANY KIND, EXPRESS, IMPLIED OR OTHERWISE,
|
||||
* INCLUDING WITHOUT LIMITATION, ANY WARRANTY OF MERCHANTABILITY OR
|
||||
* FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL PHATWARE CORP.
|
||||
* BE LIABLE TO YOU OR ANYONE ELSE FOR ANY DIRECT, SPECIAL, INCIDENTAL,
|
||||
* INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND, OR ANY DAMAGES WHATSOEVER,
|
||||
* INCLUDING WITHOUT LIMITATION, LOSS OF PROFIT, LOSS OF USE, SAVINGS
|
||||
* OR REVENUE, OR THE CLAIMS OF THIRD PARTIES, WHETHER OR NOT PHATWARE CORP.
|
||||
* HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH LOSS, HOWEVER CAUSED AND ON
|
||||
* ANY THEORY OF LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE
|
||||
* POSSESSION, USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
* See the GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with WritePad. If not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
**************************************************************************************/
|
||||
|
||||
#ifndef __RecoTypes_h__
|
||||
#define __RecoTypes_h__
|
||||
|
||||
#include "recodefs.h"
|
||||
#include "langid.h"
|
||||
|
||||
#ifndef __MACTYPES__
|
||||
|
||||
// define some types that are used for compatibility with MAC OS
|
||||
|
||||
typedef unsigned char UInt8;
|
||||
typedef signed char SInt8;
|
||||
typedef unsigned short UInt16;
|
||||
typedef signed short SInt16;
|
||||
typedef unsigned int UInt32;
|
||||
typedef signed int SInt32;
|
||||
|
||||
typedef SInt16 OSErr;
|
||||
typedef SInt32 OSStatus;
|
||||
|
||||
enum {
|
||||
noErr = 0
|
||||
};
|
||||
|
||||
#endif // __MACTYPES__
|
||||
|
||||
#ifndef CGGEOMETRY_H_
|
||||
|
||||
#if defined(__LP64__) && __LP64__
|
||||
typedef double CGFloat;
|
||||
#else
|
||||
typedef float CGFloat;
|
||||
#endif
|
||||
|
||||
struct CGPoint {
|
||||
CGFloat x;
|
||||
CGFloat y;
|
||||
};
|
||||
typedef struct CGPoint CGPoint;
|
||||
|
||||
struct CGSize {
|
||||
CGFloat width;
|
||||
CGFloat height;
|
||||
};
|
||||
typedef struct CGSize CGSize;
|
||||
|
||||
struct CGRect {
|
||||
CGPoint origin;
|
||||
CGSize size;
|
||||
};
|
||||
typedef struct CGRect CGRect;
|
||||
|
||||
#endif // CGGEOMETRY_H_
|
||||
|
||||
typedef struct __tagTracePoint
|
||||
{
|
||||
CGPoint pt;
|
||||
int pressure;
|
||||
} CGTracePoint;
|
||||
|
||||
typedef CGTracePoint * CGStroke;
|
||||
|
||||
|
||||
#define RW_WEIGHTMASK 0x000000FF
|
||||
#define RW_DICTIONARYWORD 0x00004000
|
||||
|
||||
// Autocorrector flags
|
||||
#define WCF_IGNORECASE 0x0001
|
||||
#define WCF_ALWAYS 0x0002
|
||||
#define WCF_DISABLED 0x0004
|
||||
|
||||
/* ------------------------- Language ID ------------------------------------- */
|
||||
|
||||
#define DEFAULT_PRESSURE 150
|
||||
#define MAX_PRESSURE 255
|
||||
#define MIN_PRESSURE 5
|
||||
|
||||
typedef enum {
|
||||
SHAPE_UNKNOWN = 0,
|
||||
SHAPE_TRIANGLE = 0x0001,
|
||||
SHAPE_CIRCLE = 0x0002,
|
||||
SHAPE_ELLIPSE = 0x0004,
|
||||
SHAPE_RECTANGLE = 0x0008,
|
||||
SHAPE_LINE = 0x0010,
|
||||
SHAPE_ARROW = 0x0020,
|
||||
SHAPE_SCRATCH = 0x0040,
|
||||
SHAPE_ALL = 0x00FF
|
||||
} SHAPETYPE;
|
||||
|
||||
|
||||
typedef UInt16 USHORT;
|
||||
typedef unsigned char UCHAR;
|
||||
typedef unsigned short UNCHAR;
|
||||
typedef UNCHAR * LPUSTR;
|
||||
typedef const UNCHAR * LPCUSTR;
|
||||
typedef UInt32 COLORREF;
|
||||
|
||||
/// Type to represent a boolean value.
|
||||
#if !defined(OBJC_HIDE_64) && TARGET_OS_IPHONE && __LP64__
|
||||
typedef bool BOOL;
|
||||
#else
|
||||
typedef signed char BOOL;
|
||||
// BOOL is explicitly signed so @encode(BOOL) == "c" rather than "C"
|
||||
// even if -funsigned-char is used.
|
||||
#endif
|
||||
|
||||
#define IMAGE_SUPPORT 1 // support image storage
|
||||
|
||||
#endif // __RecoTypes_h__
|
||||
|
||||
Executable
+1539
File diff suppressed because it is too large
Load Diff
Executable
+1001
File diff suppressed because it is too large
Load Diff
Executable
+66
@@ -0,0 +1,66 @@
|
||||
/***************************************************************************************
|
||||
*
|
||||
* WRITEPAD(r): Handwriting Recognition Engine (HWRE) and components.
|
||||
* Copyright (c) 2001-2016 PhatWare (r) Corp. All rights reserved.
|
||||
*
|
||||
* Licensing and other inquires: <developer@phatware.com>
|
||||
* Developer: Stan Miasnikov, et al. (c) PhatWare Corp. <http://www.phatware.com>
|
||||
*
|
||||
* WRITEPAD HWRE is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* THE MATERIAL EMBODIED ON THIS SOFTWARE IS PROVIDED TO YOU "AS-IS"
|
||||
* AND WITHOUT WARRANTY OF ANY KIND, EXPRESS, IMPLIED OR OTHERWISE,
|
||||
* INCLUDING WITHOUT LIMITATION, ANY WARRANTY OF MERCHANTABILITY OR
|
||||
* FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL PHATWARE CORP.
|
||||
* BE LIABLE TO YOU OR ANYONE ELSE FOR ANY DIRECT, SPECIAL, INCIDENTAL,
|
||||
* INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND, OR ANY DAMAGES WHATSOEVER,
|
||||
* INCLUDING WITHOUT LIMITATION, LOSS OF PROFIT, LOSS OF USE, SAVINGS
|
||||
* OR REVENUE, OR THE CLAIMS OF THIRD PARTIES, WHETHER OR NOT PHATWARE CORP.
|
||||
* HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH LOSS, HOWEVER CAUSED AND ON
|
||||
* ANY THEORY OF LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE
|
||||
* POSSESSION, USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
* See the GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with WritePad. If not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
**************************************************************************************/
|
||||
|
||||
#include "ShapeAPI.h"
|
||||
|
||||
static const unsigned char let_img_img_eng[] = {
|
||||
|
||||
#include "lidt_eng.h"
|
||||
|
||||
};
|
||||
|
||||
static const unsigned char let_img_img_ger[] = {
|
||||
|
||||
#include "lidt_ger.h"
|
||||
|
||||
};
|
||||
|
||||
static const unsigned char let_img_img_frn[] = {
|
||||
|
||||
#include "lidt_fre.h"
|
||||
|
||||
};
|
||||
|
||||
const LIDBType *LIGetLetterDB( int languageID )
|
||||
{
|
||||
switch( languageID )
|
||||
{
|
||||
case LANGUAGE_FRENCH :
|
||||
case LANGUAGE_ITALIAN :
|
||||
case LANGUAGE_PORTUGUESE :
|
||||
// case LANGUAGE_PORTUGUESEB :
|
||||
return (LIDBType*)let_img_img_frn;
|
||||
|
||||
case LANGUAGE_GERMAN :
|
||||
return (LIDBType*)let_img_img_ger;
|
||||
}
|
||||
return (LIDBType*)let_img_img_eng;
|
||||
}
|
||||
Executable
BIN
Binary file not shown.
Executable
BIN
Binary file not shown.
Executable
BIN
Binary file not shown.
Executable
BIN
Binary file not shown.
Executable
BIN
Binary file not shown.
Executable
BIN
Binary file not shown.
Executable
BIN
Binary file not shown.
Executable
BIN
Binary file not shown.
Executable
BIN
Binary file not shown.
Executable
BIN
Binary file not shown.
Executable
BIN
Binary file not shown.
Executable
BIN
Binary file not shown.
Executable
BIN
Binary file not shown.
Executable
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
Executable
BIN
Binary file not shown.
Executable
BIN
Binary file not shown.
Executable
BIN
Binary file not shown.
Executable
BIN
Binary file not shown.
Executable
BIN
Binary file not shown.
Executable
BIN
Binary file not shown.
@@ -0,0 +1,243 @@
|
||||
GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007
|
||||
|
||||
|
||||
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
|
||||
Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed.
|
||||
|
||||
Preamble
|
||||
|
||||
The GNU General Public License is a free, copyleft license for software and other kinds of works.
|
||||
|
||||
The licenses for most software and other practical works are designed to take away your freedom to share and change the works. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change all versions of a program--to make sure it remains free software for all its users. We, the Free Software Foundation, use the GNU General Public License for most of our software; it applies also to any other work released this way by its authors. You can apply it to
|
||||
your programs, too.
|
||||
|
||||
When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for them if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs, and that you know you can do these things.
|
||||
|
||||
To protect your rights, we need to prevent others from denying you these rights or asking you to surrender the rights. Therefore, you have certain responsibilities if you distribute copies of the software, or if you modify it: responsibilities to respect the freedom of others.
|
||||
|
||||
For example, if you distribute copies of such a program, whether gratis or for a fee, you must pass on to the recipients the same freedoms that you received. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights.
|
||||
|
||||
Developers that use the GNU GPL protect your rights with two steps:
|
||||
(1) assert copyright on the software, and (2) offer you this License giving you legal permission to copy, distribute and/or modify it.
|
||||
|
||||
For the developers' and authors' protection, the GPL clearly explains that there is no warranty for this free software. For both users' and authors' sake, the GPL requires that modified versions be marked as changed, so that their problems will not be attributed erroneously to authors of previous versions.
|
||||
|
||||
Some devices are designed to deny users access to install or run modified versions of the software inside them, although the manufacturer can do so. This is fundamentally incompatible with the aim of protecting users' freedom to change the software. The systematic pattern of such abuse occurs in the area of products for individuals to use, which is precisely where it is most unacceptable. Therefore, we have designed this version of the GPL to prohibit the practice for those products. If such problems arise substantially in other domains, we stand ready to extend this provision to those domains in future versions of the GPL, as needed to protect the freedom of users.
|
||||
|
||||
Finally, every program is threatened constantly by software patents. States should not allow patents to restrict development and use of software on general-purpose computers, but in those that do, we wish to avoid the special danger that patents applied to a free program could make it effectively proprietary. To prevent this, the GPL assures that patents cannot be used to render the program non-free.
|
||||
|
||||
The precise terms and conditions for copying, distribution and modification follow.
|
||||
|
||||
TERMS AND CONDITIONS
|
||||
|
||||
0. Definitions.
|
||||
|
||||
"This License" refers to version 3 of the GNU General Public License.
|
||||
|
||||
"Copyright" also means copyright-like laws that apply to other kinds of works, such as semiconductor masks.
|
||||
|
||||
"The Program" refers to any copyrightable work licensed under this License. Each licensee is addressed as "you". "Licensees" and "recipients" may be individuals or organizations.
|
||||
|
||||
To "modify" a work means to copy from or adapt all or part of the work in a fashion requiring copyright permission, other than the making of an exact copy. The resulting work is called a "modified version" of the earlier work or a work "based on" the earlier work.
|
||||
|
||||
A "covered work" means either the unmodified Program or a work based on the Program.
|
||||
|
||||
To "propagate" a work means to do anything with it that, without permission, would make you directly or secondarily liable for infringement under applicable copyright law, except executing it on a computer or modifying a private copy. Propagation includes copying, distribution (with or without modification), making available to the
|
||||
public, and in some countries other activities as well.
|
||||
|
||||
To "convey" a work means any kind of propagation that enables other parties to make or receive copies. Mere interaction with a user through a computer network, with no transfer of a copy, is not conveying.
|
||||
|
||||
An interactive user interface displays "Appropriate Legal Notices" to the extent that it includes a convenient and prominently visible feature that (1) displays an appropriate copyright notice, and (2) tells the user that there is no warranty for the work (except to the extent that warranties are provided), that licensees may convey the work under this License, and how to view a copy of this License. If the interface presents a list of user commands or options, such as a menu, a prominent item in the list meets this criterion.
|
||||
|
||||
1. Source Code.
|
||||
|
||||
The "source code" for a work means the preferred form of the work for making modifications to it. "Object code" means any non-source form of a work.
|
||||
|
||||
A "Standard Interface" means an interface that either is an official standard defined by a recognized standards body, or, in the case of interfaces specified for a particular programming language, one that is widely used among developers working in that language.
|
||||
|
||||
The "System Libraries" of an executable work include anything, other than the work as a whole, that (a) is included in the normal form of packaging a Major Component, but which is not part of that Major Component, and (b) serves only to enable use of the work with that Major Component, or to implement a Standard Interface for which an implementation is available to the public in source code form. A "Major Component", in this context, means a major essential component (kernel, window system, and so on) of the specific operating system (if any) on which the executable work runs, or a compiler used to produce the work, or an object code interpreter used to run it.
|
||||
|
||||
The "Corresponding Source" for a work in object code form means all the source code needed to generate, install, and (for an executable work) run the object code and to modify the work, including scripts to control those activities. However, it does not include the work's System Libraries, or general-purpose tools or generally available free
|
||||
programs which are used unmodified in performing those activities but which are not part of the work. For example, Corresponding Source includes interface definition files associated with source files for the work, and the source code for shared libraries and dynamically linked subprograms that the work is specifically designed to require,
|
||||
such as by intimate data communication or control flow between those subprograms and other parts of the work.
|
||||
|
||||
The Corresponding Source need not include anything that users can regenerate automatically from other parts of the Corresponding Source.
|
||||
|
||||
The Corresponding Source for a work in source code form is that same work.
|
||||
|
||||
2. Basic Permissions.
|
||||
|
||||
All rights granted under this License are granted for the term of copyright on the Program, and are irrevocable provided the stated conditions are met. This License explicitly affirms your unlimited permission to run the unmodified Program. The output from running a covered work is covered by this License only if the output, given its content, constitutes a covered work. This License acknowledges your
|
||||
rights of fair use or other equivalent, as provided by copyright law.
|
||||
|
||||
You may make, run and propagate covered works that you do not convey, without conditions so long as your license otherwise remains in force. You may convey covered works to others for the sole purpose of having them make modifications exclusively for you, or provide you with facilities for running those works, provided that you comply with the terms of this License in conveying all material for which you do not control copyright. Those thus making or running the covered works
|
||||
for you must do so exclusively on your behalf, under your direction and control, on terms that prohibit them from making any copies of your copyrighted material outside their relationship with you.
|
||||
|
||||
Conveying under any other circumstances is permitted solely under the conditions stated below. Sublicensing is not allowed; section 10 makes it unnecessary.
|
||||
|
||||
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
|
||||
|
||||
No covered work shall be deemed part of an effective technological measure under any applicable law fulfilling obligations under article 11 of the WIPO copyright treaty adopted on 20 December 1996, or similar laws prohibiting or restricting circumvention of such measures.
|
||||
|
||||
When you convey a covered work, you waive any legal power to forbid circumvention of technological measures to the extent such circumvention is effected by exercising rights under this License with respect to the covered work, and you disclaim any intention to limit operation or modification of the work as a means of enforcing, against the work's users, your or third parties' legal rights to forbid circumvention of technological measures.
|
||||
|
||||
4. Conveying Verbatim Copies.
|
||||
|
||||
You may convey verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice; keep intact all notices stating that this License and any non-permissive terms added in accord with section 7 apply to the code;
|
||||
keep intact all notices of the absence of any warranty; and give all recipients a copy of this License along with the Program.
|
||||
|
||||
You may charge any price or no price for each copy that you convey, and you may offer support or warranty protection for a fee.
|
||||
|
||||
5. Conveying Modified Source Versions.
|
||||
|
||||
You may convey a work based on the Program, or the modifications to produce it from the Program, in the form of source code under the terms of section 4, provided that you also meet all of these conditions:
|
||||
|
||||
a) The work must carry prominent notices stating that you modified
|
||||
it, and giving a relevant date.
|
||||
|
||||
b) The work must carry prominent notices stating that it is released under this License and any conditions added under section
|
||||
7. This requirement modifies the requirement in section 4 to "keep intact all notices".
|
||||
|
||||
c) You must license the entire work, as a whole, under this License to anyone who comes into possession of a copy. This License will therefore apply, along with any applicable section 7 additional terms, to the whole of the work, and all its parts, regardless of how they are packaged. This License gives no permission to license the work in any other way, but it does not invalidate such permission if you have separately received it.
|
||||
|
||||
d) If the work has interactive user interfaces, each must display Appropriate Legal Notices; however, if the Program has interactive interfaces that do not display Appropriate Legal Notices, your work need not make them do so.
|
||||
|
||||
A compilation of a covered work with other separate and independent works, which are not by their nature extensions of the covered work, and which are not combined with it such as to form a larger program, in or on a volume of a storage or distribution medium, is called an "aggregate" if the compilation and its resulting copyright are not
|
||||
used to limit the access or legal rights of the compilation's users beyond what the individual works permit. Inclusion of a covered work in an aggregate does not cause this License to apply to the other parts of the aggregate.
|
||||
|
||||
6. Conveying Non-Source Forms.
|
||||
|
||||
You may convey a covered work in object code form under the terms of sections 4 and 5, provided that you also convey the machine-readable Corresponding Source under the terms of this License, in one of these ways:
|
||||
|
||||
a) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by the Corresponding Source fixed on a durable physical medium customarily used for software interchange.
|
||||
|
||||
b) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by a written offer, valid for at least three years and valid for as long as you offer spare parts or customer support for that product model, to give anyone who possesses the object code either (1) a copy of the Corresponding Source for all the software in the product that is covered by this License, on a durable physical medium customarily used for software interchange, for a price no more than your reasonable cost of physically performing this conveying of source, or (2) access to copy the Corresponding Source from a network server at no charge.
|
||||
|
||||
c) Convey individual copies of the object code with a copy of the written offer to provide the Corresponding Source. This alternative is allowed only occasionally and noncommercially, and only if you received the object code with such an offer, in accord with subsection 6b.
|
||||
|
||||
d) Convey the object code by offering access from a designated place (gratis or for a charge), and offer equivalent access to the Corresponding Source in the same way through the same place at no further charge. You need not require recipients to copy the Corresponding Source along with the object code. If the place to copy the object code is a network server, the Corresponding Source may be on a different server (operated by you or a third party) that supports equivalent copying facilities, provided you maintain clear directions next to the object code saying where to find the Corresponding Source. Regardless of what server hosts the Corresponding Source, you remain obligated to ensure that it is available for as long as needed to satisfy these requirements.
|
||||
|
||||
e) Convey the object code using peer-to-peer transmission, provided you inform other peers where the object code and Corresponding Source of the work are being offered to the general public at no charge under subsection 6d.
|
||||
|
||||
A separable portion of the object code, whose source code is excluded from the Corresponding Source as a System Library, need not be included in conveying the object code work.
|
||||
|
||||
A "User Product" is either (1) a "consumer product", which means any tangible personal property which is normally used for personal, family, or household purposes, or (2) anything designed or sold for incorporation into a dwelling. In determining whether a product is a consumer product, doubtful cases shall be resolved in favor of coverage. For a particular product received by a particular user, "normally used" refers to a typical or common use of that class of product, regardless of the status of the particular user or of the way in which the particular user actually uses, or expects or is expected to use, the product. A product is a consumer product regardless of whether the product has substantial commercial, industrial or non-consumer uses, unless such uses represent the only significant mode of use of the product.
|
||||
|
||||
"Installation Information" for a User Product means any methods, procedures, authorization keys, or other information required to install and execute modified versions of a covered work in that User Product from a modified version of its Corresponding Source. The information must suffice to ensure that the continued functioning of the modified object code is in no case prevented or interfered with solely because modification has been made.
|
||||
|
||||
If you convey an object code work under this section in, or with, or specifically for use in, a User Product, and the conveying occurs as part of a transaction in which the right of possession and use of the User Product is transferred to the recipient in perpetuity or for a fixed term (regardless of how the transaction is characterized), the
|
||||
Corresponding Source conveyed under this section must be accompanied by the Installation Information. But this requirement does not apply if neither you nor any third party retains the ability to install modified object code on the User Product (for example, the work has been installed in ROM).
|
||||
|
||||
The requirement to provide Installation Information does not include a requirement to continue to provide support service, warranty, or updates for a work that has been modified or installed by the recipient, or for the User Product in which it has been modified or installed. Access to a network may be denied when the modification itself materially and adversely affects the operation of the network or violates the rules and protocols for communication across the network.
|
||||
|
||||
Corresponding Source conveyed, and Installation Information provided, in accord with this section must be in a format that is publicly documented (and with an implementation available to the public in source code form), and must require no special password or key for unpacking, reading or copying.
|
||||
|
||||
7. Additional Terms.
|
||||
|
||||
"Additional permissions" are terms that supplement the terms of this License by making exceptions from one or more of its conditions. Additional permissions that are applicable to the entire Program shall be treated as though they were included in this License, to the extent that they are valid under applicable law. If additional permissions apply only to part of the Program, that part may be used separately
|
||||
under those permissions, but the entire Program remains governed by this License without regard to the additional permissions.
|
||||
|
||||
When you convey a copy of a covered work, you may at your option remove any additional permissions from that copy, or from any part of it. (Additional permissions may be written to require their own removal in certain cases when you modify the work.) You may place additional permissions on material, added by you to a covered work, for which you have or can give appropriate copyright permission.
|
||||
|
||||
Notwithstanding any other provision of this License, for material you add to a covered work, you may (if authorized by the copyright holders of that material) supplement the terms of this License with terms:
|
||||
|
||||
a) Disclaiming warranty or limiting liability differently from the terms of sections 15 and 16 of this License; or
|
||||
|
||||
b) Requiring preservation of specified reasonable legal notices or author attributions in that material or in the Appropriate Legal Notices displayed by works containing it; or
|
||||
|
||||
c) Prohibiting misrepresentation of the origin of that material, or requiring that modified versions of such material be marked in reasonable ways as different from the original version; or
|
||||
|
||||
d) Limiting the use for publicity purposes of names of licensors or authors of the material; or
|
||||
|
||||
e) Declining to grant rights under trademark law for use of some trade names, trademarks, or service marks; or
|
||||
|
||||
f) Requiring indemnification of licensors and authors of that material by anyone who conveys the material (or modified versions of it) with contractual assumptions of liability to the recipient, for any liability that these contractual assumptions directly impose on those licensors and authors.
|
||||
|
||||
All other non-permissive additional terms are considered "further restrictions" within the meaning of section 10. If the Program as you received it, or any part of it, contains a notice stating that it is governed by this License along with a term that is a further restriction, you may remove that term. If a license document contains
|
||||
a further restriction but permits relicensing or conveying under this License, you may add to a covered work material governed by the terms of that license document, provided that the further restriction does not survive such relicensing or conveying.
|
||||
|
||||
If you add terms to a covered work in accord with this section, you must place, in the relevant source files, a statement of the additional terms that apply to those files, or a notice indicating where to find the applicable terms.
|
||||
|
||||
Additional terms, permissive or non-permissive, may be stated in the form of a separately written license, or stated as exceptions; the above requirements apply either way.
|
||||
|
||||
8. Termination.
|
||||
|
||||
You may not propagate or modify a covered work except as expressly provided under this License. Any attempt otherwise to propagate or modify it is void, and will automatically terminate your rights under this License (including any patent licenses granted under the third paragraph of section 11).
|
||||
|
||||
However, if you cease all violation of this License, then your license from a particular copyright holder is reinstated (a) provisionally, unless and until the copyright holder explicitly and finally terminates your license, and (b) permanently, if the copyright holder fails to notify you of the violation by some reasonable means
|
||||
prior to 60 days after the cessation.
|
||||
|
||||
Moreover, your license from a particular copyright holder is reinstated permanently if the copyright holder notifies you of the violation by some reasonable means, this is the first time you have received notice of violation of this License (for any work) from that copyright holder, and you cure the violation prior to 30 days after your receipt of the notice.
|
||||
|
||||
Termination of your rights under this section does not terminate the licenses of parties who have received copies or rights from you under this License. If your rights have been terminated and not permanently reinstated, you do not qualify to receive new licenses for the same material under section 10.
|
||||
|
||||
9. Acceptance Not Required for Having Copies.
|
||||
|
||||
You are not required to accept this License in order to receive or run a copy of the Program. Ancillary propagation of a covered work occurring solely as a consequence of using peer-to-peer transmission to receive a copy likewise does not require acceptance. However, nothing other than this License grants you permission to propagate or modify any covered work. These actions infringe copyright if you do
|
||||
not accept this License. Therefore, by modifying or propagating a covered work, you indicate your acceptance of this License to do so.
|
||||
|
||||
10. Automatic Licensing of Downstream Recipients.
|
||||
|
||||
Each time you convey a covered work, the recipient automatically receives a license from the original licensors, to run, modify and propagate that work, subject to this License. You are not responsible for enforcing compliance by third parties with this License.
|
||||
|
||||
An "entity transaction" is a transaction transferring control of an organization, or substantially all assets of one, or subdividing an organization, or merging organizations. If propagation of a covered work results from an entity transaction, each party to that transaction who receives a copy of the work also receives whatever
|
||||
licenses to the work the party's predecessor in interest had or could give under the previous paragraph, plus a right to possession of the Corresponding Source of the work from the predecessor in interest, if the predecessor has it or can get it with reasonable efforts.
|
||||
|
||||
You may not impose any further restrictions on the exercise of the rights granted or affirmed under this License. For example, you may not impose a license fee, royalty, or other charge for exercise of rights granted under this License, and you may not initiate litigation (including a cross-claim or counterclaim in a lawsuit) alleging that
|
||||
any patent claim is infringed by making, using, selling, offering for sale, or importing the Program or any portion of it.
|
||||
|
||||
11. Patents.
|
||||
|
||||
A "contributor" is a copyright holder who authorizes use under this License of the Program or a work on which the Program is based. The work thus licensed is called the contributor's "contributor version".
|
||||
|
||||
A contributor's "essential patent claims" are all patent claims owned or controlled by the contributor, whether already acquired or hereafter acquired, that would be infringed by some manner, permitted by this License, of making, using, or selling its contributor version, but do not include claims that would be infringed only as a
|
||||
consequence of further modification of the contributor version. For purposes of this definition, "control" includes the right to grant patent sublicenses in a manner consistent with the requirements of this License.
|
||||
|
||||
Each contributor grants you a non-exclusive, worldwide, royalty-free patent license under the contributor's essential patent claims, to make, use, sell, offer for sale, import and otherwise run, modify and propagate the contents of its contributor version.
|
||||
|
||||
In the following three paragraphs, a "patent license" is any express agreement or commitment, however denominated, not to enforce a patent (such as an express permission to practice a patent or covenant not to sue for patent infringement). To "grant" such a patent license to a party means to make such an agreement or commitment not to enforce a patent against the party.
|
||||
|
||||
If you convey a covered work, knowingly relying on a patent license, and the Corresponding Source of the work is not available for anyone to copy, free of charge and under the terms of this License, through a publicly available network server or other readily accessible means, then you must either (1) cause the Corresponding Source to be so available, or (2) arrange to deprive yourself of the benefit of the
|
||||
patent license for this particular work, or (3) arrange, in a manner consistent with the requirements of this License, to extend the patent license to downstream recipients. "Knowingly relying" means you have actual knowledge that, but for the patent license, your conveying the covered work in a country, or your recipient's use of the covered work in a country, would infringe one or more identifiable patents in that
|
||||
country that you have reason to believe are valid.
|
||||
|
||||
If, pursuant to or in connection with a single transaction or arrangement, you convey, or propagate by procuring conveyance of, a covered work, and grant a patent license to some of the parties receiving the covered work authorizing them to use, propagate, modify or convey a specific copy of the covered work, then the patent license you grant is automatically extended to all recipients of the covered
|
||||
work and works based on it.
|
||||
|
||||
A patent license is "discriminatory" if it does not include within the scope of its coverage, prohibits the exercise of, or is conditioned on the non-exercise of one or more of the rights that are specifically granted under this License. You may not convey a covered work if you are a party to an arrangement with a third party that is
|
||||
in the business of distributing software, under which you make payment to the third party based on the extent of your activity of conveying the work, and under which the third party grants, to any of the parties who would receive the covered work from you, a discriminatory patent license (a) in connection with copies of the covered work
|
||||
conveyed by you (or copies made from those copies), or (b) primarily for and in connection with specific products or compilations that contain the covered work, unless you entered into that arrangement, or that patent license was granted, prior to 28 March 2007.
|
||||
|
||||
Nothing in this License shall be construed as excluding or limiting any implied license or other defenses to infringement that may otherwise be available to you under applicable patent law.
|
||||
|
||||
12. No Surrender of Others' Freedom.
|
||||
|
||||
If conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot convey a covered work so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not convey it at all. For example, if you agree to terms that obligate you to collect a royalty for further conveying from those to whom you convey the Program, the only way you could satisfy both those terms and this License would be to refrain entirely from conveying the Program.
|
||||
|
||||
13. Use with the GNU Affero General Public License.
|
||||
|
||||
Notwithstanding any other provision of this License, you have permission to link or combine any covered work with a work licensed under version 3 of the GNU Affero General Public License into a single combined work, and to convey the resulting work. The terms of this License will continue to apply to the part which is the covered work, but the special requirements of the GNU Affero General Public License, section 13, concerning interaction through a network will apply to the
|
||||
combination as such.
|
||||
|
||||
14. Revised Versions of this License.
|
||||
|
||||
The Free Software Foundation may publish revised and/or new versions of the GNU General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns.
|
||||
|
||||
Each version is given a distinguishing version number. If the Program specifies that a certain numbered version of the GNU General Public License "or any later version" applies to it, you have the option of following the terms and conditions either of that numbered version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of the GNU General Public License, you may choose any version ever published by the Free Software Foundation.
|
||||
|
||||
If the Program specifies that a proxy can decide which future versions of the GNU General Public License can be used, that proxy's public statement of acceptance of a version permanently authorizes you to choose that version for the Program.
|
||||
|
||||
Later license versions may give you additional or different permissions. However, no additional obligations are imposed on any author or copyright holder as a result of your choosing to follow a later version.
|
||||
|
||||
15. Disclaimer of Warranty.
|
||||
|
||||
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
|
||||
|
||||
16. Limitation of Liability.
|
||||
|
||||
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
|
||||
|
||||
17. Interpretation of Sections 15 and 16.
|
||||
|
||||
If the disclaimer of warranty and limitation of liability provided above cannot be given local legal effect according to their terms, reviewing courts shall apply local law that most closely approximates an absolute waiver of all civil liability in connection with the Program, unless a warranty or assumption of liability accompanies a copy of the Program in return for a fee.
|
||||
|
||||
Executable
+272
@@ -0,0 +1,272 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<?fileVersion 4.0.0?>
|
||||
|
||||
<cproject storage_type_id="org.eclipse.cdt.core.XmlProjectDescriptionStorage">
|
||||
<storageModule moduleId="org.eclipse.cdt.core.settings">
|
||||
<cconfiguration id="cdt.managedbuild.config.gnu.cross.lib.debug.1716843270">
|
||||
<storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="cdt.managedbuild.config.gnu.cross.lib.debug.1716843270" moduleId="org.eclipse.cdt.core.settings" name="Debug">
|
||||
<externalSettings>
|
||||
<externalSetting>
|
||||
<entry flags="VALUE_WORKSPACE_PATH" kind="includePath" name="/WritePadLib"/>
|
||||
<entry flags="VALUE_WORKSPACE_PATH" kind="libraryPath" name="/WritePadLib/Debug"/>
|
||||
<entry flags="RESOLVED" kind="libraryFile" name="WritePadLib" srcPrefixMapping="" srcRootPath=""/>
|
||||
</externalSetting>
|
||||
</externalSettings>
|
||||
<extensions>
|
||||
<extension id="org.eclipse.cdt.core.ELF" point="org.eclipse.cdt.core.BinaryParser"/>
|
||||
<extension id="org.eclipse.cdt.core.GmakeErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||
<extension id="org.eclipse.cdt.core.CWDLocator" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||
<extension id="org.eclipse.cdt.core.GCCErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||
<extension id="org.eclipse.cdt.core.GASErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||
</extensions>
|
||||
</storageModule>
|
||||
<storageModule moduleId="cdtBuildSystem" version="4.0.0">
|
||||
<configuration artifactExtension="a" artifactName="${ProjName}" buildArtefactType="org.eclipse.cdt.build.core.buildArtefactType.staticLib" buildProperties="org.eclipse.cdt.build.core.buildType=org.eclipse.cdt.build.core.buildType.debug,org.eclipse.cdt.build.core.buildArtefactType=org.eclipse.cdt.build.core.buildArtefactType.staticLib" cleanCommand="rm -rf" description="" id="cdt.managedbuild.config.gnu.cross.lib.debug.1716843270" name="Debug" parent="cdt.managedbuild.config.gnu.cross.lib.debug">
|
||||
<folderInfo id="cdt.managedbuild.config.gnu.cross.lib.debug.1716843270." name="/" resourcePath="">
|
||||
<toolChain id="cdt.managedbuild.toolchain.gnu.cross.lib.debug.1248988363" name="Cross GCC" resourceTypeBasedDiscovery="true" superClass="cdt.managedbuild.toolchain.gnu.cross.lib.debug">
|
||||
<targetPlatform archList="all" binaryParser="org.eclipse.cdt.core.ELF" id="cdt.managedbuild.targetPlatform.gnu.cross.1797908773" isAbstract="false" osList="all" superClass="cdt.managedbuild.targetPlatform.gnu.cross"/>
|
||||
<builder buildPath="${workspace_loc:/WritePadLib/Debug}" id="cdt.managedbuild.builder.gnu.cross.193093142" keepEnvironmentInBuildfile="false" managedBuildOn="true" name="Gnu Make Builder" superClass="cdt.managedbuild.builder.gnu.cross"/>
|
||||
<tool command="gcc" commandLinePattern="${COMMAND} ${FLAGS} ${OUTPUT_FLAG} ${OUTPUT_PREFIX}${OUTPUT} ${INPUTS}" id="cdt.managedbuild.tool.gnu.cross.c.compiler.1821461975" name="Cross GCC Compiler" superClass="cdt.managedbuild.tool.gnu.cross.c.compiler">
|
||||
<option defaultValue="gnu.c.optimization.level.none" id="gnu.c.compiler.option.optimization.level.1130984887" name="Optimization Level" superClass="gnu.c.compiler.option.optimization.level" valueType="enumerated"/>
|
||||
<option id="gnu.c.compiler.option.debugging.level.106710351" name="Debug Level" superClass="gnu.c.compiler.option.debugging.level" value="gnu.c.debugging.level.max" valueType="enumerated"/>
|
||||
<option id="gnu.c.compiler.option.preprocessor.def.symbols.144109067" name="Defined symbols (-D)" superClass="gnu.c.compiler.option.preprocessor.def.symbols" valueType="definedSymbols">
|
||||
<listOptionValue builtIn="false" value="_OS_LINUX"/>
|
||||
<listOptionValue builtIn="false" value="HWR_SYSTEM=HWR_LINUX"/>
|
||||
<listOptionValue builtIn="false" value="_EMBEDDED_DEVICE"/>
|
||||
<listOptionValue builtIn="false" value="RECODICT"/>
|
||||
<listOptionValue builtIn="false" value="LANG_ENGLISH"/>
|
||||
<listOptionValue builtIn="false" value="LANG_FRENCH"/>
|
||||
<listOptionValue builtIn="false" value="LANG_DUTCH"/>
|
||||
<listOptionValue builtIn="false" value="LANG_SPANISH"/>
|
||||
<listOptionValue builtIn="false" value="LANG_ITALIAN"/>
|
||||
<listOptionValue builtIn="false" value="LANG_GERMAN"/>
|
||||
<listOptionValue builtIn="false" value="LANG_PORTUGUESE"/>
|
||||
<listOptionValue builtIn="false" value="LANG_PORTUGUESEB"/>
|
||||
<listOptionValue builtIn="false" value="LANG_FINNISH"/>
|
||||
<listOptionValue builtIn="false" value="LANG_SWED"/>
|
||||
<listOptionValue builtIn="false" value="LANG_DAN"/>
|
||||
<listOptionValue builtIn="false" value="LANG_NORW"/>
|
||||
</option>
|
||||
<option id="gnu.c.compiler.option.include.paths.845947262" name="Include paths (-I)" superClass="gnu.c.compiler.option.include.paths" valueType="includePath">
|
||||
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/reco/include}""/>
|
||||
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/reco/data}""/>
|
||||
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/include}""/>
|
||||
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/InkData}""/>
|
||||
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/RecognizerWrapper}""/>
|
||||
</option>
|
||||
<inputType id="cdt.managedbuild.tool.gnu.c.compiler.input.2116190553" superClass="cdt.managedbuild.tool.gnu.c.compiler.input"/>
|
||||
</tool>
|
||||
<tool command="g++" commandLinePattern="${COMMAND} -std=c++11 ${FLAGS} ${OUTPUT_FLAG} ${OUTPUT_PREFIX}${OUTPUT} ${INPUTS}" id="cdt.managedbuild.tool.gnu.cross.cpp.compiler.2138192503" name="Cross G++ Compiler" superClass="cdt.managedbuild.tool.gnu.cross.cpp.compiler">
|
||||
<option id="gnu.cpp.compiler.option.optimization.level.2106302573" name="Optimization Level" superClass="gnu.cpp.compiler.option.optimization.level" value="gnu.cpp.compiler.optimization.level.none" valueType="enumerated"/>
|
||||
<option id="gnu.cpp.compiler.option.debugging.level.1540937958" name="Debug Level" superClass="gnu.cpp.compiler.option.debugging.level" value="gnu.cpp.compiler.debugging.level.max" valueType="enumerated"/>
|
||||
<option id="gnu.cpp.compiler.option.preprocessor.def.2141083058" name="Defined symbols (-D)" superClass="gnu.cpp.compiler.option.preprocessor.def" valueType="definedSymbols">
|
||||
<listOptionValue builtIn="false" value="_OS_LINUX"/>
|
||||
<listOptionValue builtIn="false" value="HWR_SYSTEM=HWR_LINUX"/>
|
||||
<listOptionValue builtIn="false" value="_EMBEDDED_DEVICE"/>
|
||||
<listOptionValue builtIn="false" value="RECODICT"/>
|
||||
<listOptionValue builtIn="false" value="LANG_ENGLISH"/>
|
||||
<listOptionValue builtIn="false" value="LANG_FRENCH"/>
|
||||
<listOptionValue builtIn="false" value="LANG_DUTCH"/>
|
||||
<listOptionValue builtIn="false" value="LANG_SPANISH"/>
|
||||
<listOptionValue builtIn="false" value="LANG_ITALIAN"/>
|
||||
<listOptionValue builtIn="false" value="LANG_GERMAN"/>
|
||||
<listOptionValue builtIn="false" value="LANG_PORTUGUESE"/>
|
||||
<listOptionValue builtIn="false" value="LANG_PORTUGUESEB"/>
|
||||
<listOptionValue builtIn="false" value="LANG_FINNISH"/>
|
||||
<listOptionValue builtIn="false" value="LANG_SWED"/>
|
||||
<listOptionValue builtIn="false" value="LANG_DAN"/>
|
||||
<listOptionValue builtIn="false" value="LANG_NORW"/>
|
||||
</option>
|
||||
<option id="gnu.cpp.compiler.option.include.paths.2009567573" name="Include paths (-I)" superClass="gnu.cpp.compiler.option.include.paths" valueType="includePath">
|
||||
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/reco/include}""/>
|
||||
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/reco/data}""/>
|
||||
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/include}""/>
|
||||
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/InkData}""/>
|
||||
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/RecognizerWrapper}""/>
|
||||
</option>
|
||||
<inputType id="cdt.managedbuild.tool.gnu.cpp.compiler.input.365441047" superClass="cdt.managedbuild.tool.gnu.cpp.compiler.input"/>
|
||||
</tool>
|
||||
<tool id="cdt.managedbuild.tool.gnu.cross.c.linker.1856641980" name="Cross GCC Linker" superClass="cdt.managedbuild.tool.gnu.cross.c.linker"/>
|
||||
<tool id="cdt.managedbuild.tool.gnu.cross.cpp.linker.1158692192" name="Cross G++ Linker" superClass="cdt.managedbuild.tool.gnu.cross.cpp.linker"/>
|
||||
<tool id="cdt.managedbuild.tool.gnu.cross.archiver.2105376447" name="Cross GCC Archiver" superClass="cdt.managedbuild.tool.gnu.cross.archiver"/>
|
||||
<tool id="cdt.managedbuild.tool.gnu.cross.assembler.1547742292" name="Cross GCC Assembler" superClass="cdt.managedbuild.tool.gnu.cross.assembler">
|
||||
<inputType id="cdt.managedbuild.tool.gnu.assembler.input.1677949114" superClass="cdt.managedbuild.tool.gnu.assembler.input"/>
|
||||
</tool>
|
||||
</toolChain>
|
||||
</folderInfo>
|
||||
<fileInfo id="cdt.managedbuild.config.gnu.cross.lib.debug.1716843270.1237720407" name="SNN_EF.MLP" rcbsApplicability="disable" resourcePath="reco/data/SNN_EF.MLP" toolsToInvoke=""/>
|
||||
<fileInfo id="cdt.managedbuild.config.gnu.cross.lib.debug.1716843270.63588942" name="SNN_IF.MLP" rcbsApplicability="disable" resourcePath="reco/data/SNN_IF.MLP" toolsToInvoke=""/>
|
||||
<fileInfo id="cdt.managedbuild.config.gnu.cross.lib.debug.1716843270.583959331" name="ENG01.DTL" rcbsApplicability="disable" resourcePath="reco/data/ENG01.DTL" toolsToInvoke=""/>
|
||||
<fileInfo id="cdt.managedbuild.config.gnu.cross.lib.debug.1716843270.729026583" name="GERMAN.DTL" rcbsApplicability="disable" resourcePath="reco/data/GERMAN.DTL" toolsToInvoke=""/>
|
||||
<fileInfo id="cdt.managedbuild.config.gnu.cross.lib.debug.1716843270.139776185" name="FRENCH.DTN" rcbsApplicability="disable" resourcePath="reco/data/FRENCH.DTN" toolsToInvoke=""/>
|
||||
<fileInfo id="cdt.managedbuild.config.gnu.cross.lib.debug.1716843270.620151909" name="GERMAN.DTN" rcbsApplicability="disable" resourcePath="reco/data/GERMAN.DTN" toolsToInvoke=""/>
|
||||
<fileInfo id="cdt.managedbuild.config.gnu.cross.lib.debug.1716843270.347365739" name="ENG01e.DTN" rcbsApplicability="disable" resourcePath="reco/data/ENG01e.DTN" toolsToInvoke=""/>
|
||||
<fileInfo id="cdt.managedbuild.config.gnu.cross.lib.debug.1716843270.3507356" name="FRENCH.DTL" rcbsApplicability="disable" resourcePath="reco/data/FRENCH.DTL" toolsToInvoke=""/>
|
||||
<fileInfo id="cdt.managedbuild.config.gnu.cross.lib.debug.1716843270.1045457016" name="LexDbG.ldb" rcbsApplicability="disable" resourcePath="reco/data/LexDbG.ldb" toolsToInvoke=""/>
|
||||
<fileInfo id="cdt.managedbuild.config.gnu.cross.lib.debug.1716843270.162248398" name="SNN_F.MLP" rcbsApplicability="disable" resourcePath="reco/data/SNN_F.MLP" toolsToInvoke=""/>
|
||||
<fileInfo id="cdt.managedbuild.config.gnu.cross.lib.debug.1716843270.1342859880" name="FR_TRIAD.TRD" rcbsApplicability="disable" resourcePath="reco/data/FR_TRIAD.TRD" toolsToInvoke=""/>
|
||||
<fileInfo id="cdt.managedbuild.config.gnu.cross.lib.debug.1716843270.539006649" name="ENG01i.DTN" rcbsApplicability="disable" resourcePath="reco/data/ENG01i.DTN" toolsToInvoke=""/>
|
||||
<fileInfo id="cdt.managedbuild.config.gnu.cross.lib.debug.1716843270.692955138" name="LexDbE.ldb" rcbsApplicability="disable" resourcePath="reco/data/LexDbE.ldb" toolsToInvoke=""/>
|
||||
<fileInfo id="cdt.managedbuild.config.gnu.cross.lib.debug.1716843270.1795022523" name="SNN_E.MLP" rcbsApplicability="disable" resourcePath="reco/data/SNN_E.MLP" toolsToInvoke=""/>
|
||||
<fileInfo id="cdt.managedbuild.config.gnu.cross.lib.debug.1716843270.820160886" name="LexDbF.ldb" rcbsApplicability="disable" resourcePath="reco/data/LexDbF.ldb" toolsToInvoke=""/>
|
||||
<fileInfo id="cdt.managedbuild.config.gnu.cross.lib.debug.1716843270.2118381132" name="SNN_I.MLP" rcbsApplicability="disable" resourcePath="reco/data/SNN_I.MLP" toolsToInvoke=""/>
|
||||
<fileInfo id="cdt.managedbuild.config.gnu.cross.lib.debug.1716843270.1145257927" name="SNN_G.MLP" rcbsApplicability="disable" resourcePath="reco/data/SNN_G.MLP" toolsToInvoke=""/>
|
||||
<fileInfo id="cdt.managedbuild.config.gnu.cross.lib.debug.1716843270.2068682720" name="TFN05.trd" rcbsApplicability="disable" resourcePath="reco/data/TFN05.trd" toolsToInvoke=""/>
|
||||
<fileInfo id="cdt.managedbuild.config.gnu.cross.lib.debug.1716843270.659166519" name="makefile" rcbsApplicability="disable" resourcePath="makefile" toolsToInvoke=""/>
|
||||
<sourceEntries>
|
||||
<entry excluding="Lib|writepadreco|makefile|settings.mk|reco/data/ENG01.DTL|reco/data/ENG01e.DTN|reco/data/ENG01i.DTN|reco/data/FR_TRIAD.TRD|reco/data/FRENCH.DTL|reco/data/FRENCH.DTN|reco/data/GERMAN.DTL|reco/data/GERMAN.DTN|reco/data/LexDbE.ldb|reco/data/LexDbF.ldb|reco/data/LexDbG.ldb|reco/data/SNN_E.MLP|reco/data/SNN_F.MLP|reco/data/SNN_G.MLP|reco/data/SNN_I.MLP|reco/data/SNN_IF.MLP|reco/data/TFN05.trd|reco/data/SNN_EF.MLP|reco/data/vsufimgf.cpp|reco/data/vsufimge.cpp|reco/data/vprfimgf.cpp|reco/data/vprfimge.cpp|reco/data/vocimgfg.cpp|reco/data/vocimgff.cpp|reco/data/vocimgcg.cpp|reco/data/vocimgcf.cpp|reco/data/voc_imgf.cpp|reco/data/voc_imgc.cpp|reco/data/voc_img.cpp|reco/data/vcbsufff.cpp|reco/data/vcbsuffe.cpp|reco/data/vcbpreff.cpp|reco/data/vcbprefe.cpp|reco/data/trd_imgg.cpp|reco/data/trd_imgf.cpp|reco/data/trd_imge.cpp|reco/data/snnimgif.cpp|reco/data/snnimggf.cpp|reco/data/snnimgff.cpp|reco/data/snnimgef.cpp|reco/data/snn_imgi.cpp|reco/data/snn_imgg.cpp|reco/data/snn_imgf.cpp|reco/data/snn_imge.cpp|reco/data/ldb_Imgg.cpp|reco/data/ldb_Imgf.cpp|reco/data/ldb_imge.cpp|reco/data/dtiimgfg.cpp|reco/data/dtiimgff.cpp|reco/data/dtiimgci.cpp|reco/data/dtiimgcg.cpp|reco/data/dtiimgcf.cpp|reco/data/dti_imgf.cpp|reco/data/dti_imgdan.cpp|reco/data/dti_imgc.cpp|reco/data/vocabulary" flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name=""/>
|
||||
</sourceEntries>
|
||||
</configuration>
|
||||
</storageModule>
|
||||
<storageModule moduleId="org.eclipse.cdt.core.externalSettings"/>
|
||||
</cconfiguration>
|
||||
<cconfiguration id="cdt.managedbuild.config.gnu.cross.lib.release.806459589">
|
||||
<storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="cdt.managedbuild.config.gnu.cross.lib.release.806459589" moduleId="org.eclipse.cdt.core.settings" name="Release">
|
||||
<externalSettings>
|
||||
<externalSetting>
|
||||
<entry flags="VALUE_WORKSPACE_PATH" kind="includePath" name="/WritePadLib"/>
|
||||
<entry flags="VALUE_WORKSPACE_PATH" kind="libraryPath" name="/WritePadLib/Release"/>
|
||||
<entry flags="RESOLVED" kind="libraryFile" name="WritePadLib" srcPrefixMapping="" srcRootPath=""/>
|
||||
</externalSetting>
|
||||
</externalSettings>
|
||||
<extensions>
|
||||
<extension id="org.eclipse.cdt.core.ELF" point="org.eclipse.cdt.core.BinaryParser"/>
|
||||
<extension id="org.eclipse.cdt.core.GmakeErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||
<extension id="org.eclipse.cdt.core.CWDLocator" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||
<extension id="org.eclipse.cdt.core.GCCErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||
<extension id="org.eclipse.cdt.core.GASErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||
</extensions>
|
||||
</storageModule>
|
||||
<storageModule moduleId="cdtBuildSystem" version="4.0.0">
|
||||
<configuration artifactExtension="a" artifactName="${ProjName}" buildArtefactType="org.eclipse.cdt.build.core.buildArtefactType.staticLib" buildProperties="org.eclipse.cdt.build.core.buildType=org.eclipse.cdt.build.core.buildType.release,org.eclipse.cdt.build.core.buildArtefactType=org.eclipse.cdt.build.core.buildArtefactType.staticLib" cleanCommand="rm -rf" description="" id="cdt.managedbuild.config.gnu.cross.lib.release.806459589" name="Release" parent="cdt.managedbuild.config.gnu.cross.lib.release">
|
||||
<folderInfo id="cdt.managedbuild.config.gnu.cross.lib.release.806459589." name="/" resourcePath="">
|
||||
<toolChain id="cdt.managedbuild.toolchain.gnu.cross.lib.release.874914551" name="Cross GCC" superClass="cdt.managedbuild.toolchain.gnu.cross.lib.release">
|
||||
<targetPlatform archList="all" binaryParser="org.eclipse.cdt.core.ELF" id="cdt.managedbuild.targetPlatform.gnu.cross.1460826334" isAbstract="false" osList="all" superClass="cdt.managedbuild.targetPlatform.gnu.cross"/>
|
||||
<builder buildPath="${workspace_loc:/WritePadLib/Release}" id="cdt.managedbuild.builder.gnu.cross.1405649727" keepEnvironmentInBuildfile="false" managedBuildOn="true" name="Gnu Make Builder" superClass="cdt.managedbuild.builder.gnu.cross"/>
|
||||
<tool commandLinePattern="${COMMAND} ${FLAGS} ${OUTPUT_FLAG} ${OUTPUT_PREFIX}${OUTPUT} ${INPUTS}" id="cdt.managedbuild.tool.gnu.cross.c.compiler.636403509" name="Cross GCC Compiler" superClass="cdt.managedbuild.tool.gnu.cross.c.compiler">
|
||||
<option defaultValue="gnu.c.optimization.level.most" id="gnu.c.compiler.option.optimization.level.1332118838" name="Optimization Level" superClass="gnu.c.compiler.option.optimization.level" valueType="enumerated"/>
|
||||
<option id="gnu.c.compiler.option.debugging.level.1399642186" name="Debug Level" superClass="gnu.c.compiler.option.debugging.level" value="gnu.c.debugging.level.none" valueType="enumerated"/>
|
||||
<option id="gnu.c.compiler.option.preprocessor.def.symbols.761195620" name="Defined symbols (-D)" superClass="gnu.c.compiler.option.preprocessor.def.symbols" valueType="definedSymbols">
|
||||
<listOptionValue builtIn="false" value="_OS_LINUX"/>
|
||||
<listOptionValue builtIn="false" value="HWR_SYSTEM=HWR_LINUX"/>
|
||||
<listOptionValue builtIn="false" value="_EMBEDDED_DEVICE"/>
|
||||
<listOptionValue builtIn="false" value="RECODICT"/>
|
||||
<listOptionValue builtIn="false" value="LANG_ENGLISH"/>
|
||||
<listOptionValue builtIn="false" value="LANG_FRENCH"/>
|
||||
<listOptionValue builtIn="false" value="LANG_DUTCH"/>
|
||||
<listOptionValue builtIn="false" value="LANG_SPANISH"/>
|
||||
<listOptionValue builtIn="false" value="LANG_ITALIAN"/>
|
||||
<listOptionValue builtIn="false" value="LANG_GERMAN"/>
|
||||
<listOptionValue builtIn="false" value="LANG_PORTUGUESE"/>
|
||||
<listOptionValue builtIn="false" value="LANG_PORTUGUESEB"/>
|
||||
<listOptionValue builtIn="false" value="LANG_FINNISH"/>
|
||||
<listOptionValue builtIn="false" value="LANG_SWED"/>
|
||||
<listOptionValue builtIn="false" value="LANG_DAN"/>
|
||||
<listOptionValue builtIn="false" value="LANG_NORW"/>
|
||||
</option>
|
||||
<option id="gnu.c.compiler.option.include.paths.1411672639" name="Include paths (-I)" superClass="gnu.c.compiler.option.include.paths" valueType="includePath">
|
||||
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/reco/include}""/>
|
||||
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/include}""/>
|
||||
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/InkData}""/>
|
||||
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/RecognizerWrapper}""/>
|
||||
</option>
|
||||
<inputType id="cdt.managedbuild.tool.gnu.c.compiler.input.1084681298" superClass="cdt.managedbuild.tool.gnu.c.compiler.input"/>
|
||||
</tool>
|
||||
<tool commandLinePattern="${COMMAND} -std=gnu++11 ${FLAGS} ${OUTPUT_FLAG} ${OUTPUT_PREFIX}${OUTPUT} ${INPUTS}" id="cdt.managedbuild.tool.gnu.cross.cpp.compiler.591656491" name="Cross G++ Compiler" superClass="cdt.managedbuild.tool.gnu.cross.cpp.compiler">
|
||||
<option id="gnu.cpp.compiler.option.optimization.level.753123592" name="Optimization Level" superClass="gnu.cpp.compiler.option.optimization.level" value="gnu.cpp.compiler.optimization.level.most" valueType="enumerated"/>
|
||||
<option id="gnu.cpp.compiler.option.debugging.level.992173551" name="Debug Level" superClass="gnu.cpp.compiler.option.debugging.level" value="gnu.cpp.compiler.debugging.level.none" valueType="enumerated"/>
|
||||
<option id="gnu.cpp.compiler.option.preprocessor.def.287099077" name="Defined symbols (-D)" superClass="gnu.cpp.compiler.option.preprocessor.def" valueType="definedSymbols">
|
||||
<listOptionValue builtIn="false" value="_OS_LINUX"/>
|
||||
<listOptionValue builtIn="false" value="HWR_SYSTEM=HWR_LINUX"/>
|
||||
<listOptionValue builtIn="false" value="_EMBEDDED_DEVICE"/>
|
||||
<listOptionValue builtIn="false" value="RECODICT"/>
|
||||
<listOptionValue builtIn="false" value="LANG_ENGLISH"/>
|
||||
<listOptionValue builtIn="false" value="LANG_FRENCH"/>
|
||||
<listOptionValue builtIn="false" value="LANG_DUTCH"/>
|
||||
<listOptionValue builtIn="false" value="LANG_SPANISH"/>
|
||||
<listOptionValue builtIn="false" value="LANG_ITALIAN"/>
|
||||
<listOptionValue builtIn="false" value="LANG_GERMAN"/>
|
||||
<listOptionValue builtIn="false" value="LANG_PORTUGUESE"/>
|
||||
<listOptionValue builtIn="false" value="LANG_PORTUGUESEB"/>
|
||||
<listOptionValue builtIn="false" value="LANG_FINNISH"/>
|
||||
<listOptionValue builtIn="false" value="LANG_SWED"/>
|
||||
<listOptionValue builtIn="false" value="LANG_DAN"/>
|
||||
<listOptionValue builtIn="false" value="LANG_NORW"/>
|
||||
</option>
|
||||
<option id="gnu.cpp.compiler.option.include.paths.1777568013" name="Include paths (-I)" superClass="gnu.cpp.compiler.option.include.paths" valueType="includePath">
|
||||
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/include}""/>
|
||||
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/InkData}""/>
|
||||
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/reco/include}""/>
|
||||
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/reco/data}""/>
|
||||
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/RecognizerWrapper}""/>
|
||||
</option>
|
||||
<inputType id="cdt.managedbuild.tool.gnu.cpp.compiler.input.1708162645" superClass="cdt.managedbuild.tool.gnu.cpp.compiler.input"/>
|
||||
</tool>
|
||||
<tool id="cdt.managedbuild.tool.gnu.cross.c.linker.983243788" name="Cross GCC Linker" superClass="cdt.managedbuild.tool.gnu.cross.c.linker"/>
|
||||
<tool id="cdt.managedbuild.tool.gnu.cross.cpp.linker.501412630" name="Cross G++ Linker" superClass="cdt.managedbuild.tool.gnu.cross.cpp.linker"/>
|
||||
<tool id="cdt.managedbuild.tool.gnu.cross.archiver.1524302156" name="Cross GCC Archiver" superClass="cdt.managedbuild.tool.gnu.cross.archiver"/>
|
||||
<tool id="cdt.managedbuild.tool.gnu.cross.assembler.1773115310" name="Cross GCC Assembler" superClass="cdt.managedbuild.tool.gnu.cross.assembler">
|
||||
<inputType id="cdt.managedbuild.tool.gnu.assembler.input.268504710" superClass="cdt.managedbuild.tool.gnu.assembler.input"/>
|
||||
</tool>
|
||||
</toolChain>
|
||||
</folderInfo>
|
||||
<fileInfo id="cdt.managedbuild.config.gnu.cross.lib.release.806459589.460263996" name="SNN_EF.MLP" rcbsApplicability="disable" resourcePath="reco/data/SNN_EF.MLP" toolsToInvoke=""/>
|
||||
<fileInfo id="cdt.managedbuild.config.gnu.cross.lib.release.806459589.1426689916" name="SNN_IF.MLP" rcbsApplicability="disable" resourcePath="reco/data/SNN_IF.MLP" toolsToInvoke=""/>
|
||||
<fileInfo id="cdt.managedbuild.config.gnu.cross.lib.release.806459589.559570105" name="ENG01.DTL" rcbsApplicability="disable" resourcePath="reco/data/ENG01.DTL" toolsToInvoke=""/>
|
||||
<fileInfo id="cdt.managedbuild.config.gnu.cross.lib.release.806459589.1929270381" name="GERMAN.DTL" rcbsApplicability="disable" resourcePath="reco/data/GERMAN.DTL" toolsToInvoke=""/>
|
||||
<fileInfo id="cdt.managedbuild.config.gnu.cross.lib.release.806459589.1753834703" name="FRENCH.DTN" rcbsApplicability="disable" resourcePath="reco/data/FRENCH.DTN" toolsToInvoke=""/>
|
||||
<fileInfo id="cdt.managedbuild.config.gnu.cross.lib.release.806459589.1580942685" name="GERMAN.DTN" rcbsApplicability="disable" resourcePath="reco/data/GERMAN.DTN" toolsToInvoke=""/>
|
||||
<fileInfo id="cdt.managedbuild.config.gnu.cross.lib.release.806459589.1423127698" name="ENG01e.DTN" rcbsApplicability="disable" resourcePath="reco/data/ENG01e.DTN" toolsToInvoke=""/>
|
||||
<fileInfo id="cdt.managedbuild.config.gnu.cross.lib.release.806459589.1129685262" name="FRENCH.DTL" rcbsApplicability="disable" resourcePath="reco/data/FRENCH.DTL" toolsToInvoke=""/>
|
||||
<fileInfo id="cdt.managedbuild.config.gnu.cross.lib.release.806459589.2006151854" name="LexDbG.ldb" rcbsApplicability="disable" resourcePath="reco/data/LexDbG.ldb" toolsToInvoke=""/>
|
||||
<fileInfo id="cdt.managedbuild.config.gnu.cross.lib.release.806459589.319108558" name="SNN_F.MLP" rcbsApplicability="disable" resourcePath="reco/data/SNN_F.MLP" toolsToInvoke=""/>
|
||||
<fileInfo id="cdt.managedbuild.config.gnu.cross.lib.release.806459589.1622865082" name="FR_TRIAD.TRD" rcbsApplicability="disable" resourcePath="reco/data/FR_TRIAD.TRD" toolsToInvoke=""/>
|
||||
<fileInfo id="cdt.managedbuild.config.gnu.cross.lib.release.806459589.1578386411" name="ENG01i.DTN" rcbsApplicability="disable" resourcePath="reco/data/ENG01i.DTN" toolsToInvoke=""/>
|
||||
<fileInfo id="cdt.managedbuild.config.gnu.cross.lib.release.806459589.989754030" name="LexDbE.ldb" rcbsApplicability="disable" resourcePath="reco/data/LexDbE.ldb" toolsToInvoke=""/>
|
||||
<fileInfo id="cdt.managedbuild.config.gnu.cross.lib.release.806459589.1928663150" name="SNN_E.MLP" rcbsApplicability="disable" resourcePath="reco/data/SNN_E.MLP" toolsToInvoke=""/>
|
||||
<fileInfo id="cdt.managedbuild.config.gnu.cross.lib.release.806459589.1800789953" name="SNN_I.MLP" rcbsApplicability="disable" resourcePath="reco/data/SNN_I.MLP" toolsToInvoke=""/>
|
||||
<fileInfo id="cdt.managedbuild.config.gnu.cross.lib.release.806459589.1264104958" name="LexDbF.ldb" rcbsApplicability="disable" resourcePath="reco/data/LexDbF.ldb" toolsToInvoke=""/>
|
||||
<fileInfo id="cdt.managedbuild.config.gnu.cross.lib.release.806459589.1189723489" name="SNN_G.MLP" rcbsApplicability="disable" resourcePath="reco/data/SNN_G.MLP" toolsToInvoke=""/>
|
||||
<fileInfo id="cdt.managedbuild.config.gnu.cross.lib.release.806459589.800332849" name="TFN05.trd" rcbsApplicability="disable" resourcePath="reco/data/TFN05.trd" toolsToInvoke=""/>
|
||||
<fileInfo id="cdt.managedbuild.config.gnu.cross.lib.release.806459589.374595983" name="makefile" rcbsApplicability="disable" resourcePath="makefile" toolsToInvoke=""/>
|
||||
<sourceEntries>
|
||||
<entry excluding="Lib|writepadreco|makefile|settings.mk|reco/data/ENG01.DTL|reco/data/ENG01e.DTN|reco/data/ENG01i.DTN|reco/data/FR_TRIAD.TRD|reco/data/FRENCH.DTL|reco/data/FRENCH.DTN|reco/data/GERMAN.DTL|reco/data/GERMAN.DTN|reco/data/LexDbE.ldb|reco/data/LexDbF.ldb|reco/data/LexDbG.ldb|reco/data/SNN_E.MLP|reco/data/SNN_F.MLP|reco/data/SNN_G.MLP|reco/data/SNN_I.MLP|reco/data/SNN_IF.MLP|reco/data/TFN05.trd|reco/data/SNN_EF.MLP|reco/data/vsufimgf.cpp|reco/data/vsufimge.cpp|reco/data/vprfimgf.cpp|reco/data/vprfimge.cpp|reco/data/vocimgfg.cpp|reco/data/vocimgff.cpp|reco/data/vocimgcg.cpp|reco/data/vocimgcf.cpp|reco/data/voc_imgf.cpp|reco/data/voc_imgc.cpp|reco/data/voc_img.cpp|reco/data/vcbsufff.cpp|reco/data/vcbsuffe.cpp|reco/data/vcbpreff.cpp|reco/data/vcbprefe.cpp|reco/data/trd_imgg.cpp|reco/data/trd_imgf.cpp|reco/data/trd_imge.cpp|reco/data/snnimgif.cpp|reco/data/snnimggf.cpp|reco/data/snnimgff.cpp|reco/data/snnimgef.cpp|reco/data/snn_imgi.cpp|reco/data/snn_imgg.cpp|reco/data/snn_imgf.cpp|reco/data/snn_imge.cpp|reco/data/ldb_Imgg.cpp|reco/data/ldb_Imgf.cpp|reco/data/ldb_imge.cpp|reco/data/dtiimgfg.cpp|reco/data/dtiimgff.cpp|reco/data/dtiimgci.cpp|reco/data/dtiimgcg.cpp|reco/data/dtiimgcf.cpp|reco/data/dti_imgf.cpp|reco/data/dti_imgdan.cpp|reco/data/dti_imgc.cpp|reco/data/vocabulary" flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name=""/>
|
||||
</sourceEntries>
|
||||
</configuration>
|
||||
</storageModule>
|
||||
<storageModule moduleId="org.eclipse.cdt.core.externalSettings"/>
|
||||
</cconfiguration>
|
||||
</storageModule>
|
||||
<storageModule moduleId="cdtBuildSystem" version="4.0.0">
|
||||
<project id="WritePadLib.cdt.managedbuild.target.gnu.cross.lib.97477007" name="Static Library" projectType="cdt.managedbuild.target.gnu.cross.lib"/>
|
||||
</storageModule>
|
||||
<storageModule moduleId="org.eclipse.cdt.core.LanguageSettingsProviders"/>
|
||||
<storageModule moduleId="refreshScope" versionNumber="2">
|
||||
<configuration configurationName="Release">
|
||||
<resource resourceType="PROJECT" workspacePath="/WritePadLib"/>
|
||||
</configuration>
|
||||
<configuration configurationName="Multiple configurations">
|
||||
<resource resourceType="PROJECT" workspacePath="/WritePadLib"/>
|
||||
</configuration>
|
||||
<configuration configurationName="Debug">
|
||||
<resource resourceType="PROJECT" workspacePath="/WritePadLib"/>
|
||||
</configuration>
|
||||
</storageModule>
|
||||
<storageModule moduleId="org.eclipse.cdt.internal.ui.text.commentOwnerProjectMappings"/>
|
||||
<storageModule moduleId="scannerConfiguration">
|
||||
<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId=""/>
|
||||
<scannerConfigBuildInfo instanceId="cdt.managedbuild.config.gnu.cross.lib.debug.1716843270;cdt.managedbuild.config.gnu.cross.lib.debug.1716843270.;cdt.managedbuild.tool.gnu.cross.cpp.compiler.2138192503;cdt.managedbuild.tool.gnu.cpp.compiler.input.365441047">
|
||||
<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileCPP"/>
|
||||
</scannerConfigBuildInfo>
|
||||
<scannerConfigBuildInfo instanceId="cdt.managedbuild.config.gnu.cross.lib.release.806459589;cdt.managedbuild.config.gnu.cross.lib.release.806459589.;cdt.managedbuild.tool.gnu.cross.c.compiler.636403509;cdt.managedbuild.tool.gnu.c.compiler.input.1084681298">
|
||||
<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileC"/>
|
||||
</scannerConfigBuildInfo>
|
||||
<scannerConfigBuildInfo instanceId="cdt.managedbuild.config.gnu.cross.lib.debug.1716843270;cdt.managedbuild.config.gnu.cross.lib.debug.1716843270.;cdt.managedbuild.tool.gnu.cross.c.compiler.1821461975;cdt.managedbuild.tool.gnu.c.compiler.input.2116190553">
|
||||
<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileC"/>
|
||||
</scannerConfigBuildInfo>
|
||||
<scannerConfigBuildInfo instanceId="cdt.managedbuild.config.gnu.cross.lib.release.806459589;cdt.managedbuild.config.gnu.cross.lib.release.806459589.;cdt.managedbuild.tool.gnu.cross.cpp.compiler.591656491;cdt.managedbuild.tool.gnu.cpp.compiler.input.1708162645">
|
||||
<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileCPP"/>
|
||||
</scannerConfigBuildInfo>
|
||||
</storageModule>
|
||||
<storageModule moduleId="org.eclipse.cdt.make.core.buildtargets"/>
|
||||
</cproject>
|
||||
Executable
+49
@@ -0,0 +1,49 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<projectDescription>
|
||||
<name>WritePadLib</name>
|
||||
<comment></comment>
|
||||
<projects>
|
||||
</projects>
|
||||
<buildSpec>
|
||||
<buildCommand>
|
||||
<name>org.eclipse.cdt.managedbuilder.core.genmakebuilder</name>
|
||||
<triggers>clean,full,incremental,</triggers>
|
||||
<arguments>
|
||||
</arguments>
|
||||
</buildCommand>
|
||||
<buildCommand>
|
||||
<name>org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder</name>
|
||||
<triggers>full,incremental,</triggers>
|
||||
<arguments>
|
||||
</arguments>
|
||||
</buildCommand>
|
||||
</buildSpec>
|
||||
<natures>
|
||||
<nature>org.eclipse.cdt.core.cnature</nature>
|
||||
<nature>org.eclipse.cdt.core.ccnature</nature>
|
||||
<nature>org.eclipse.cdt.managedbuilder.core.managedBuildNature</nature>
|
||||
<nature>org.eclipse.cdt.managedbuilder.core.ScannerConfigNature</nature>
|
||||
</natures>
|
||||
<linkedResources>
|
||||
<link>
|
||||
<name>InkData</name>
|
||||
<type>2</type>
|
||||
<locationURI>PARENT-1-PROJECT_LOC/UniversalRecognizer/V300/InkData</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>RecognizerWrapper</name>
|
||||
<type>2</type>
|
||||
<locationURI>PARENT-1-PROJECT_LOC/UniversalRecognizer/V300/RecognizerWrapper</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>include</name>
|
||||
<type>2</type>
|
||||
<locationURI>PARENT-1-PROJECT_LOC/UniversalRecognizer/V300/include</locationURI>
|
||||
</link>
|
||||
<link>
|
||||
<name>reco</name>
|
||||
<type>2</type>
|
||||
<locationURI>PARENT-1-PROJECT_LOC/UniversalRecognizer/V300/reco</locationURI>
|
||||
</link>
|
||||
</linkedResources>
|
||||
</projectDescription>
|
||||
+67
@@ -0,0 +1,67 @@
|
||||
eclipse.preferences.version=1
|
||||
org.eclipse.cdt.codan.checkers.errnoreturn=Warning
|
||||
org.eclipse.cdt.codan.checkers.errnoreturn.params={launchModes\=>{RUN_ON_FULL_BUILD\=>true,RUN_ON_INC_BUILD\=>true,RUN_ON_FILE_OPEN\=>false,RUN_ON_FILE_SAVE\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true},implicit\=>false}
|
||||
org.eclipse.cdt.codan.checkers.errreturnvalue=Error
|
||||
org.eclipse.cdt.codan.checkers.errreturnvalue.params={launchModes\=>{RUN_ON_FULL_BUILD\=>true,RUN_ON_INC_BUILD\=>true,RUN_ON_FILE_OPEN\=>false,RUN_ON_FILE_SAVE\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true}}
|
||||
org.eclipse.cdt.codan.checkers.noreturn=Error
|
||||
org.eclipse.cdt.codan.checkers.noreturn.params={launchModes\=>{RUN_ON_FULL_BUILD\=>true,RUN_ON_INC_BUILD\=>true,RUN_ON_FILE_OPEN\=>false,RUN_ON_FILE_SAVE\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true},implicit\=>false}
|
||||
org.eclipse.cdt.codan.internal.checkers.AbstractClassCreation=Error
|
||||
org.eclipse.cdt.codan.internal.checkers.AbstractClassCreation.params={launchModes\=>{RUN_ON_FULL_BUILD\=>true,RUN_ON_INC_BUILD\=>true,RUN_ON_FILE_OPEN\=>false,RUN_ON_FILE_SAVE\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true}}
|
||||
org.eclipse.cdt.codan.internal.checkers.AmbiguousProblem=Error
|
||||
org.eclipse.cdt.codan.internal.checkers.AmbiguousProblem.params={launchModes\=>{RUN_ON_FULL_BUILD\=>true,RUN_ON_INC_BUILD\=>true,RUN_ON_FILE_OPEN\=>false,RUN_ON_FILE_SAVE\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true}}
|
||||
org.eclipse.cdt.codan.internal.checkers.AssignmentInConditionProblem=Warning
|
||||
org.eclipse.cdt.codan.internal.checkers.AssignmentInConditionProblem.params={launchModes\=>{RUN_ON_FULL_BUILD\=>true,RUN_ON_INC_BUILD\=>true,RUN_ON_FILE_OPEN\=>false,RUN_ON_FILE_SAVE\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true}}
|
||||
org.eclipse.cdt.codan.internal.checkers.AssignmentToItselfProblem=Error
|
||||
org.eclipse.cdt.codan.internal.checkers.AssignmentToItselfProblem.params={launchModes\=>{RUN_ON_FULL_BUILD\=>true,RUN_ON_INC_BUILD\=>true,RUN_ON_FILE_OPEN\=>false,RUN_ON_FILE_SAVE\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true}}
|
||||
org.eclipse.cdt.codan.internal.checkers.CaseBreakProblem=Warning
|
||||
org.eclipse.cdt.codan.internal.checkers.CaseBreakProblem.params={launchModes\=>{RUN_ON_FULL_BUILD\=>true,RUN_ON_INC_BUILD\=>true,RUN_ON_FILE_OPEN\=>false,RUN_ON_FILE_SAVE\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true},no_break_comment\=>"no break",last_case_param\=>true,empty_case_param\=>false}
|
||||
org.eclipse.cdt.codan.internal.checkers.CatchByReference=Warning
|
||||
org.eclipse.cdt.codan.internal.checkers.CatchByReference.params={launchModes\=>{RUN_ON_FULL_BUILD\=>true,RUN_ON_INC_BUILD\=>true,RUN_ON_FILE_OPEN\=>false,RUN_ON_FILE_SAVE\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true},unknown\=>false,exceptions\=>()}
|
||||
org.eclipse.cdt.codan.internal.checkers.CircularReferenceProblem=Error
|
||||
org.eclipse.cdt.codan.internal.checkers.CircularReferenceProblem.params={launchModes\=>{RUN_ON_FULL_BUILD\=>true,RUN_ON_INC_BUILD\=>true,RUN_ON_FILE_OPEN\=>false,RUN_ON_FILE_SAVE\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true}}
|
||||
org.eclipse.cdt.codan.internal.checkers.ClassMembersInitialization=Warning
|
||||
org.eclipse.cdt.codan.internal.checkers.ClassMembersInitialization.params={launchModes\=>{RUN_ON_FULL_BUILD\=>true,RUN_ON_INC_BUILD\=>true,RUN_ON_FILE_OPEN\=>false,RUN_ON_FILE_SAVE\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true},skip\=>true}
|
||||
org.eclipse.cdt.codan.internal.checkers.FieldResolutionProblem=Error
|
||||
org.eclipse.cdt.codan.internal.checkers.FieldResolutionProblem.params={launchModes\=>{RUN_ON_FULL_BUILD\=>true,RUN_ON_INC_BUILD\=>true,RUN_ON_FILE_OPEN\=>false,RUN_ON_FILE_SAVE\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true}}
|
||||
org.eclipse.cdt.codan.internal.checkers.FunctionResolutionProblem=Error
|
||||
org.eclipse.cdt.codan.internal.checkers.FunctionResolutionProblem.params={launchModes\=>{RUN_ON_FULL_BUILD\=>true,RUN_ON_INC_BUILD\=>true,RUN_ON_FILE_OPEN\=>false,RUN_ON_FILE_SAVE\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true}}
|
||||
org.eclipse.cdt.codan.internal.checkers.InvalidArguments=Error
|
||||
org.eclipse.cdt.codan.internal.checkers.InvalidArguments.params={launchModes\=>{RUN_ON_FULL_BUILD\=>true,RUN_ON_INC_BUILD\=>true,RUN_ON_FILE_OPEN\=>false,RUN_ON_FILE_SAVE\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true}}
|
||||
org.eclipse.cdt.codan.internal.checkers.InvalidTemplateArgumentsProblem=Error
|
||||
org.eclipse.cdt.codan.internal.checkers.InvalidTemplateArgumentsProblem.params={launchModes\=>{RUN_ON_FULL_BUILD\=>true,RUN_ON_INC_BUILD\=>true,RUN_ON_FILE_OPEN\=>false,RUN_ON_FILE_SAVE\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true}}
|
||||
org.eclipse.cdt.codan.internal.checkers.LabelStatementNotFoundProblem=Error
|
||||
org.eclipse.cdt.codan.internal.checkers.LabelStatementNotFoundProblem.params={launchModes\=>{RUN_ON_FULL_BUILD\=>true,RUN_ON_INC_BUILD\=>true,RUN_ON_FILE_OPEN\=>false,RUN_ON_FILE_SAVE\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true}}
|
||||
org.eclipse.cdt.codan.internal.checkers.MemberDeclarationNotFoundProblem=Error
|
||||
org.eclipse.cdt.codan.internal.checkers.MemberDeclarationNotFoundProblem.params={launchModes\=>{RUN_ON_FULL_BUILD\=>true,RUN_ON_INC_BUILD\=>true,RUN_ON_FILE_OPEN\=>false,RUN_ON_FILE_SAVE\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true}}
|
||||
org.eclipse.cdt.codan.internal.checkers.MethodResolutionProblem=Error
|
||||
org.eclipse.cdt.codan.internal.checkers.MethodResolutionProblem.params={launchModes\=>{RUN_ON_FULL_BUILD\=>true,RUN_ON_INC_BUILD\=>true,RUN_ON_FILE_OPEN\=>false,RUN_ON_FILE_SAVE\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true}}
|
||||
org.eclipse.cdt.codan.internal.checkers.NamingConventionFunctionChecker=-Info
|
||||
org.eclipse.cdt.codan.internal.checkers.NamingConventionFunctionChecker.params={launchModes\=>{RUN_ON_FULL_BUILD\=>true,RUN_ON_INC_BUILD\=>true,RUN_ON_FILE_OPEN\=>false,RUN_ON_FILE_SAVE\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true},pattern\=>"^[a-z]",macro\=>true,exceptions\=>()}
|
||||
org.eclipse.cdt.codan.internal.checkers.NonVirtualDestructorProblem=Warning
|
||||
org.eclipse.cdt.codan.internal.checkers.NonVirtualDestructorProblem.params={launchModes\=>{RUN_ON_FULL_BUILD\=>true,RUN_ON_INC_BUILD\=>true,RUN_ON_FILE_OPEN\=>false,RUN_ON_FILE_SAVE\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true}}
|
||||
org.eclipse.cdt.codan.internal.checkers.OverloadProblem=Error
|
||||
org.eclipse.cdt.codan.internal.checkers.OverloadProblem.params={launchModes\=>{RUN_ON_FULL_BUILD\=>true,RUN_ON_INC_BUILD\=>true,RUN_ON_FILE_OPEN\=>false,RUN_ON_FILE_SAVE\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true}}
|
||||
org.eclipse.cdt.codan.internal.checkers.RedeclarationProblem=Error
|
||||
org.eclipse.cdt.codan.internal.checkers.RedeclarationProblem.params={launchModes\=>{RUN_ON_FULL_BUILD\=>true,RUN_ON_INC_BUILD\=>true,RUN_ON_FILE_OPEN\=>false,RUN_ON_FILE_SAVE\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true}}
|
||||
org.eclipse.cdt.codan.internal.checkers.RedefinitionProblem=Error
|
||||
org.eclipse.cdt.codan.internal.checkers.RedefinitionProblem.params={launchModes\=>{RUN_ON_FULL_BUILD\=>true,RUN_ON_INC_BUILD\=>true,RUN_ON_FILE_OPEN\=>false,RUN_ON_FILE_SAVE\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true}}
|
||||
org.eclipse.cdt.codan.internal.checkers.ReturnStyleProblem=-Warning
|
||||
org.eclipse.cdt.codan.internal.checkers.ReturnStyleProblem.params={launchModes\=>{RUN_ON_FULL_BUILD\=>true,RUN_ON_INC_BUILD\=>true,RUN_ON_FILE_OPEN\=>false,RUN_ON_FILE_SAVE\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true}}
|
||||
org.eclipse.cdt.codan.internal.checkers.ScanfFormatStringSecurityProblem=-Warning
|
||||
org.eclipse.cdt.codan.internal.checkers.ScanfFormatStringSecurityProblem.params={launchModes\=>{RUN_ON_FULL_BUILD\=>true,RUN_ON_INC_BUILD\=>true,RUN_ON_FILE_OPEN\=>false,RUN_ON_FILE_SAVE\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true}}
|
||||
org.eclipse.cdt.codan.internal.checkers.StatementHasNoEffectProblem=Warning
|
||||
org.eclipse.cdt.codan.internal.checkers.StatementHasNoEffectProblem.params={launchModes\=>{RUN_ON_FULL_BUILD\=>true,RUN_ON_INC_BUILD\=>true,RUN_ON_FILE_OPEN\=>false,RUN_ON_FILE_SAVE\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true},macro\=>true,exceptions\=>()}
|
||||
org.eclipse.cdt.codan.internal.checkers.SuggestedParenthesisProblem=Warning
|
||||
org.eclipse.cdt.codan.internal.checkers.SuggestedParenthesisProblem.params={launchModes\=>{RUN_ON_FULL_BUILD\=>true,RUN_ON_INC_BUILD\=>true,RUN_ON_FILE_OPEN\=>false,RUN_ON_FILE_SAVE\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true},paramNot\=>false}
|
||||
org.eclipse.cdt.codan.internal.checkers.SuspiciousSemicolonProblem=Warning
|
||||
org.eclipse.cdt.codan.internal.checkers.SuspiciousSemicolonProblem.params={launchModes\=>{RUN_ON_FULL_BUILD\=>true,RUN_ON_INC_BUILD\=>true,RUN_ON_FILE_OPEN\=>false,RUN_ON_FILE_SAVE\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true},else\=>false,afterelse\=>false}
|
||||
org.eclipse.cdt.codan.internal.checkers.TypeResolutionProblem=Error
|
||||
org.eclipse.cdt.codan.internal.checkers.TypeResolutionProblem.params={launchModes\=>{RUN_ON_FULL_BUILD\=>true,RUN_ON_INC_BUILD\=>true,RUN_ON_FILE_OPEN\=>false,RUN_ON_FILE_SAVE\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true}}
|
||||
org.eclipse.cdt.codan.internal.checkers.UnusedFunctionDeclarationProblem=Warning
|
||||
org.eclipse.cdt.codan.internal.checkers.UnusedFunctionDeclarationProblem.params={launchModes\=>{RUN_ON_FULL_BUILD\=>true,RUN_ON_INC_BUILD\=>true,RUN_ON_FILE_OPEN\=>false,RUN_ON_FILE_SAVE\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true},macro\=>true}
|
||||
org.eclipse.cdt.codan.internal.checkers.UnusedStaticFunctionProblem=Warning
|
||||
org.eclipse.cdt.codan.internal.checkers.UnusedStaticFunctionProblem.params={launchModes\=>{RUN_ON_FULL_BUILD\=>true,RUN_ON_INC_BUILD\=>true,RUN_ON_FILE_OPEN\=>false,RUN_ON_FILE_SAVE\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true},macro\=>true}
|
||||
org.eclipse.cdt.codan.internal.checkers.UnusedVariableDeclarationProblem=Warning
|
||||
org.eclipse.cdt.codan.internal.checkers.UnusedVariableDeclarationProblem.params={launchModes\=>{RUN_ON_FULL_BUILD\=>true,RUN_ON_INC_BUILD\=>true,RUN_ON_FILE_OPEN\=>false,RUN_ON_FILE_SAVE\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true},macro\=>true,exceptions\=>("@(\#)","$Id")}
|
||||
org.eclipse.cdt.codan.internal.checkers.VariableResolutionProblem=Error
|
||||
org.eclipse.cdt.codan.internal.checkers.VariableResolutionProblem.params={launchModes\=>{RUN_ON_FULL_BUILD\=>true,RUN_ON_INC_BUILD\=>true,RUN_ON_FILE_OPEN\=>false,RUN_ON_FILE_SAVE\=>false,RUN_AS_YOU_TYPE\=>true,RUN_ON_DEMAND\=>true}}
|
||||
Executable
+163
@@ -0,0 +1,163 @@
|
||||
eclipse.preferences.version=1
|
||||
org.eclipse.cdt.core.formatter.alignment_for_arguments_in_method_invocation=16
|
||||
org.eclipse.cdt.core.formatter.alignment_for_assignment=16
|
||||
org.eclipse.cdt.core.formatter.alignment_for_base_clause_in_type_declaration=80
|
||||
org.eclipse.cdt.core.formatter.alignment_for_binary_expression=16
|
||||
org.eclipse.cdt.core.formatter.alignment_for_compact_if=16
|
||||
org.eclipse.cdt.core.formatter.alignment_for_conditional_expression=34
|
||||
org.eclipse.cdt.core.formatter.alignment_for_conditional_expression_chain=18
|
||||
org.eclipse.cdt.core.formatter.alignment_for_constructor_initializer_list=0
|
||||
org.eclipse.cdt.core.formatter.alignment_for_declarator_list=16
|
||||
org.eclipse.cdt.core.formatter.alignment_for_enumerator_list=48
|
||||
org.eclipse.cdt.core.formatter.alignment_for_expression_list=0
|
||||
org.eclipse.cdt.core.formatter.alignment_for_expressions_in_array_initializer=16
|
||||
org.eclipse.cdt.core.formatter.alignment_for_member_access=0
|
||||
org.eclipse.cdt.core.formatter.alignment_for_overloaded_left_shift_chain=16
|
||||
org.eclipse.cdt.core.formatter.alignment_for_parameters_in_method_declaration=16
|
||||
org.eclipse.cdt.core.formatter.alignment_for_throws_clause_in_method_declaration=16
|
||||
org.eclipse.cdt.core.formatter.brace_position_for_array_initializer=next_line
|
||||
org.eclipse.cdt.core.formatter.brace_position_for_block=next_line
|
||||
org.eclipse.cdt.core.formatter.brace_position_for_block_in_case=next_line
|
||||
org.eclipse.cdt.core.formatter.brace_position_for_method_declaration=next_line
|
||||
org.eclipse.cdt.core.formatter.brace_position_for_namespace_declaration=next_line
|
||||
org.eclipse.cdt.core.formatter.brace_position_for_switch=next_line
|
||||
org.eclipse.cdt.core.formatter.brace_position_for_type_declaration=next_line
|
||||
org.eclipse.cdt.core.formatter.comment.min_distance_between_code_and_line_comment=1
|
||||
org.eclipse.cdt.core.formatter.comment.never_indent_line_comments_on_first_column=true
|
||||
org.eclipse.cdt.core.formatter.comment.preserve_white_space_between_code_and_line_comments=true
|
||||
org.eclipse.cdt.core.formatter.compact_else_if=true
|
||||
org.eclipse.cdt.core.formatter.continuation_indentation=2
|
||||
org.eclipse.cdt.core.formatter.continuation_indentation_for_array_initializer=2
|
||||
org.eclipse.cdt.core.formatter.format_guardian_clause_on_one_line=false
|
||||
org.eclipse.cdt.core.formatter.indent_access_specifier_compare_to_type_header=false
|
||||
org.eclipse.cdt.core.formatter.indent_access_specifier_extra_spaces=0
|
||||
org.eclipse.cdt.core.formatter.indent_body_declarations_compare_to_access_specifier=true
|
||||
org.eclipse.cdt.core.formatter.indent_body_declarations_compare_to_namespace_header=false
|
||||
org.eclipse.cdt.core.formatter.indent_breaks_compare_to_cases=true
|
||||
org.eclipse.cdt.core.formatter.indent_declaration_compare_to_template_header=false
|
||||
org.eclipse.cdt.core.formatter.indent_empty_lines=false
|
||||
org.eclipse.cdt.core.formatter.indent_statements_compare_to_block=true
|
||||
org.eclipse.cdt.core.formatter.indent_statements_compare_to_body=true
|
||||
org.eclipse.cdt.core.formatter.indent_switchstatements_compare_to_cases=true
|
||||
org.eclipse.cdt.core.formatter.indent_switchstatements_compare_to_switch=true
|
||||
org.eclipse.cdt.core.formatter.indentation.size=4
|
||||
org.eclipse.cdt.core.formatter.insert_new_line_after_opening_brace_in_array_initializer=do not insert
|
||||
org.eclipse.cdt.core.formatter.insert_new_line_after_template_declaration=do not insert
|
||||
org.eclipse.cdt.core.formatter.insert_new_line_at_end_of_file_if_missing=do not insert
|
||||
org.eclipse.cdt.core.formatter.insert_new_line_before_catch_in_try_statement=do not insert
|
||||
org.eclipse.cdt.core.formatter.insert_new_line_before_closing_brace_in_array_initializer=do not insert
|
||||
org.eclipse.cdt.core.formatter.insert_new_line_before_colon_in_constructor_initializer_list=do not insert
|
||||
org.eclipse.cdt.core.formatter.insert_new_line_before_else_in_if_statement=insert
|
||||
org.eclipse.cdt.core.formatter.insert_new_line_before_identifier_in_function_declaration=do not insert
|
||||
org.eclipse.cdt.core.formatter.insert_new_line_before_while_in_do_statement=do not insert
|
||||
org.eclipse.cdt.core.formatter.insert_new_line_in_empty_block=insert
|
||||
org.eclipse.cdt.core.formatter.insert_space_after_assignment_operator=insert
|
||||
org.eclipse.cdt.core.formatter.insert_space_after_binary_operator=insert
|
||||
org.eclipse.cdt.core.formatter.insert_space_after_closing_angle_bracket_in_template_arguments=insert
|
||||
org.eclipse.cdt.core.formatter.insert_space_after_closing_angle_bracket_in_template_parameters=insert
|
||||
org.eclipse.cdt.core.formatter.insert_space_after_closing_brace_in_block=insert
|
||||
org.eclipse.cdt.core.formatter.insert_space_after_closing_paren_in_cast=insert
|
||||
org.eclipse.cdt.core.formatter.insert_space_after_colon_in_base_clause=insert
|
||||
org.eclipse.cdt.core.formatter.insert_space_after_colon_in_case=insert
|
||||
org.eclipse.cdt.core.formatter.insert_space_after_colon_in_conditional=insert
|
||||
org.eclipse.cdt.core.formatter.insert_space_after_colon_in_labeled_statement=insert
|
||||
org.eclipse.cdt.core.formatter.insert_space_after_comma_in_array_initializer=insert
|
||||
org.eclipse.cdt.core.formatter.insert_space_after_comma_in_base_types=insert
|
||||
org.eclipse.cdt.core.formatter.insert_space_after_comma_in_declarator_list=insert
|
||||
org.eclipse.cdt.core.formatter.insert_space_after_comma_in_enum_declarations=insert
|
||||
org.eclipse.cdt.core.formatter.insert_space_after_comma_in_expression_list=insert
|
||||
org.eclipse.cdt.core.formatter.insert_space_after_comma_in_method_declaration_parameters=insert
|
||||
org.eclipse.cdt.core.formatter.insert_space_after_comma_in_method_declaration_throws=insert
|
||||
org.eclipse.cdt.core.formatter.insert_space_after_comma_in_method_invocation_arguments=insert
|
||||
org.eclipse.cdt.core.formatter.insert_space_after_comma_in_template_arguments=insert
|
||||
org.eclipse.cdt.core.formatter.insert_space_after_comma_in_template_parameters=insert
|
||||
org.eclipse.cdt.core.formatter.insert_space_after_opening_angle_bracket_in_template_arguments=do not insert
|
||||
org.eclipse.cdt.core.formatter.insert_space_after_opening_angle_bracket_in_template_parameters=do not insert
|
||||
org.eclipse.cdt.core.formatter.insert_space_after_opening_brace_in_array_initializer=insert
|
||||
org.eclipse.cdt.core.formatter.insert_space_after_opening_bracket=do not insert
|
||||
org.eclipse.cdt.core.formatter.insert_space_after_opening_paren_in_cast=do not insert
|
||||
org.eclipse.cdt.core.formatter.insert_space_after_opening_paren_in_catch=do not insert
|
||||
org.eclipse.cdt.core.formatter.insert_space_after_opening_paren_in_exception_specification=do not insert
|
||||
org.eclipse.cdt.core.formatter.insert_space_after_opening_paren_in_for=do not insert
|
||||
org.eclipse.cdt.core.formatter.insert_space_after_opening_paren_in_if=do not insert
|
||||
org.eclipse.cdt.core.formatter.insert_space_after_opening_paren_in_method_declaration=do not insert
|
||||
org.eclipse.cdt.core.formatter.insert_space_after_opening_paren_in_method_invocation=do not insert
|
||||
org.eclipse.cdt.core.formatter.insert_space_after_opening_paren_in_parenthesized_expression=do not insert
|
||||
org.eclipse.cdt.core.formatter.insert_space_after_opening_paren_in_switch=do not insert
|
||||
org.eclipse.cdt.core.formatter.insert_space_after_opening_paren_in_while=do not insert
|
||||
org.eclipse.cdt.core.formatter.insert_space_after_postfix_operator=do not insert
|
||||
org.eclipse.cdt.core.formatter.insert_space_after_prefix_operator=do not insert
|
||||
org.eclipse.cdt.core.formatter.insert_space_after_question_in_conditional=insert
|
||||
org.eclipse.cdt.core.formatter.insert_space_after_semicolon_in_for=insert
|
||||
org.eclipse.cdt.core.formatter.insert_space_after_unary_operator=do not insert
|
||||
org.eclipse.cdt.core.formatter.insert_space_before_assignment_operator=insert
|
||||
org.eclipse.cdt.core.formatter.insert_space_before_binary_operator=insert
|
||||
org.eclipse.cdt.core.formatter.insert_space_before_closing_angle_bracket_in_template_arguments=do not insert
|
||||
org.eclipse.cdt.core.formatter.insert_space_before_closing_angle_bracket_in_template_parameters=do not insert
|
||||
org.eclipse.cdt.core.formatter.insert_space_before_closing_brace_in_array_initializer=insert
|
||||
org.eclipse.cdt.core.formatter.insert_space_before_closing_bracket=do not insert
|
||||
org.eclipse.cdt.core.formatter.insert_space_before_closing_paren_in_cast=do not insert
|
||||
org.eclipse.cdt.core.formatter.insert_space_before_closing_paren_in_catch=do not insert
|
||||
org.eclipse.cdt.core.formatter.insert_space_before_closing_paren_in_exception_specification=do not insert
|
||||
org.eclipse.cdt.core.formatter.insert_space_before_closing_paren_in_for=do not insert
|
||||
org.eclipse.cdt.core.formatter.insert_space_before_closing_paren_in_if=do not insert
|
||||
org.eclipse.cdt.core.formatter.insert_space_before_closing_paren_in_method_declaration=do not insert
|
||||
org.eclipse.cdt.core.formatter.insert_space_before_closing_paren_in_method_invocation=do not insert
|
||||
org.eclipse.cdt.core.formatter.insert_space_before_closing_paren_in_parenthesized_expression=do not insert
|
||||
org.eclipse.cdt.core.formatter.insert_space_before_closing_paren_in_switch=do not insert
|
||||
org.eclipse.cdt.core.formatter.insert_space_before_closing_paren_in_while=do not insert
|
||||
org.eclipse.cdt.core.formatter.insert_space_before_colon_in_base_clause=do not insert
|
||||
org.eclipse.cdt.core.formatter.insert_space_before_colon_in_case=do not insert
|
||||
org.eclipse.cdt.core.formatter.insert_space_before_colon_in_conditional=insert
|
||||
org.eclipse.cdt.core.formatter.insert_space_before_colon_in_default=do not insert
|
||||
org.eclipse.cdt.core.formatter.insert_space_before_colon_in_labeled_statement=do not insert
|
||||
org.eclipse.cdt.core.formatter.insert_space_before_comma_in_array_initializer=do not insert
|
||||
org.eclipse.cdt.core.formatter.insert_space_before_comma_in_base_types=do not insert
|
||||
org.eclipse.cdt.core.formatter.insert_space_before_comma_in_declarator_list=do not insert
|
||||
org.eclipse.cdt.core.formatter.insert_space_before_comma_in_enum_declarations=do not insert
|
||||
org.eclipse.cdt.core.formatter.insert_space_before_comma_in_expression_list=do not insert
|
||||
org.eclipse.cdt.core.formatter.insert_space_before_comma_in_method_declaration_parameters=do not insert
|
||||
org.eclipse.cdt.core.formatter.insert_space_before_comma_in_method_declaration_throws=do not insert
|
||||
org.eclipse.cdt.core.formatter.insert_space_before_comma_in_method_invocation_arguments=do not insert
|
||||
org.eclipse.cdt.core.formatter.insert_space_before_comma_in_template_arguments=do not insert
|
||||
org.eclipse.cdt.core.formatter.insert_space_before_comma_in_template_parameters=do not insert
|
||||
org.eclipse.cdt.core.formatter.insert_space_before_opening_angle_bracket_in_template_arguments=do not insert
|
||||
org.eclipse.cdt.core.formatter.insert_space_before_opening_angle_bracket_in_template_parameters=do not insert
|
||||
org.eclipse.cdt.core.formatter.insert_space_before_opening_brace_in_array_initializer=insert
|
||||
org.eclipse.cdt.core.formatter.insert_space_before_opening_brace_in_block=insert
|
||||
org.eclipse.cdt.core.formatter.insert_space_before_opening_brace_in_method_declaration=insert
|
||||
org.eclipse.cdt.core.formatter.insert_space_before_opening_brace_in_namespace_declaration=insert
|
||||
org.eclipse.cdt.core.formatter.insert_space_before_opening_brace_in_switch=insert
|
||||
org.eclipse.cdt.core.formatter.insert_space_before_opening_brace_in_type_declaration=insert
|
||||
org.eclipse.cdt.core.formatter.insert_space_before_opening_bracket=do not insert
|
||||
org.eclipse.cdt.core.formatter.insert_space_before_opening_paren_in_catch=insert
|
||||
org.eclipse.cdt.core.formatter.insert_space_before_opening_paren_in_exception_specification=insert
|
||||
org.eclipse.cdt.core.formatter.insert_space_before_opening_paren_in_for=insert
|
||||
org.eclipse.cdt.core.formatter.insert_space_before_opening_paren_in_if=insert
|
||||
org.eclipse.cdt.core.formatter.insert_space_before_opening_paren_in_method_declaration=do not insert
|
||||
org.eclipse.cdt.core.formatter.insert_space_before_opening_paren_in_method_invocation=do not insert
|
||||
org.eclipse.cdt.core.formatter.insert_space_before_opening_paren_in_parenthesized_expression=do not insert
|
||||
org.eclipse.cdt.core.formatter.insert_space_before_opening_paren_in_switch=insert
|
||||
org.eclipse.cdt.core.formatter.insert_space_before_opening_paren_in_while=insert
|
||||
org.eclipse.cdt.core.formatter.insert_space_before_postfix_operator=do not insert
|
||||
org.eclipse.cdt.core.formatter.insert_space_before_prefix_operator=do not insert
|
||||
org.eclipse.cdt.core.formatter.insert_space_before_question_in_conditional=insert
|
||||
org.eclipse.cdt.core.formatter.insert_space_before_semicolon=do not insert
|
||||
org.eclipse.cdt.core.formatter.insert_space_before_semicolon_in_for=do not insert
|
||||
org.eclipse.cdt.core.formatter.insert_space_before_unary_operator=do not insert
|
||||
org.eclipse.cdt.core.formatter.insert_space_between_empty_braces_in_array_initializer=do not insert
|
||||
org.eclipse.cdt.core.formatter.insert_space_between_empty_brackets=do not insert
|
||||
org.eclipse.cdt.core.formatter.insert_space_between_empty_parens_in_exception_specification=do not insert
|
||||
org.eclipse.cdt.core.formatter.insert_space_between_empty_parens_in_method_declaration=do not insert
|
||||
org.eclipse.cdt.core.formatter.insert_space_between_empty_parens_in_method_invocation=do not insert
|
||||
org.eclipse.cdt.core.formatter.join_wrapped_lines=true
|
||||
org.eclipse.cdt.core.formatter.keep_else_statement_on_same_line=false
|
||||
org.eclipse.cdt.core.formatter.keep_empty_array_initializer_on_one_line=false
|
||||
org.eclipse.cdt.core.formatter.keep_imple_if_on_one_line=false
|
||||
org.eclipse.cdt.core.formatter.keep_then_statement_on_same_line=false
|
||||
org.eclipse.cdt.core.formatter.lineSplit=80
|
||||
org.eclipse.cdt.core.formatter.number_of_empty_lines_to_preserve=1
|
||||
org.eclipse.cdt.core.formatter.put_empty_statement_on_new_line=true
|
||||
org.eclipse.cdt.core.formatter.tabulation.char=tab
|
||||
org.eclipse.cdt.core.formatter.tabulation.size=4
|
||||
org.eclipse.cdt.core.formatter.use_tabs_only_for_leading_indentations=false
|
||||
Executable
+3
@@ -0,0 +1,3 @@
|
||||
eclipse.preferences.version=1
|
||||
formatter_profile=_PhatWare
|
||||
formatter_settings_version=1
|
||||
Executable
+159
@@ -0,0 +1,159 @@
|
||||
/***************************************************************************************
|
||||
*
|
||||
* WRITEPAD(r): Handwriting Recognition Engine (HWRE) and components.
|
||||
* Copyright (c) 2001-2016 PhatWare (r) Corp. All rights reserved.
|
||||
*
|
||||
* Licensing and other inquires: <developer@phatware.com>
|
||||
* Developer: Stan Miasnikov, et al. (c) PhatWare Corp. <http://www.phatware.com>
|
||||
*
|
||||
* WRITEPAD HWRE is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* THE MATERIAL EMBODIED ON THIS SOFTWARE IS PROVIDED TO YOU "AS-IS"
|
||||
* AND WITHOUT WARRANTY OF ANY KIND, EXPRESS, IMPLIED OR OTHERWISE,
|
||||
* INCLUDING WITHOUT LIMITATION, ANY WARRANTY OF MERCHANTABILITY OR
|
||||
* FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL PHATWARE CORP.
|
||||
* BE LIABLE TO YOU OR ANYONE ELSE FOR ANY DIRECT, SPECIAL, INCIDENTAL,
|
||||
* INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND, OR ANY DAMAGES WHATSOEVER,
|
||||
* INCLUDING WITHOUT LIMITATION, LOSS OF PROFIT, LOSS OF USE, SAVINGS
|
||||
* OR REVENUE, OR THE CLAIMS OF THIRD PARTIES, WHETHER OR NOT PHATWARE CORP.
|
||||
* HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH LOSS, HOWEVER CAUSED AND ON
|
||||
* ANY THEORY OF LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE
|
||||
* POSSESSION, USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
* See the GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with WritePad. If not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
**************************************************************************************/
|
||||
|
||||
#ifndef __ink_wrapper_h__
|
||||
#define __ink_wrapper_h__
|
||||
|
||||
#include <stdio.h>
|
||||
#include "RecognizerApi.h"
|
||||
|
||||
#define LF_FONT_BOLD 0x00000001
|
||||
#define LF_FONT_ITALIC 0x00000002
|
||||
#define LF_FONT_UNDERSCORE 0x00000004
|
||||
#define LF_FONT_STRIKE 0x00000008
|
||||
|
||||
#define OBJECTFLAG_POSITIONLOCKED 0x00010000
|
||||
#define OBJECTFLAG_SIZELOCKED 0x00020000
|
||||
#define OBJECTFLAG_CONTENTLOCKED 0x00040000
|
||||
#define OBJECTFLAG_LOCKED 0x00070000
|
||||
#define OBJECTFLAG_GROUPED 0x00100000
|
||||
|
||||
#if defined(__cplusplus)
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
|
||||
typedef void * INK_DATA_PTR;
|
||||
|
||||
typedef struct __ImageAttributes
|
||||
{
|
||||
CGRect imagerect;
|
||||
int iZOrder;
|
||||
int nIndex;
|
||||
void * pData;
|
||||
UInt32 nDataSize;
|
||||
void * userData;
|
||||
UInt32 flags;
|
||||
} ImageAttributes;
|
||||
|
||||
typedef struct __TextAttributes
|
||||
{
|
||||
CGRect textrect;
|
||||
int iZOrder;
|
||||
int nIndex;
|
||||
LPCUSTR pUnicodeText;
|
||||
UInt32 nTextLength;
|
||||
LPUSTR pFontName;
|
||||
int fontSize;
|
||||
UInt32 fontAttributes;
|
||||
UInt32 alignment;
|
||||
COLORREF fontColor;
|
||||
COLORREF backColor;
|
||||
void * userData;
|
||||
UInt32 flags;
|
||||
} TextAttributes;
|
||||
|
||||
// Ink data API
|
||||
INK_DATA_PTR INK_InitData();
|
||||
void INK_FreeData( INK_DATA_PTR pData );
|
||||
void INK_Erase( INK_DATA_PTR pData );
|
||||
int INK_StrokeCount( INK_DATA_PTR pData, BOOL selectedOnly );
|
||||
BOOL INK_DeleteStroke( INK_DATA_PTR pData, int nStroke );
|
||||
SHAPETYPE INK_RecognizeShape( CGStroke pStroke, int nStrokeCnt, SHAPETYPE inType );
|
||||
int INK_AddStroke( INK_DATA_PTR pData, CGStroke pStroke, int nStrokeCnt, float fWidth, COLORREF color );
|
||||
int INK_GetStroke( INK_DATA_PTR pData, int nStroke, CGPoint ** ppoints, float * pfWidth, COLORREF * color );
|
||||
int INK_GetStrokeP( INK_DATA_PTR pData, int nStroke, CGStroke * ppoints, float * pfWidth, COLORREF * pColor );
|
||||
BOOL INK_GetStrokeRect( INK_DATA_PTR pData, int nStroke, CGRect * rect, BOOL bAddWidth );
|
||||
BOOL INK_GetDataRect( INK_DATA_PTR pData, CGRect * rect, BOOL selectedOnly );
|
||||
int INK_AddEmptyStroke( INK_DATA_PTR pData, float fWidth, COLORREF color );
|
||||
int INK_AddPixelToStroke( INK_DATA_PTR pData, int nStroke, float x, float y, int p );
|
||||
BOOL INK_GetStrokePointP( INK_DATA_PTR pData, int nStroke, int nPoint, float * pX, float * pY, int *pP );
|
||||
BOOL INK_GetStrokePoint( INK_DATA_PTR pData, int nStroke, int nPoint, float * pX, float * pY );
|
||||
INK_DATA_PTR INK_CreateCopy( INK_DATA_PTR pData );
|
||||
void INK_SortInk( INK_DATA_PTR pData );
|
||||
void INK_Undo( INK_DATA_PTR pData );
|
||||
void INK_Redo( INK_DATA_PTR pData );
|
||||
void INK_EnableUndo( INK_DATA_PTR pData, BOOL enable );
|
||||
BOOL INK_CanRedo( INK_DATA_PTR pData );
|
||||
BOOL INK_CanUndo( INK_DATA_PTR pData );
|
||||
BOOL INK_SelectAllStrokes( INK_DATA_PTR pData, BOOL bSelect );
|
||||
BOOL INK_DeleteSelectedStrokes( INK_DATA_PTR pData, BOOL bAll );
|
||||
void INK_SetStrokesRecognizable( INK_DATA_PTR pData, BOOL bSet, BOOL bSelectedOnly );
|
||||
void INK_SetStrokeRecognizable( INK_DATA_PTR pData, int nStroke, BOOL bSet );
|
||||
void INK_SelectStroke( INK_DATA_PTR pData, int nStroke, BOOL bSelect );
|
||||
BOOL INK_IsStrokeRecognizable( INK_DATA_PTR pData, int nStroke );
|
||||
BOOL INK_IsStrokeSelected( INK_DATA_PTR pData, int nStroke );
|
||||
void INK_SetUndoLevels( INK_DATA_PTR pData, int levels );
|
||||
int INK_Serialize( INK_DATA_PTR pData, BOOL bWrite, FILE * pFile, void ** ppData, long * pcbSize, BOOL skipImages, BOOL savePressure );
|
||||
BOOL INK_Paste( INK_DATA_PTR pData, const void * pRawData, long cbSize, CGPoint atPosition );
|
||||
BOOL INK_Copy( INK_DATA_PTR pData, void ** ppRawData, long * pcbSize );
|
||||
BOOL INK_MoveStroke( INK_DATA_PTR pData, int nStroke, float xOffset, float yOffset, CGRect * pRect, BOOL recordUndo );
|
||||
void INK_ChangeSelZOrder( INK_DATA_PTR pData, int iDepth, BOOL bFwd );
|
||||
BOOL INK_IsShapeRecognitionEnabled( INK_DATA_PTR pData );
|
||||
void INK_EnableShapeRecognition( INK_DATA_PTR pData, BOOL bEnable );
|
||||
int INK_FindStrokeByPoint( INK_DATA_PTR pData, CGPoint thePoint, float proximity );
|
||||
int INK_SelectStrokesInRect( INK_DATA_PTR pData, CGRect selRect );
|
||||
void INK_EmptyUndoBuffer( INK_DATA_PTR pData );
|
||||
BOOL INK_CurveIntersectsStroke( INK_DATA_PTR pData, int nStroke, const CGStroke points, int nPointCount );
|
||||
BOOL INK_SetStrokeWidthAndColor( INK_DATA_PTR pData, int nStroke, COLORREF color, float fWidth );
|
||||
int INK_DeleteIntersectedStrokes( INK_DATA_PTR pData, const CGStroke points, int nPointCount );
|
||||
BOOL INK_ResizeStroke( INK_DATA_PTR pData, int nStroke, float x0, float y0, float scalex, float scaley, BOOL bReset, CGRect * pRect, BOOL recordUndo );
|
||||
|
||||
int INK_GetStrokeZOrder( INK_DATA_PTR pData, int nStroke );
|
||||
BOOL INK_SetStrokeZOrder( INK_DATA_PTR pData, int nStroke, int iZOrder );
|
||||
|
||||
// image support
|
||||
int INK_AddImage( INK_DATA_PTR pData, const ImageAttributes * pImage );
|
||||
int INK_SetImage( INK_DATA_PTR pData, int nImageIndex, const ImageAttributes * pImage );
|
||||
BOOL INK_SetImageUserData( INK_DATA_PTR pData, int nImageIndex, void * userData );
|
||||
BOOL INK_DeleteImage( INK_DATA_PTR pData, int nImageIndex );
|
||||
BOOL INK_GetImage( INK_DATA_PTR pData, int nImageIndex, ImageAttributes * pAttrib );
|
||||
int INK_GetImageFromPoint( INK_DATA_PTR pData, CGPoint point, ImageAttributes * pAttrib );
|
||||
BOOL INK_DeleteAllImages( INK_DATA_PTR pData );
|
||||
int INK_CountImages( INK_DATA_PTR pData );
|
||||
BOOL INK_SetImageFrame( INK_DATA_PTR pData, int nImageIndex, CGRect frame );
|
||||
|
||||
// text support
|
||||
BOOL INK_AddText( INK_DATA_PTR pData, const TextAttributes * pText );
|
||||
BOOL INK_SetText( INK_DATA_PTR pData, int nTextIndex, const TextAttributes * pText );
|
||||
BOOL INK_SetTextUserData( INK_DATA_PTR pData, int nTextIndex, void * userData );
|
||||
BOOL INK_DeleteText( INK_DATA_PTR pData, int nTextIndex );
|
||||
BOOL INK_GetText( INK_DATA_PTR pData, int nTextIndex, TextAttributes * pText );
|
||||
int INK_GetTextFromPoint( INK_DATA_PTR pData, CGPoint point, TextAttributes * pText );
|
||||
BOOL INK_DeleteAllTexts( INK_DATA_PTR pData, BOOL bRecordUndo );
|
||||
int INK_CountTexts( INK_DATA_PTR pData );
|
||||
BOOL INK_SetTextFrame( INK_DATA_PTR pData, int nTextIndex, CGRect frame );
|
||||
|
||||
#if defined(__cplusplus)
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
Executable
+110
@@ -0,0 +1,110 @@
|
||||
/***************************************************************************************
|
||||
*
|
||||
* WRITEPAD(r): Handwriting Recognition Engine (HWRE) and components.
|
||||
* Copyright (c) 2001-2016 PhatWare (r) Corp. All rights reserved.
|
||||
*
|
||||
* Licensing and other inquires: <developer@phatware.com>
|
||||
* Developer: Stan Miasnikov, et al. (c) PhatWare Corp. <http://www.phatware.com>
|
||||
*
|
||||
* WRITEPAD HWRE is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* THE MATERIAL EMBODIED ON THIS SOFTWARE IS PROVIDED TO YOU "AS-IS"
|
||||
* AND WITHOUT WARRANTY OF ANY KIND, EXPRESS, IMPLIED OR OTHERWISE,
|
||||
* INCLUDING WITHOUT LIMITATION, ANY WARRANTY OF MERCHANTABILITY OR
|
||||
* FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL PHATWARE CORP.
|
||||
* BE LIABLE TO YOU OR ANYONE ELSE FOR ANY DIRECT, SPECIAL, INCIDENTAL,
|
||||
* INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND, OR ANY DAMAGES WHATSOEVER,
|
||||
* INCLUDING WITHOUT LIMITATION, LOSS OF PROFIT, LOSS OF USE, SAVINGS
|
||||
* OR REVENUE, OR THE CLAIMS OF THIRD PARTIES, WHETHER OR NOT PHATWARE CORP.
|
||||
* HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH LOSS, HOWEVER CAUSED AND ON
|
||||
* ANY THEORY OF LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE
|
||||
* POSSESSION, USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
* See the GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with WritePad. If not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
**************************************************************************************/
|
||||
|
||||
#ifndef __RecognizerAPI_h__
|
||||
#define __RecognizerAPI_h__
|
||||
|
||||
#include "gestures.h"
|
||||
#include "recotypes.h"
|
||||
|
||||
#ifndef WIN32
|
||||
#define GetRValue(rgb) ((float)((rgb)&0xFF)/255.0)
|
||||
#define GetGValue(rgb) ((float)(((rgb)>>8)&0xFF)/255.0)
|
||||
#define GetBValue(rgb) ((float)(((rgb)>>16)&0xFF)/255.0)
|
||||
#endif // WIN32
|
||||
|
||||
#define GetAValue(rgb) ((float)(((rgb)>>24)&0xFF)/255.0)
|
||||
#define RGBA(r,g,b,a) ((COLORREF)(((unsigned char)(r)|((unsigned int)((unsigned char)(g))<<8))|(((unsigned int)(unsigned char)(b))<<16)|(((unsigned int)(unsigned char)(a))<<24)))
|
||||
#define CCTB(cc) ((unsigned char)(cc * (float)0xFF))
|
||||
|
||||
|
||||
#define RECMODE_GENERAL 0 // Normal recognition -- all sybols allowed
|
||||
#define RECMODE_CAPS 1 // All recognized text converted to capitals
|
||||
#define RECMODE_NUM 2 // Numeric and Lex DB recognition mode
|
||||
#define RECMODE_WWW 3 // internet address mode
|
||||
#define RECMODE_NUMBERSPURE 4 // pure numeric mode, no alpha or punctuation, recognizes 0123456789 only
|
||||
#define RECMODE_CUSTOM 5 // custom charset for numbers and punctuation, no alpha
|
||||
#define RECMODE_ALPHAONLY 6 // Alpha characters only, no punctuation or numbers
|
||||
#define RECMODE_INVALID (-1)
|
||||
|
||||
#define MAX_TRACE_LENGTH 4096
|
||||
#define TRACE_BREAK_LENGTH 200
|
||||
|
||||
#define MAX_STRING_BUFFER 2048
|
||||
|
||||
#define FLAG_SEPLET 0x00000001
|
||||
#define FLAG_USERDICT 0x00000002
|
||||
#define FLAG_MAINDICT 0x00000004
|
||||
#define FLAG_ONLYDICT 0x00000008
|
||||
#define FLAG_STATICSEGMENT 0x00000010
|
||||
#define FLAG_SINGLEWORDONLY 0x00000020
|
||||
#define FLAG_INTERNATIONAL 0x00000040
|
||||
#define FLAG_SUGGESTONLYDICT 0x00000080
|
||||
#define FLAG_ANALYZER 0x00000100
|
||||
#define FLAG_CORRECTOR 0x00000200
|
||||
#define FLAG_SPELLIGNORENUM 0x00000400
|
||||
#define FLAG_SPELLIGNOREUPPER 0x00000800
|
||||
#define FLAG_NOSINGLELETSPACE 0x00001000
|
||||
#define FLAG_ENABLECALC 0x00002000
|
||||
#define FLAG_NOSPACE 0x00004000
|
||||
#define FLAG_ALTDICT 0x00008000
|
||||
#define FLAG_USECUSTOMPUNCT 0x00010000
|
||||
#define FLAG_SMOOTHSTROKES 0x00020000
|
||||
|
||||
#define FLAG_ERROR 0xFFFFFFFF
|
||||
|
||||
#define READ_FLAG 0x01
|
||||
#define MEM_STREAM_FLAG 0x02
|
||||
#define INK_FMT_MASK 0x3C
|
||||
|
||||
#define INK_RAW 0x01
|
||||
#define INK_CALCOMP 0x02
|
||||
#define INK_PWCOMP 0x03
|
||||
#define INK_JPEG 0x04
|
||||
#define INK_DATA 0x05
|
||||
#define INK_PNG 0x06
|
||||
|
||||
#define IGNORE_LAST_STROKE 0x0001000
|
||||
#define SORT_STROKES 0x0002000
|
||||
#define SAVE_PRESSURE 0x0004000
|
||||
|
||||
#define MAKE_READ_FMT( dwDataFmt, bMemStream ) ( ((dwDataFmt) << 2L) | ((bMemStream)?MEM_STREAM_FLAG:0) | READ_FLAG )
|
||||
#define MAKE_WRITE_FMT( dwDataFmt, bMemStream ) ( ((dwDataFmt) << 2L) | ((bMemStream)?MEM_STREAM_FLAG:0) )
|
||||
#define INK_DATA_FMT( dwFlags ) ( ((dwFlags) & INK_FMT_MASK) >> 2L )
|
||||
#define INK_READ( dwFlags ) ( (dwFlags) & READ_FLAG )
|
||||
#define INK_WRITE( dwFlags ) ( ((dwFlags) & READ_FLAG) == 0 )
|
||||
#define IS_MEM_STREAM( dwFlags ) ( (dwFlags) & MEM_STREAM_FLAG )
|
||||
#define IS_FILE_STREAM( dwFlags ) ( ((dwFlags) & MEM_STREAM_FLAG) == 0 )
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
Executable
+156
@@ -0,0 +1,156 @@
|
||||
/***************************************************************************************
|
||||
*
|
||||
* WRITEPAD(r): Handwriting Recognition Engine (HWRE) and components.
|
||||
* Copyright (c) 2001-2016 PhatWare (r) Corp. All rights reserved.
|
||||
*
|
||||
* Licensing and other inquires: <developer@phatware.com>
|
||||
* Developer: Stan Miasnikov, et al. (c) PhatWare Corp. <http://www.phatware.com>
|
||||
*
|
||||
* WRITEPAD HWRE is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* THE MATERIAL EMBODIED ON THIS SOFTWARE IS PROVIDED TO YOU "AS-IS"
|
||||
* AND WITHOUT WARRANTY OF ANY KIND, EXPRESS, IMPLIED OR OTHERWISE,
|
||||
* INCLUDING WITHOUT LIMITATION, ANY WARRANTY OF MERCHANTABILITY OR
|
||||
* FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL PHATWARE CORP.
|
||||
* BE LIABLE TO YOU OR ANYONE ELSE FOR ANY DIRECT, SPECIAL, INCIDENTAL,
|
||||
* INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND, OR ANY DAMAGES WHATSOEVER,
|
||||
* INCLUDING WITHOUT LIMITATION, LOSS OF PROFIT, LOSS OF USE, SAVINGS
|
||||
* OR REVENUE, OR THE CLAIMS OF THIRD PARTIES, WHETHER OR NOT PHATWARE CORP.
|
||||
* HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH LOSS, HOWEVER CAUSED AND ON
|
||||
* ANY THEORY OF LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE
|
||||
* POSSESSION, USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
* See the GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with WritePad. If not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
**************************************************************************************/
|
||||
|
||||
#ifndef __RecognizerWrapper_h__
|
||||
#define __RecognizerWrapper_h__
|
||||
|
||||
#include "RecognizerApi.h"
|
||||
#include "InkWrapper.h"
|
||||
|
||||
|
||||
#if defined(__cplusplus)
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
|
||||
typedef void * RECOGNIZER_PTR;
|
||||
|
||||
// #define RecoStringEncoding NSUnicodeStringEncoding
|
||||
#define RecoStringEncoding NSWindowsCP1252StringEncoding // NSISOLatin1StringEncoding
|
||||
|
||||
#define USER_SHORTCUT_FILE "usershortcuts.csv"
|
||||
#define DICTIONARY_EXT "dct"
|
||||
#define kEmptyWord "<--->"
|
||||
|
||||
enum {
|
||||
kDictionaryType_Main = 0,
|
||||
kDictionaryType_Alternative,
|
||||
kDictionaryType_User
|
||||
};
|
||||
|
||||
typedef int (RECO_ONGOTWORDLIST)( const UCHR * szWordFrom, const UCHR * szWordTo, unsigned int nFlags, void * pParam );
|
||||
typedef RECO_ONGOTWORDLIST * PRECO_ONGOTWORDLIST;
|
||||
|
||||
// recognizer Info
|
||||
const char * HWR_Description();
|
||||
const char * HWR_ID();
|
||||
int HWR_Capabilities();
|
||||
BOOL HWR_IsLanguageSupported( int langID );
|
||||
int HWR_GetSupportedLanguages( int ** languages );
|
||||
|
||||
// recognizer library language ID
|
||||
int HWR_GetLanguageID( RECOGNIZER_PTR pRecognizer );
|
||||
const char * HWR_GetLanguageName( RECOGNIZER_PTR pRecognizer );
|
||||
|
||||
// recognition API
|
||||
RECOGNIZER_PTR HWR_InitRecognizer( const char * inDictionaryMain, const char * inDictionaryCustom, const char * inLearner, const char * inAutoCorrect, int language, int * pFlags );
|
||||
RECOGNIZER_PTR HWR_InitRecognizerFromMemory( const char * inDictionaryMain, const char * inDictionaryCustom, const char * inLearner, const char * inAutoCorrect, int language, int * pFlags );
|
||||
|
||||
void HWR_FreeRecognizer( RECOGNIZER_PTR pRecognizer, const char * inDictionaryCustom, const char * inLearner, const char * inWordList );
|
||||
BOOL HWR_RecognizerAddStroke( RECOGNIZER_PTR pRecognizer, CGStroke pStroke, int nStrokeCnt );
|
||||
BOOL HWR_Recognize( RECOGNIZER_PTR pRecognizer );
|
||||
BOOL HWR_Reset( RECOGNIZER_PTR pRecognizer );
|
||||
const UCHR * HWR_RecognizeInkData( RECOGNIZER_PTR pRecognizer, INK_DATA_PTR pInkData, int nFirstStroke, int nLastStroke, BOOL bAsync, BOOL bFlipY, BOOL bSort, BOOL bSelOnly );
|
||||
BOOL HWR_PreRecognizeInkData( RECOGNIZER_PTR pRecognizer, INK_DATA_PTR pInkData, int nDataLen, BOOL bFlipY );
|
||||
const UCHR * HWR_GetResult( RECOGNIZER_PTR pRecognizer );
|
||||
USHORT HWR_GetResultWeight( RECOGNIZER_PTR pRecognizer, int nWord, int nAlternative );
|
||||
const UCHR * HWR_GetResultWord( RECOGNIZER_PTR pRecognizer, int nWord, int nAlternative );
|
||||
int HWR_GetResultStrokesNumber( RECOGNIZER_PTR pRecognizer, int nWord, int nAlternative );
|
||||
int HWR_GetResultWordCount( RECOGNIZER_PTR pRecognizer );
|
||||
int HWR_GetResultAlternativeCount( RECOGNIZER_PTR pRecognizer, int nWord );
|
||||
int HWR_SetRecognitionMode( RECOGNIZER_PTR pRecognizer, int nNewMode );
|
||||
int HWR_GetRecognitionMode( RECOGNIZER_PTR pRecognizer );
|
||||
int HWR_GetStrokeIDs( RECOGNIZER_PTR pRecognizer, int word, int altrnative, const int ** strokes );
|
||||
unsigned int HWR_SetRecognitionFlags( RECOGNIZER_PTR pRecognizer, unsigned int newFlags );
|
||||
unsigned int HWR_GetRecognitionFlags( RECOGNIZER_PTR pRecognizer );
|
||||
void HWR_StopAsyncReco( RECOGNIZER_PTR pRecognizer );
|
||||
void HWR_SetCustomCharset( RECOGNIZER_PTR pRecognizer, const UCHR * pCustomNum, const UCHR * pCustPunct );
|
||||
BOOL HWR_RecognizeSymbol( RECOGNIZER_PTR pRecognizer, INK_DATA_PTR pInkData, int base, int charsize );
|
||||
|
||||
// simple calculator functions
|
||||
BOOL HWR_EnablePhatCalc( RECOGNIZER_PTR pRecognizer, BOOL bEnable );
|
||||
const UCHR * HWR_CalculateString( RECOGNIZER_PTR pRecognizer, const UCHR * pszString );
|
||||
|
||||
// autocorrector functions
|
||||
BOOL HWR_SaveWordList( RECOGNIZER_PTR pRecognizer, const char * inWordListFile );
|
||||
int HWR_EnumWordList( RECOGNIZER_PTR pRecognizer, RECO_ONGOTWORDLIST callback, void * pParam );
|
||||
BOOL HWR_EmptyWordList( RECOGNIZER_PTR pRecognizer );
|
||||
BOOL HWR_AddWordToWordList( RECOGNIZER_PTR pRecognizer, const UCHR * pszWord1, const UCHR * pszWord2, int dwFlags, BOOL bReplace );
|
||||
BOOL HWR_ResetAutoCorrector( RECOGNIZER_PTR pRecognizer, const char * inWordListFile );
|
||||
const UCHR * HWR_AutocorrectWord( RECOGNIZER_PTR pRecognizer, const UCHR * pszWord );
|
||||
BOOL HWR_ReloadAutoCorrector( RECOGNIZER_PTR pRecognizer, const char * inWordListFile );
|
||||
BOOL HWR_ImportWordList( RECOGNIZER_PTR pRecognizer, const char * inImportFile );
|
||||
BOOL HWR_ExportWordList( RECOGNIZER_PTR pRecognizer, const char * inExportFile );
|
||||
int HWR_GetAutocorrectorData( RECOGNIZER_PTR pRecognizer, char **ppData );
|
||||
BOOL HWR_SetAutocorrectorData( RECOGNIZER_PTR pRecognizer, const char *pData );
|
||||
|
||||
// learner functions
|
||||
BOOL HWR_ResetLearner( RECOGNIZER_PTR pRecognizer, const char * inLearnerFile );
|
||||
BOOL HWR_AnalyzeWordList( RECOGNIZER_PTR pRecognizer, const UCHR *pszWordList, UCHR *pszResult );
|
||||
BOOL HWR_LearnNewWord( RECOGNIZER_PTR pRecognizer, const UCHR * pszWord, USHORT nWeight );
|
||||
BOOL HWR_ReplaceWord( RECOGNIZER_PTR pRecognizer, const UCHR * pszWord1, USHORT nWeight1, const UCHR * pszWord2, USHORT nWeight2 );
|
||||
BOOL HWR_ReloadLearner( RECOGNIZER_PTR pRecognizer, const char * inDictionaryCustom );
|
||||
BOOL HWR_SaveLearner( RECOGNIZER_PTR pRecognizer, const char * pszFileName );
|
||||
int HWR_GetLearnerData( RECOGNIZER_PTR pRecognizer, char **ppData );
|
||||
BOOL HWR_SetLearnerData( RECOGNIZER_PTR pRecognizer, const char *pData );
|
||||
|
||||
// dictionary functions
|
||||
const UCHR * HWR_WordFlipCase( RECOGNIZER_PTR pRecognizer, const UCHR * pszWord );
|
||||
const UCHR * HWR_WordEnsureLowerCase( RECOGNIZER_PTR pRecognizer, const UCHR * pszWord );
|
||||
int HWR_EnumUserWords( RECOGNIZER_PTR pRecognizer, PRECO_ONGOTWORD callback, void * pParam );
|
||||
BOOL HWR_NewUserDict( RECOGNIZER_PTR pRecognizer );
|
||||
BOOL HWR_SaveUserDict( RECOGNIZER_PTR pRecognizer, const char * inDictionaryCustom );
|
||||
BOOL HWR_IsWordInDict( RECOGNIZER_PTR pRecognizer, const UCHR * pszWord );
|
||||
BOOL HWR_AddUserWordToDict( RECOGNIZER_PTR pRecognizer, const UCHR * pszWord, BOOL filter );
|
||||
int HWR_SpellCheckWord( RECOGNIZER_PTR pRecognizer, const UCHR *pszWord, UCHR *pszAnswer, int cbSize, int flags );
|
||||
BOOL HWR_SetDictionaryData( RECOGNIZER_PTR pRecognizer, const char *pData, int nDictType );
|
||||
int HWR_GetDictionaryData( RECOGNIZER_PTR pRecognizer, char ** ppData, int nDictType );
|
||||
BOOL HWR_HasDictionaryChanged( RECOGNIZER_PTR pRecognizer, int nDictType );
|
||||
int HWR_GetDictionaryLength( RECOGNIZER_PTR pRecognizer, int nDictType );
|
||||
BOOL HWR_ResetUserDict( RECOGNIZER_PTR pRecognizer, const char * inDictionaryCustom );
|
||||
BOOL HWR_ExportUserDictionary( RECOGNIZER_PTR pRecognizer, const char * inExportFile );
|
||||
BOOL HWR_ImportUserDictionary( RECOGNIZER_PTR pRecognizer, const char * inImportFile );
|
||||
BOOL HWR_ReloadUserDict( RECOGNIZER_PTR pRecognizer, const char * inDictionaryCustom );
|
||||
BOOL HWR_LoadAlternativeDict( RECOGNIZER_PTR pRecognizer, const char * inDictionaryAlt );
|
||||
|
||||
// letter shapes (added in version 5)
|
||||
BOOL HWR_SetDefaultShapes( RECOGNIZER_PTR pRecognizer );
|
||||
BOOL HWR_SetLetterShapes( RECOGNIZER_PTR pRecognizer, const unsigned char * pShapes );
|
||||
const unsigned char * HWR_GetLetterShapes( RECOGNIZER_PTR pRecognizer );
|
||||
|
||||
// external resource set function
|
||||
BOOL HWR_SetExternalResource( int lang, const void* data );
|
||||
|
||||
#if defined(__cplusplus)
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
Executable
+91
@@ -0,0 +1,91 @@
|
||||
/***************************************************************************************
|
||||
*
|
||||
* WRITEPAD(r): Handwriting Recognition Engine (HWRE) and components.
|
||||
* Copyright (c) 2001-2016 PhatWare (r) Corp. All rights reserved.
|
||||
*
|
||||
* Licensing and other inquires: <developer@phatware.com>
|
||||
* Developer: Stan Miasnikov, et al. (c) PhatWare Corp. <http://www.phatware.com>
|
||||
*
|
||||
* WRITEPAD HWRE is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* THE MATERIAL EMBODIED ON THIS SOFTWARE IS PROVIDED TO YOU "AS-IS"
|
||||
* AND WITHOUT WARRANTY OF ANY KIND, EXPRESS, IMPLIED OR OTHERWISE,
|
||||
* INCLUDING WITHOUT LIMITATION, ANY WARRANTY OF MERCHANTABILITY OR
|
||||
* FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL PHATWARE CORP.
|
||||
* BE LIABLE TO YOU OR ANYONE ELSE FOR ANY DIRECT, SPECIAL, INCIDENTAL,
|
||||
* INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND, OR ANY DAMAGES WHATSOEVER,
|
||||
* INCLUDING WITHOUT LIMITATION, LOSS OF PROFIT, LOSS OF USE, SAVINGS
|
||||
* OR REVENUE, OR THE CLAIMS OF THIRD PARTIES, WHETHER OR NOT PHATWARE CORP.
|
||||
* HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH LOSS, HOWEVER CAUSED AND ON
|
||||
* ANY THEORY OF LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE
|
||||
* POSSESSION, USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
* See the GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with WritePad. If not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
**************************************************************************************/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "recotypes.h"
|
||||
|
||||
#if defined(__cplusplus)
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
|
||||
/************************************************/
|
||||
|
||||
typedef enum {
|
||||
GEST_NONE = 0x00000000,
|
||||
GEST_DELETE = 0x00000001,
|
||||
GEST_SCROLLUP = 0x00000002,
|
||||
GEST_BACK = 0x00000004,
|
||||
GEST_SPACE = 0x00000008,
|
||||
GEST_RETURN = 0x00000010,
|
||||
GEST_CORRECT = 0x00000020,
|
||||
GEST_SPELL = 0x00000040,
|
||||
GEST_SELECTALL = 0x00000080,
|
||||
GEST_UNDO = 0x00000100,
|
||||
GEST_SMALLPT = 0x00000200,
|
||||
GEST_COPY = 0x00000400,
|
||||
GEST_CUT = 0x00000800,
|
||||
GEST_PASTE = 0x00001000,
|
||||
GEST_TAB = 0x00002000,
|
||||
GEST_MENU = 0x00004000,
|
||||
GEST_LOOP = 0x00008000,
|
||||
GEST_REDO = 0x00010000,
|
||||
GEST_SCROLLDN = 0x00020000,
|
||||
GEST_SAVE = 0x00040000,
|
||||
GEST_SENDMAIL = 0x00080000,
|
||||
GEST_OPTIONS = 0x00100000,
|
||||
GEST_SENDTODEVICE = 0x00200000,
|
||||
GEST_BACK_LONG = 0x00400000,
|
||||
|
||||
GEST_LEFTARC = 0x10000000,
|
||||
GEST_RIGHTARC = 0x20000000,
|
||||
GEST_ARCS = 0x30000000,
|
||||
|
||||
GEST_TIMEOUT = 0x40000000,
|
||||
GEST_CUSTOIM = 0x80000000,
|
||||
|
||||
GEST_ALL = 0x0FFFFFFF
|
||||
}
|
||||
GESTURE_TYPE, *pGESTURE_TYPE;
|
||||
|
||||
|
||||
#ifndef TRACE_BREAK
|
||||
#define TRACE_BREAK (-1)
|
||||
#endif //TRACE_BREAK
|
||||
|
||||
/************************************************/
|
||||
|
||||
GESTURE_TYPE HWR_CheckGesture( GESTURE_TYPE gtCheck, CGStroke stroke, int nPoints, int nScale, int nMinLen );
|
||||
|
||||
#if defined(__cplusplus)
|
||||
}
|
||||
#endif
|
||||
Executable
+55
@@ -0,0 +1,55 @@
|
||||
/***************************************************************************************
|
||||
*
|
||||
* WRITEPAD(r): Handwriting Recognition Engine (HWRE) and components.
|
||||
* Copyright (c) 2001-2016 PhatWare (r) Corp. All rights reserved.
|
||||
*
|
||||
* Licensing and other inquires: <developer@phatware.com>
|
||||
* Developer: Stan Miasnikov, et al. (c) PhatWare Corp. <http://www.phatware.com>
|
||||
*
|
||||
* WRITEPAD HWRE is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* THE MATERIAL EMBODIED ON THIS SOFTWARE IS PROVIDED TO YOU "AS-IS"
|
||||
* AND WITHOUT WARRANTY OF ANY KIND, EXPRESS, IMPLIED OR OTHERWISE,
|
||||
* INCLUDING WITHOUT LIMITATION, ANY WARRANTY OF MERCHANTABILITY OR
|
||||
* FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL PHATWARE CORP.
|
||||
* BE LIABLE TO YOU OR ANYONE ELSE FOR ANY DIRECT, SPECIAL, INCIDENTAL,
|
||||
* INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND, OR ANY DAMAGES WHATSOEVER,
|
||||
* INCLUDING WITHOUT LIMITATION, LOSS OF PROFIT, LOSS OF USE, SAVINGS
|
||||
* OR REVENUE, OR THE CLAIMS OF THIRD PARTIES, WHETHER OR NOT PHATWARE CORP.
|
||||
* HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH LOSS, HOWEVER CAUSED AND ON
|
||||
* ANY THEORY OF LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE
|
||||
* POSSESSION, USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
* See the GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with WritePad. If not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
**************************************************************************************/
|
||||
|
||||
#ifndef LANGID_H
|
||||
#define LANGID_H
|
||||
|
||||
#define LANGUAGE_NONE 0
|
||||
#define LANGUAGE_ENGLISH 1
|
||||
#define LANGUAGE_FRENCH 2
|
||||
#define LANGUAGE_GERMAN 3
|
||||
#define LANGUAGE_SPANISH 4
|
||||
#define LANGUAGE_ITALIAN 5
|
||||
#define LANGUAGE_SWEDISH 6
|
||||
#define LANGUAGE_NORWEGIAN 7
|
||||
#define LANGUAGE_DUTCH 8
|
||||
#define LANGUAGE_DANISH 9
|
||||
#define LANGUAGE_PORTUGUESE 10
|
||||
#define LANGUAGE_PORTUGUESEB 11
|
||||
#define LANGUAGE_MEDICAL 12
|
||||
#define LANGUAGE_FINNISH 13
|
||||
#define LANGUAGE_INDONESIAN 14
|
||||
#define LANGUAGE_ENGLISHUK 15
|
||||
#define LANGUAGE_SIZE 16
|
||||
|
||||
#define LANG_MEDICAL 0x71 // special entry for medical dictionary
|
||||
|
||||
#endif // LANGID_H
|
||||
Executable
+118
@@ -0,0 +1,118 @@
|
||||
/***************************************************************************************
|
||||
*
|
||||
* WRITEPAD(r): Handwriting Recognition Engine (HWRE) and components.
|
||||
* Copyright (c) 2001-2016 PhatWare (r) Corp. All rights reserved.
|
||||
*
|
||||
* Licensing and other inquires: <developer@phatware.com>
|
||||
* Developer: Stan Miasnikov, et al. (c) PhatWare Corp. <http://www.phatware.com>
|
||||
*
|
||||
* WRITEPAD HWRE is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* THE MATERIAL EMBODIED ON THIS SOFTWARE IS PROVIDED TO YOU "AS-IS"
|
||||
* AND WITHOUT WARRANTY OF ANY KIND, EXPRESS, IMPLIED OR OTHERWISE,
|
||||
* INCLUDING WITHOUT LIMITATION, ANY WARRANTY OF MERCHANTABILITY OR
|
||||
* FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL PHATWARE CORP.
|
||||
* BE LIABLE TO YOU OR ANYONE ELSE FOR ANY DIRECT, SPECIAL, INCIDENTAL,
|
||||
* INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND, OR ANY DAMAGES WHATSOEVER,
|
||||
* INCLUDING WITHOUT LIMITATION, LOSS OF PROFIT, LOSS OF USE, SAVINGS
|
||||
* OR REVENUE, OR THE CLAIMS OF THIRD PARTIES, WHETHER OR NOT PHATWARE CORP.
|
||||
* HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH LOSS, HOWEVER CAUSED AND ON
|
||||
* ANY THEORY OF LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE
|
||||
* POSSESSION, USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
* See the GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with WritePad. If not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
**************************************************************************************/
|
||||
|
||||
#ifndef __Reco_Defs_h__
|
||||
#define __Reco_Defs_h__
|
||||
|
||||
/* ------------------------- Defines ---------------------------------------- */
|
||||
|
||||
|
||||
#define HW_RECINT_ID_001 0x01000002 /* Rec Interface ID */
|
||||
#define HW_MAX_SPELL_NUM_ALTS 10 /* How many variants will be out by the SpellCheck func */
|
||||
#define HW_RECID_MAXLEN 32 /* Max length of the RecID string */
|
||||
#define HW_MAX_FILENAME 128 /* Limit for filename buffer */
|
||||
|
||||
// Recognizer Control Falgs
|
||||
#define HW_RECFL_NSEG 0x0001 /* Do not perform segmentation at all*/
|
||||
#define HW_RECFL_NCSEG 0x0002 /* Do not allow segm not waiting for final stroke. (No results on the go) */
|
||||
#define HW_RECFL_TTSEG 0x0004 /* Perform read-ahead of tentative segmented words */
|
||||
#define HW_RECFL_INTL_CS 0x0010 /* Enables international charsets */
|
||||
#define HW_RECFL_ALPHAONLY 0x0020 /* Enables international charsets */
|
||||
#define HW_RECFL_CUSTOM_WITH_ALPHA 0x0040 /* Alpha with custom punctuation */
|
||||
#define HW_RECFL_SEPLET 0x0100 /* Enables separate letter mode */
|
||||
#define HW_RECFL_DICTONLY 0x0200 /* Restricts dictionary words only recognition */
|
||||
#define HW_RECFL_NUMONLY 0x0400 /* NUMBERS only */
|
||||
#define HW_RECFL_CAPSONLY 0x0800 /* CAPITALS only */
|
||||
#define HW_RECFL_PURE 0x1000 /* NUMBERS and CAPITALS modes do not use any other chars */
|
||||
#define HW_RECFL_INTERNET 0x2000 /* Internet address mode */
|
||||
#define HW_RECFL_STATICSEG 0x4000 /* Static segmentation */
|
||||
#define HW_RECFL_CUSTOM 0x8000 /* use custom charset */
|
||||
|
||||
// Bits of recognizer capabilities
|
||||
|
||||
#define HW_CPFL_CURS 0x0001 /* Cursive capable */
|
||||
#define HW_CPFL_TRNBL 0x0002 /* Training capable */
|
||||
#define HW_CPFL_SPVSQ 0x0004 /* Speed VS Quality control capable */
|
||||
#define HW_CPFL_INTER 0x0008 /* International support capable */
|
||||
|
||||
#define HW_MAXWORDLEN 50 /* maximum word length */
|
||||
|
||||
#define HW_SPELL_CHECK 0x0000 /* SpellCheck flag: do spell checking */
|
||||
#define HW_SPELL_LIST 0x0001 /* SpellCheck flag: list continuations */
|
||||
#define HW_SPELL_USERDICT 0x0002 /* SpellCheck flag: use user dictionary */
|
||||
#define HW_SPELL_USEALTDICT 0x0004 /* SpellCheck flag: use alternative dictionary */
|
||||
#define HW_SPELL_IGNORENUM 0x0008 /* SpellCheck flag: ignore words containing numbers */
|
||||
#define HW_SPELL_IGNOREUPPER 0x0010 /* SpellCheck flag: ignore words in UPPER case */
|
||||
|
||||
#define HW_NUM_ANSWERS 1 /* Request to get number of recognized words */
|
||||
#define HW_NUM_ALTS 2 /* Request number of alternatives for given word */
|
||||
#define HW_ALT_WORD 3 /* Requestto get pointer to a given word alternative */
|
||||
#define HW_ALT_WEIGHT 4 /* Request to get weight of a give word alternative */
|
||||
#define HW_ALT_NSTR 5 /* Request to get number of strokes used for a given word alternative */
|
||||
#define HW_ALT_STROKES 6 /* Request to get a pointer to a given word alternative stroke ids */
|
||||
|
||||
#define MIN_RECOGNITION_WEIGHT 51 /* Minimum recognition quality */
|
||||
#define MAX_RECOGNITION_WEIGHT 100 /* Maximum recognition quality */
|
||||
#define AVE_RECOGNITION_WEIGHT ((MIN_RECOGNITION_WEIGHT+MAX_RECOGNITION_WEIGHT)/2)
|
||||
|
||||
#define LRN_WEIGHTSBUFFER_SIZE 448
|
||||
#define LRN_SETDEFWEIGHTS_OP 0 /* LEARN interface commands for RecoGetSetPictWghts func */
|
||||
#define LRN_GETCURWEIGHTS_OP 1
|
||||
#define LRN_SETCURWEIGHTS_OP 2
|
||||
|
||||
#define PM_ALTSEP 1 /* Recognized word list alternatives separator */
|
||||
#define PM_LISTSEP 2 /* Recognized word list wordlist separator */
|
||||
#define PM_LISTEND 0 /* Recognized word list end */
|
||||
|
||||
#define PM_NUMSEPARATOR (-1)
|
||||
|
||||
|
||||
#define HW_RECINT_UNICODE 1 // NOTE: define to use Unicode (UTF-16)
|
||||
|
||||
|
||||
/* ------------------------- Structures ------------------------------------- */
|
||||
|
||||
typedef void * RECOCTX; /* Type of handle of recognizer context */
|
||||
typedef void * RECOHDICT; /* Type of handle of user dictionary handle */
|
||||
|
||||
|
||||
#ifdef HW_RECINT_UNICODE
|
||||
typedef unsigned short UCHR;
|
||||
typedef const unsigned short CUCHR;
|
||||
#else // HW_RECINT_UNICODE
|
||||
typedef char UCHR;
|
||||
typedef const char CUCHR;
|
||||
#endif // HW_RECINT_UNICODE
|
||||
|
||||
typedef int (RECO_ONGOTWORD)( const UCHR * szWord, void * pParam );
|
||||
typedef RECO_ONGOTWORD * PRECO_ONGOTWORD;
|
||||
|
||||
#endif // __Reco_Defs_h__
|
||||
Executable
+141
@@ -0,0 +1,141 @@
|
||||
/***************************************************************************************
|
||||
*
|
||||
* WRITEPAD(r): Handwriting Recognition Engine (HWRE) and components.
|
||||
* Copyright (c) 2001-2016 PhatWare (r) Corp. All rights reserved.
|
||||
*
|
||||
* Licensing and other inquires: <developer@phatware.com>
|
||||
* Developer: Stan Miasnikov, et al. (c) PhatWare Corp. <http://www.phatware.com>
|
||||
*
|
||||
* WRITEPAD HWRE is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* THE MATERIAL EMBODIED ON THIS SOFTWARE IS PROVIDED TO YOU "AS-IS"
|
||||
* AND WITHOUT WARRANTY OF ANY KIND, EXPRESS, IMPLIED OR OTHERWISE,
|
||||
* INCLUDING WITHOUT LIMITATION, ANY WARRANTY OF MERCHANTABILITY OR
|
||||
* FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL PHATWARE CORP.
|
||||
* BE LIABLE TO YOU OR ANYONE ELSE FOR ANY DIRECT, SPECIAL, INCIDENTAL,
|
||||
* INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND, OR ANY DAMAGES WHATSOEVER,
|
||||
* INCLUDING WITHOUT LIMITATION, LOSS OF PROFIT, LOSS OF USE, SAVINGS
|
||||
* OR REVENUE, OR THE CLAIMS OF THIRD PARTIES, WHETHER OR NOT PHATWARE CORP.
|
||||
* HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH LOSS, HOWEVER CAUSED AND ON
|
||||
* ANY THEORY OF LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE
|
||||
* POSSESSION, USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
* See the GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with WritePad. If not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
**************************************************************************************/
|
||||
|
||||
#ifndef __RecoTypes_h__
|
||||
#define __RecoTypes_h__
|
||||
|
||||
#include "recodefs.h"
|
||||
#include "langid.h"
|
||||
|
||||
#ifndef __MACTYPES__
|
||||
|
||||
// define some types that are used for compatibility with MAC OS
|
||||
|
||||
typedef unsigned char UInt8;
|
||||
typedef signed char SInt8;
|
||||
typedef unsigned short UInt16;
|
||||
typedef signed short SInt16;
|
||||
typedef unsigned int UInt32;
|
||||
typedef signed int SInt32;
|
||||
|
||||
typedef SInt16 OSErr;
|
||||
typedef SInt32 OSStatus;
|
||||
|
||||
enum {
|
||||
noErr = 0
|
||||
};
|
||||
|
||||
#endif // __MACTYPES__
|
||||
|
||||
#ifndef CGGEOMETRY_H_
|
||||
|
||||
#if defined(__LP64__) && __LP64__
|
||||
typedef double CGFloat;
|
||||
#else
|
||||
typedef float CGFloat;
|
||||
#endif
|
||||
|
||||
struct CGPoint {
|
||||
CGFloat x;
|
||||
CGFloat y;
|
||||
};
|
||||
typedef struct CGPoint CGPoint;
|
||||
|
||||
struct CGSize {
|
||||
CGFloat width;
|
||||
CGFloat height;
|
||||
};
|
||||
typedef struct CGSize CGSize;
|
||||
|
||||
struct CGRect {
|
||||
CGPoint origin;
|
||||
CGSize size;
|
||||
};
|
||||
typedef struct CGRect CGRect;
|
||||
|
||||
#endif // CGGEOMETRY_H_
|
||||
|
||||
typedef struct __tagTracePoint
|
||||
{
|
||||
CGPoint pt;
|
||||
int pressure;
|
||||
} CGTracePoint;
|
||||
|
||||
typedef CGTracePoint * CGStroke;
|
||||
|
||||
|
||||
#define RW_WEIGHTMASK 0x000000FF
|
||||
#define RW_DICTIONARYWORD 0x00004000
|
||||
|
||||
// Autocorrector flags
|
||||
#define WCF_IGNORECASE 0x0001
|
||||
#define WCF_ALWAYS 0x0002
|
||||
#define WCF_DISABLED 0x0004
|
||||
|
||||
/* ------------------------- Language ID ------------------------------------- */
|
||||
|
||||
#define DEFAULT_PRESSURE 150
|
||||
#define MAX_PRESSURE 255
|
||||
#define MIN_PRESSURE 5
|
||||
|
||||
typedef enum {
|
||||
SHAPE_UNKNOWN = 0,
|
||||
SHAPE_TRIANGLE = 0x0001,
|
||||
SHAPE_CIRCLE = 0x0002,
|
||||
SHAPE_ELLIPSE = 0x0004,
|
||||
SHAPE_RECTANGLE = 0x0008,
|
||||
SHAPE_LINE = 0x0010,
|
||||
SHAPE_ARROW = 0x0020,
|
||||
SHAPE_SCRATCH = 0x0040,
|
||||
SHAPE_ALL = 0x00FF
|
||||
} SHAPETYPE;
|
||||
|
||||
|
||||
typedef UInt16 USHORT;
|
||||
typedef unsigned char UCHAR;
|
||||
typedef unsigned short UNCHAR;
|
||||
typedef UNCHAR * LPUSTR;
|
||||
typedef const UNCHAR * LPCUSTR;
|
||||
typedef UInt32 COLORREF;
|
||||
|
||||
/// Type to represent a boolean value.
|
||||
#if !defined(OBJC_HIDE_64) && TARGET_OS_IPHONE && __LP64__
|
||||
typedef bool BOOL;
|
||||
#else
|
||||
typedef signed char BOOL;
|
||||
// BOOL is explicitly signed so @encode(BOOL) == "c" rather than "C"
|
||||
// even if -funsigned-char is used.
|
||||
#endif
|
||||
|
||||
#define IMAGE_SUPPORT 1 // support image storage
|
||||
|
||||
#endif // __RecoTypes_h__
|
||||
|
||||
Executable
+176
@@ -0,0 +1,176 @@
|
||||
################################################################################
|
||||
#
|
||||
# WritePad SDK for Linux
|
||||
# Handwriting Recognition Engine makefile
|
||||
# Created by Stan Miasnikov 23/04/2009
|
||||
#
|
||||
# Copyright (c) 1997-2014 PhatWare(r) Corp. All rights reserved.
|
||||
#
|
||||
################################################################################
|
||||
#
|
||||
# Unauthorized distribution of this code is prohibited.
|
||||
# Contractor/manufacturer is PhatWare Corp.
|
||||
# 1314 S. Grand Blvd. Ste. 2-175 Spokane, WA 99202
|
||||
#
|
||||
################################################################################
|
||||
|
||||
# Folders
|
||||
SRC_FOLDER := ../UniversalRecognizer/V300
|
||||
|
||||
vpath %.cpp $(SRC_FOLDER)/RecognizerWrapper
|
||||
vpath %.cpp $(SRC_FOLDER)/InkData
|
||||
vpath %.cpp $(SRC_FOLDER)/reco/src
|
||||
vpath %.cpp $(SRC_FOLDER)/reco/data
|
||||
|
||||
OUT_FOLDER := Release
|
||||
LIB_FOLDER := Lib
|
||||
|
||||
# Commands
|
||||
RM := rm -rf
|
||||
|
||||
CPP := g++
|
||||
|
||||
# Compiler flags
|
||||
CFLAGS := -std=gnu++11 -O3 -Wall -c
|
||||
|
||||
WARNIGNS := -Wno-char-subscripts \
|
||||
-Wno-missing-braces \
|
||||
-Wno-unused-but-set-variable \
|
||||
-Wno-multichar
|
||||
|
||||
INCLUDES := -I"$(SRC_FOLDER)/include" \
|
||||
-I"$(SRC_FOLDER)/InkData" \
|
||||
-I"$(SRC_FOLDER)/reco/include" \
|
||||
-I"$(SRC_FOLDER)/reco/data" \
|
||||
-I"$(SRC_FOLDER)/RecognizerWrapper"
|
||||
|
||||
DEFINES := -D_OS_LINUX -DHWR_SYSTEM=HWR_LINUX -D_EMBEDDED_DEVICE -DRECODICT \
|
||||
-DLANG_ENGLISH -DLANG_FRENCH -DLANG_DUTCH -DLANG_SPANISH -DLANG_ITALIAN \
|
||||
-DLANG_GERMAN -DLANG_PORTUGUESE -DLANG_PORTUGUESEB -DLANG_FINNISH \
|
||||
-DLANG_SWED -DLANG_DAN -DLANG_NORW -DLANG_INDONESIAN -DLANG_ENGLISHUK
|
||||
|
||||
SRCS := \
|
||||
PhatCalc.cpp \
|
||||
RecognizerWrapper.cpp \
|
||||
WordFile.cpp \
|
||||
WordLrnFile.cpp \
|
||||
gestures.cpp \
|
||||
ImageObject.cpp \
|
||||
InkData.cpp \
|
||||
InkWrapper.cpp \
|
||||
PHStream.cpp \
|
||||
PHStroke.cpp \
|
||||
ShapesRec.cpp \
|
||||
TextObject.cpp \
|
||||
UndoAction.cpp \
|
||||
angle.cpp \
|
||||
apostroph.cpp \
|
||||
arcs.cpp \
|
||||
bitmaps.cpp \
|
||||
breaks.cpp \
|
||||
calccell.cpp \
|
||||
check.cpp \
|
||||
circle.cpp \
|
||||
connections.cpp \
|
||||
convert.cpp \
|
||||
cross.cpp \
|
||||
cross_geometry.cpp \
|
||||
dct_functions.cpp \
|
||||
dtiutil.cpp \
|
||||
filter.cpp \
|
||||
hwrctype.cpp \
|
||||
hwrmath.cpp \
|
||||
hwrmem.cpp \
|
||||
hwrstr.cpp \
|
||||
hwrswap.cpp \
|
||||
langutil.cpp \
|
||||
ldbutil.cpp \
|
||||
letimagestodte.cpp \
|
||||
ligstate.cpp \
|
||||
link_begin.cpp \
|
||||
link_next.cpp \
|
||||
links.cpp \
|
||||
low3.cpp \
|
||||
low_data.cpp \
|
||||
low_dbg.cpp \
|
||||
low_level.cpp \
|
||||
low_util.cpp \
|
||||
luspecl.cpp \
|
||||
mlp.cpp \
|
||||
newdict.cpp \
|
||||
param.cpp \
|
||||
pict.cpp \
|
||||
poly.cpp \
|
||||
post_cap_tbl.cpp \
|
||||
post_capital.cpp \
|
||||
precutil.cpp \
|
||||
prep.cpp \
|
||||
reco.cpp \
|
||||
recodict.cpp \
|
||||
recokern.cpp \
|
||||
recolibs.cpp \
|
||||
recoutil.cpp \
|
||||
sketch.cpp \
|
||||
spell.cpp \
|
||||
stroke.cpp \
|
||||
stroke1.cpp \
|
||||
tracedata.cpp \
|
||||
triadsutil.cpp \
|
||||
utils.cpp \
|
||||
wordbreaks.cpp \
|
||||
wordcorrector.cpp \
|
||||
worddict.cpp \
|
||||
wordsegment.cpp \
|
||||
xrattrib.cpp \
|
||||
xrdict.cpp \
|
||||
xrmatrix.cpp \
|
||||
dti_img.cpp \
|
||||
ldb_img.cpp \
|
||||
snn_img.cpp \
|
||||
trd_img.cpp \
|
||||
vprf_img.cpp \
|
||||
vsuf_img.cpp
|
||||
|
||||
|
||||
# OBJS = $(SRCS:.cpp=.o)
|
||||
# OBJS := $(subst ../,,$(SRCS:.cpp=.o))
|
||||
# OBJS = $(patsubst %.cpp, %.o, $(SRCS))
|
||||
OBJS = $(patsubst %.cpp,$(OUT_FOLDER)/%.o,$(SRCS))
|
||||
|
||||
TARGET = $(LIB_FOLDER)/libWritePadLib.a
|
||||
|
||||
.PHONY: depend clean
|
||||
|
||||
# All Target
|
||||
all: $(OUT_FOLDER) $(LIB_FOLDER) $(TARGET)
|
||||
|
||||
# Aux folders creation
|
||||
$(OUT_FOLDER):
|
||||
@mkdir -p $@
|
||||
|
||||
$(LIB_FOLDER):
|
||||
@mkdir -p $@
|
||||
|
||||
# Tool invocations
|
||||
$(TARGET): $(OBJS)
|
||||
@echo 'Building target: $@'
|
||||
@ar -r "$(TARGET)" $(OBJS) $(LIBS)
|
||||
@echo 'All done! Created library: $@'
|
||||
@echo ' '
|
||||
|
||||
$(OUT_FOLDER)/%.o : %.cpp
|
||||
@echo 'Compiling: $<'
|
||||
@$(CPP) $(CFLAGS) $(WARNIGNS) $(INCLUDES) $(DEFINES) -c $< -o $(OUT_FOLDER)/$(@F)
|
||||
|
||||
clean:
|
||||
@echo 'Deleting object files'
|
||||
@$(RM) $(OUT_FOLDER) $(LIB_FOLDER)/libWritePadLib.a
|
||||
@echo 'Done.'
|
||||
@echo ' '
|
||||
|
||||
depend: $(SRCS)
|
||||
makedepend $(INCLUDES) $^
|
||||
|
||||
# DO NOT DELETE THIS LINE -- make depend needs it
|
||||
|
||||
|
||||
Executable
+152
@@ -0,0 +1,152 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<?fileVersion 4.0.0?>
|
||||
|
||||
<cproject storage_type_id="org.eclipse.cdt.core.XmlProjectDescriptionStorage">
|
||||
<storageModule moduleId="org.eclipse.cdt.core.settings">
|
||||
<cconfiguration id="cdt.managedbuild.config.gnu.cross.exe.debug.1857386235">
|
||||
<storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="cdt.managedbuild.config.gnu.cross.exe.debug.1857386235" moduleId="org.eclipse.cdt.core.settings" name="Debug">
|
||||
<externalSettings/>
|
||||
<extensions>
|
||||
<extension id="org.eclipse.cdt.core.ELF" point="org.eclipse.cdt.core.BinaryParser"/>
|
||||
<extension id="org.eclipse.cdt.core.GmakeErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||
<extension id="org.eclipse.cdt.core.CWDLocator" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||
<extension id="org.eclipse.cdt.core.GCCErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||
<extension id="org.eclipse.cdt.core.GASErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||
<extension id="org.eclipse.cdt.core.GLDErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||
</extensions>
|
||||
</storageModule>
|
||||
<storageModule moduleId="cdtBuildSystem" version="4.0.0">
|
||||
<configuration artifactName="${ProjName}" buildArtefactType="org.eclipse.cdt.build.core.buildArtefactType.exe" buildProperties="org.eclipse.cdt.build.core.buildType=org.eclipse.cdt.build.core.buildType.debug,org.eclipse.cdt.build.core.buildArtefactType=org.eclipse.cdt.build.core.buildArtefactType.exe" cleanCommand="rm -rf" description="" id="cdt.managedbuild.config.gnu.cross.exe.debug.1857386235" name="Debug" parent="cdt.managedbuild.config.gnu.cross.exe.debug">
|
||||
<folderInfo id="cdt.managedbuild.config.gnu.cross.exe.debug.1857386235." name="/" resourcePath="">
|
||||
<toolChain id="cdt.managedbuild.toolchain.gnu.cross.exe.debug.1782743942" name="Cross GCC" superClass="cdt.managedbuild.toolchain.gnu.cross.exe.debug">
|
||||
<targetPlatform archList="all" binaryParser="org.eclipse.cdt.core.ELF" id="cdt.managedbuild.targetPlatform.gnu.cross.1811529914" isAbstract="false" osList="all" superClass="cdt.managedbuild.targetPlatform.gnu.cross"/>
|
||||
<builder buildPath="${workspace_loc:/writepadreco/Debug}" id="cdt.managedbuild.builder.gnu.cross.1584522012" keepEnvironmentInBuildfile="false" managedBuildOn="true" name="Gnu Make Builder" superClass="cdt.managedbuild.builder.gnu.cross"/>
|
||||
<tool id="cdt.managedbuild.tool.gnu.cross.c.compiler.1071140809" name="Cross GCC Compiler" superClass="cdt.managedbuild.tool.gnu.cross.c.compiler">
|
||||
<option defaultValue="gnu.c.optimization.level.none" id="gnu.c.compiler.option.optimization.level.1845285871" name="Optimization Level" superClass="gnu.c.compiler.option.optimization.level" valueType="enumerated"/>
|
||||
<option id="gnu.c.compiler.option.debugging.level.541303287" name="Debug Level" superClass="gnu.c.compiler.option.debugging.level" value="gnu.c.debugging.level.max" valueType="enumerated"/>
|
||||
<option id="gnu.c.compiler.option.include.paths.1814228318" name="Include paths (-I)" superClass="gnu.c.compiler.option.include.paths" valueType="includePath">
|
||||
<listOptionValue builtIn="false" value=""${workspace_loc:/WritePadLib/include}""/>
|
||||
</option>
|
||||
<inputType id="cdt.managedbuild.tool.gnu.c.compiler.input.619704380" superClass="cdt.managedbuild.tool.gnu.c.compiler.input"/>
|
||||
</tool>
|
||||
<tool id="cdt.managedbuild.tool.gnu.cross.cpp.compiler.1116438678" name="Cross G++ Compiler" superClass="cdt.managedbuild.tool.gnu.cross.cpp.compiler">
|
||||
<option id="gnu.cpp.compiler.option.optimization.level.1115618078" name="Optimization Level" superClass="gnu.cpp.compiler.option.optimization.level" value="gnu.cpp.compiler.optimization.level.none" valueType="enumerated"/>
|
||||
<option id="gnu.cpp.compiler.option.debugging.level.2053750041" name="Debug Level" superClass="gnu.cpp.compiler.option.debugging.level" value="gnu.cpp.compiler.debugging.level.max" valueType="enumerated"/>
|
||||
<option id="gnu.cpp.compiler.option.include.paths.1396374432" name="Include paths (-I)" superClass="gnu.cpp.compiler.option.include.paths" valueType="includePath">
|
||||
<listOptionValue builtIn="false" value=""${workspace_loc:/WritePadLib/include}""/>
|
||||
</option>
|
||||
<inputType id="cdt.managedbuild.tool.gnu.cpp.compiler.input.2080278696" superClass="cdt.managedbuild.tool.gnu.cpp.compiler.input"/>
|
||||
</tool>
|
||||
<tool id="cdt.managedbuild.tool.gnu.cross.c.linker.790257528" name="Cross GCC Linker" superClass="cdt.managedbuild.tool.gnu.cross.c.linker"/>
|
||||
<tool id="cdt.managedbuild.tool.gnu.cross.cpp.linker.1898245565" name="Cross G++ Linker" superClass="cdt.managedbuild.tool.gnu.cross.cpp.linker">
|
||||
<option id="gnu.cpp.link.option.libs.122156337" name="Libraries (-l)" superClass="gnu.cpp.link.option.libs" valueType="libs">
|
||||
<listOptionValue builtIn="false" value="WritePadLib"/>
|
||||
<listOptionValue builtIn="false" value="pthread"/>
|
||||
</option>
|
||||
<option id="gnu.cpp.link.option.paths.77684465" name="Library search path (-L)" superClass="gnu.cpp.link.option.paths" valueType="libPaths">
|
||||
<listOptionValue builtIn="false" value=""${workspace_loc:/WritePadLib/Release}""/>
|
||||
</option>
|
||||
<inputType id="cdt.managedbuild.tool.gnu.cpp.linker.input.84545073" superClass="cdt.managedbuild.tool.gnu.cpp.linker.input">
|
||||
<additionalInput kind="additionalinputdependency" paths="$(USER_OBJS)"/>
|
||||
<additionalInput kind="additionalinput" paths="$(LIBS)"/>
|
||||
</inputType>
|
||||
</tool>
|
||||
<tool id="cdt.managedbuild.tool.gnu.cross.archiver.2076775243" name="Cross GCC Archiver" superClass="cdt.managedbuild.tool.gnu.cross.archiver"/>
|
||||
<tool id="cdt.managedbuild.tool.gnu.cross.assembler.1104154713" name="Cross GCC Assembler" superClass="cdt.managedbuild.tool.gnu.cross.assembler">
|
||||
<inputType id="cdt.managedbuild.tool.gnu.assembler.input.385423792" superClass="cdt.managedbuild.tool.gnu.assembler.input"/>
|
||||
</tool>
|
||||
</toolChain>
|
||||
</folderInfo>
|
||||
<fileInfo id="cdt.managedbuild.config.gnu.cross.exe.debug.1857386235.906379455" name="makefile" rcbsApplicability="disable" resourcePath="makefile" toolsToInvoke=""/>
|
||||
<sourceEntries>
|
||||
<entry flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="src"/>
|
||||
</sourceEntries>
|
||||
</configuration>
|
||||
</storageModule>
|
||||
<storageModule moduleId="org.eclipse.cdt.core.externalSettings"/>
|
||||
</cconfiguration>
|
||||
<cconfiguration id="cdt.managedbuild.config.gnu.cross.exe.release.1145749197">
|
||||
<storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="cdt.managedbuild.config.gnu.cross.exe.release.1145749197" moduleId="org.eclipse.cdt.core.settings" name="Release">
|
||||
<externalSettings/>
|
||||
<extensions>
|
||||
<extension id="org.eclipse.cdt.core.ELF" point="org.eclipse.cdt.core.BinaryParser"/>
|
||||
<extension id="org.eclipse.cdt.core.GmakeErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||
<extension id="org.eclipse.cdt.core.CWDLocator" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||
<extension id="org.eclipse.cdt.core.GCCErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||
<extension id="org.eclipse.cdt.core.GASErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||
<extension id="org.eclipse.cdt.core.GLDErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||
</extensions>
|
||||
</storageModule>
|
||||
<storageModule moduleId="cdtBuildSystem" version="4.0.0">
|
||||
<configuration artifactName="${ProjName}" buildArtefactType="org.eclipse.cdt.build.core.buildArtefactType.exe" buildProperties="org.eclipse.cdt.build.core.buildType=org.eclipse.cdt.build.core.buildType.release,org.eclipse.cdt.build.core.buildArtefactType=org.eclipse.cdt.build.core.buildArtefactType.exe" cleanCommand="rm -rf" description="" id="cdt.managedbuild.config.gnu.cross.exe.release.1145749197" name="Release" parent="cdt.managedbuild.config.gnu.cross.exe.release">
|
||||
<folderInfo id="cdt.managedbuild.config.gnu.cross.exe.release.1145749197." name="/" resourcePath="">
|
||||
<toolChain id="cdt.managedbuild.toolchain.gnu.cross.exe.release.701156732" name="Cross GCC" superClass="cdt.managedbuild.toolchain.gnu.cross.exe.release">
|
||||
<targetPlatform archList="all" binaryParser="org.eclipse.cdt.core.ELF" id="cdt.managedbuild.targetPlatform.gnu.cross.1261870841" isAbstract="false" osList="all" superClass="cdt.managedbuild.targetPlatform.gnu.cross"/>
|
||||
<builder buildPath="${workspace_loc:/writepadreco/Release}" id="cdt.managedbuild.builder.gnu.cross.1343040979" keepEnvironmentInBuildfile="false" managedBuildOn="true" name="Gnu Make Builder" superClass="cdt.managedbuild.builder.gnu.cross"/>
|
||||
<tool id="cdt.managedbuild.tool.gnu.cross.c.compiler.228102522" name="Cross GCC Compiler" superClass="cdt.managedbuild.tool.gnu.cross.c.compiler">
|
||||
<option defaultValue="gnu.c.optimization.level.most" id="gnu.c.compiler.option.optimization.level.1354348563" name="Optimization Level" superClass="gnu.c.compiler.option.optimization.level" valueType="enumerated"/>
|
||||
<option id="gnu.c.compiler.option.debugging.level.319852380" name="Debug Level" superClass="gnu.c.compiler.option.debugging.level" value="gnu.c.debugging.level.none" valueType="enumerated"/>
|
||||
<inputType id="cdt.managedbuild.tool.gnu.c.compiler.input.2052069725" superClass="cdt.managedbuild.tool.gnu.c.compiler.input"/>
|
||||
</tool>
|
||||
<tool id="cdt.managedbuild.tool.gnu.cross.cpp.compiler.532175573" name="Cross G++ Compiler" superClass="cdt.managedbuild.tool.gnu.cross.cpp.compiler">
|
||||
<option id="gnu.cpp.compiler.option.optimization.level.640775418" name="Optimization Level" superClass="gnu.cpp.compiler.option.optimization.level" value="gnu.cpp.compiler.optimization.level.most" valueType="enumerated"/>
|
||||
<option id="gnu.cpp.compiler.option.debugging.level.1698256144" name="Debug Level" superClass="gnu.cpp.compiler.option.debugging.level" value="gnu.cpp.compiler.debugging.level.none" valueType="enumerated"/>
|
||||
<inputType id="cdt.managedbuild.tool.gnu.cpp.compiler.input.289694485" superClass="cdt.managedbuild.tool.gnu.cpp.compiler.input"/>
|
||||
</tool>
|
||||
<tool id="cdt.managedbuild.tool.gnu.cross.c.linker.2098553089" name="Cross GCC Linker" superClass="cdt.managedbuild.tool.gnu.cross.c.linker"/>
|
||||
<tool id="cdt.managedbuild.tool.gnu.cross.cpp.linker.83625060" name="Cross G++ Linker" superClass="cdt.managedbuild.tool.gnu.cross.cpp.linker">
|
||||
<option id="gnu.cpp.link.option.paths.189304879" name="Library search path (-L)" superClass="gnu.cpp.link.option.paths" valueType="libPaths">
|
||||
<listOptionValue builtIn="false" value=""${workspace_loc:/WritePadLib/writepadreco/Lib}""/>
|
||||
</option>
|
||||
<inputType id="cdt.managedbuild.tool.gnu.cpp.linker.input.1752124875" superClass="cdt.managedbuild.tool.gnu.cpp.linker.input">
|
||||
<additionalInput kind="additionalinputdependency" paths="$(USER_OBJS)"/>
|
||||
<additionalInput kind="additionalinput" paths="$(LIBS)"/>
|
||||
</inputType>
|
||||
</tool>
|
||||
<tool id="cdt.managedbuild.tool.gnu.cross.archiver.1890320236" name="Cross GCC Archiver" superClass="cdt.managedbuild.tool.gnu.cross.archiver"/>
|
||||
<tool id="cdt.managedbuild.tool.gnu.cross.assembler.2019899870" name="Cross GCC Assembler" superClass="cdt.managedbuild.tool.gnu.cross.assembler">
|
||||
<inputType id="cdt.managedbuild.tool.gnu.assembler.input.1451810424" superClass="cdt.managedbuild.tool.gnu.assembler.input"/>
|
||||
</tool>
|
||||
</toolChain>
|
||||
</folderInfo>
|
||||
<fileInfo id="cdt.managedbuild.config.gnu.cross.exe.release.1145749197.1345547093" name="makefile" rcbsApplicability="disable" resourcePath="makefile" toolsToInvoke=""/>
|
||||
<sourceEntries>
|
||||
<entry flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="src"/>
|
||||
</sourceEntries>
|
||||
</configuration>
|
||||
</storageModule>
|
||||
<storageModule moduleId="org.eclipse.cdt.core.externalSettings"/>
|
||||
</cconfiguration>
|
||||
</storageModule>
|
||||
<storageModule moduleId="cdtBuildSystem" version="4.0.0">
|
||||
<project id="writepadreco.cdt.managedbuild.target.gnu.cross.exe.99342650" name="Executable" projectType="cdt.managedbuild.target.gnu.cross.exe"/>
|
||||
</storageModule>
|
||||
<storageModule moduleId="org.eclipse.cdt.core.LanguageSettingsProviders"/>
|
||||
<storageModule moduleId="refreshScope" versionNumber="2">
|
||||
<configuration configurationName="Release">
|
||||
<resource resourceType="PROJECT" workspacePath="/writepadreco"/>
|
||||
</configuration>
|
||||
<configuration configurationName="Multiple configurations">
|
||||
<resource resourceType="PROJECT" workspacePath="/writepadreco"/>
|
||||
</configuration>
|
||||
<configuration configurationName="Debug">
|
||||
<resource resourceType="PROJECT" workspacePath="/writepadreco"/>
|
||||
</configuration>
|
||||
</storageModule>
|
||||
<storageModule moduleId="org.eclipse.cdt.internal.ui.text.commentOwnerProjectMappings"/>
|
||||
<storageModule moduleId="scannerConfiguration">
|
||||
<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId=""/>
|
||||
<scannerConfigBuildInfo instanceId="cdt.managedbuild.config.gnu.cross.exe.debug.1857386235;cdt.managedbuild.config.gnu.cross.exe.debug.1857386235.;cdt.managedbuild.tool.gnu.cross.cpp.compiler.1116438678;cdt.managedbuild.tool.gnu.cpp.compiler.input.2080278696">
|
||||
<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileCPP"/>
|
||||
</scannerConfigBuildInfo>
|
||||
<scannerConfigBuildInfo instanceId="cdt.managedbuild.config.gnu.cross.exe.release.1145749197;cdt.managedbuild.config.gnu.cross.exe.release.1145749197.;cdt.managedbuild.tool.gnu.cross.c.compiler.228102522;cdt.managedbuild.tool.gnu.c.compiler.input.2052069725">
|
||||
<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileC"/>
|
||||
</scannerConfigBuildInfo>
|
||||
<scannerConfigBuildInfo instanceId="cdt.managedbuild.config.gnu.cross.exe.debug.1857386235;cdt.managedbuild.config.gnu.cross.exe.debug.1857386235.;cdt.managedbuild.tool.gnu.cross.c.compiler.1071140809;cdt.managedbuild.tool.gnu.c.compiler.input.619704380">
|
||||
<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileC"/>
|
||||
</scannerConfigBuildInfo>
|
||||
<scannerConfigBuildInfo instanceId="cdt.managedbuild.config.gnu.cross.exe.release.1145749197;cdt.managedbuild.config.gnu.cross.exe.release.1145749197.;cdt.managedbuild.tool.gnu.cross.cpp.compiler.532175573;cdt.managedbuild.tool.gnu.cpp.compiler.input.289694485">
|
||||
<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileCPP"/>
|
||||
</scannerConfigBuildInfo>
|
||||
</storageModule>
|
||||
</cproject>
|
||||
Executable
+27
@@ -0,0 +1,27 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<projectDescription>
|
||||
<name>writepadreco</name>
|
||||
<comment></comment>
|
||||
<projects>
|
||||
</projects>
|
||||
<buildSpec>
|
||||
<buildCommand>
|
||||
<name>org.eclipse.cdt.managedbuilder.core.genmakebuilder</name>
|
||||
<triggers>clean,full,incremental,</triggers>
|
||||
<arguments>
|
||||
</arguments>
|
||||
</buildCommand>
|
||||
<buildCommand>
|
||||
<name>org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder</name>
|
||||
<triggers>full,incremental,</triggers>
|
||||
<arguments>
|
||||
</arguments>
|
||||
</buildCommand>
|
||||
</buildSpec>
|
||||
<natures>
|
||||
<nature>org.eclipse.cdt.core.cnature</nature>
|
||||
<nature>org.eclipse.cdt.core.ccnature</nature>
|
||||
<nature>org.eclipse.cdt.managedbuilder.core.managedBuildNature</nature>
|
||||
<nature>org.eclipse.cdt.managedbuilder.core.ScannerConfigNature</nature>
|
||||
</natures>
|
||||
</projectDescription>
|
||||
Executable
BIN
Binary file not shown.
BIN
Binary file not shown.
Executable
+85
@@ -0,0 +1,85 @@
|
||||
################################################################################
|
||||
#
|
||||
# WritePad SDK for Linux
|
||||
# Handwriting Recognition Engine makefile
|
||||
# Created by Stan Miasnikov 23/04/2009
|
||||
#
|
||||
# Copyright (c) 1997-2014 PhatWare(r) Corp. All rights reserved.
|
||||
#
|
||||
################################################################################
|
||||
#
|
||||
# Unauthorized distribution of this code is prohibited.
|
||||
# Contractor/manufacturer is PhatWare Corp.
|
||||
# 1314 S. Grand Blvd. Ste. 2-175 Spokane, WA 99202
|
||||
#
|
||||
################################################################################
|
||||
|
||||
# Folders
|
||||
SRC_FOLDER := src
|
||||
|
||||
vpath %.cpp $(SRC_FOLDER)
|
||||
|
||||
OUT_FOLDER := obj
|
||||
LIB_FOLDER := ../Lib
|
||||
|
||||
# Commands
|
||||
RM := rm -rf
|
||||
|
||||
CPP := g++
|
||||
|
||||
# Compiler flags
|
||||
CFLAGS := -std=gnu++11 -O3 -Wall -c
|
||||
|
||||
LFLAGS := -g -L $(LIB_FOLDER)
|
||||
|
||||
# WARNIGNS := -Wno-char-subscripts \
|
||||
# -Wno-missing-braces \
|
||||
# -Wno-unused-but-set-variable \
|
||||
# -Wno-multichar
|
||||
|
||||
INCLUDES := -I"../include"
|
||||
|
||||
DEFINES := -D_OS_LINUX
|
||||
|
||||
LIBS := -lWritePadLib -lpthread
|
||||
|
||||
SRCS := \
|
||||
writepadreco.cpp
|
||||
|
||||
OBJS = $(patsubst %.cpp,$(OUT_FOLDER)/%.o,$(SRCS))
|
||||
|
||||
TARGET = writepadreco
|
||||
|
||||
.PHONY: depend clean
|
||||
|
||||
# All Target
|
||||
all: $(OUT_FOLDER) $(TARGET)
|
||||
|
||||
# Aux folders creation
|
||||
$(OUT_FOLDER):
|
||||
@mkdir -p $@
|
||||
|
||||
|
||||
# Tool invocations
|
||||
$(TARGET): $(OBJS)
|
||||
@echo 'Building target: $@'
|
||||
@$(CPP) $(LFLAGS) -o $(TARGET) $(OBJS) $(LIBS)
|
||||
@echo 'All done! Created binary: $@'
|
||||
@echo ' '
|
||||
|
||||
$(OUT_FOLDER)/%.o : %.cpp
|
||||
@echo 'Compiling: $<'
|
||||
@$(CPP) $(CFLAGS) $(WARNIGNS) $(INCLUDES) $(DEFINES) -c $< -o $(OUT_FOLDER)/$(@F)
|
||||
|
||||
clean:
|
||||
@echo 'Deleting object files'
|
||||
@$(RM) $(TARGET) $(OUT_FOLDER)
|
||||
@echo 'Done.'
|
||||
@echo ' '
|
||||
|
||||
depend: $(SRCS)
|
||||
makedepend $(INCLUDES) $^
|
||||
|
||||
# DO NOT DELETE THIS LINE -- make depend needs it
|
||||
|
||||
|
||||
Executable
+10284
File diff suppressed because it is too large
Load Diff
Executable
+566
@@ -0,0 +1,566 @@
|
||||
/***************************************************************************************
|
||||
*
|
||||
* WRITEPAD(r): Handwriting Recognition Engine (HWRE) and components.
|
||||
* Copyright (c) 2001-2016 PhatWare (r) Corp. All rights reserved.
|
||||
*
|
||||
* Licensing and other inquires: <developer@phatware.com>
|
||||
* Developer: Stan Miasnikov, et al. (c) PhatWare Corp. <http://www.phatware.com>
|
||||
*
|
||||
* WRITEPAD HWRE is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* THE MATERIAL EMBODIED ON THIS SOFTWARE IS PROVIDED TO YOU "AS-IS"
|
||||
* AND WITHOUT WARRANTY OF ANY KIND, EXPRESS, IMPLIED OR OTHERWISE,
|
||||
* INCLUDING WITHOUT LIMITATION, ANY WARRANTY OF MERCHANTABILITY OR
|
||||
* FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL PHATWARE CORP.
|
||||
* BE LIABLE TO YOU OR ANYONE ELSE FOR ANY DIRECT, SPECIAL, INCIDENTAL,
|
||||
* INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND, OR ANY DAMAGES WHATSOEVER,
|
||||
* INCLUDING WITHOUT LIMITATION, LOSS OF PROFIT, LOSS OF USE, SAVINGS
|
||||
* OR REVENUE, OR THE CLAIMS OF THIRD PARTIES, WHETHER OR NOT PHATWARE CORP.
|
||||
* HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH LOSS, HOWEVER CAUSED AND ON
|
||||
* ANY THEORY OF LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE
|
||||
* POSSESSION, USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
* See the GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with WritePad. If not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
**************************************************************************************/
|
||||
|
||||
#include <sys/time.h>
|
||||
#include <time.h>
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <math.h>
|
||||
|
||||
#include "InkWrapper.h"
|
||||
#include "RecognizerWrapper.h"
|
||||
|
||||
#include <iostream>
|
||||
|
||||
#define MAX_PATH 300
|
||||
|
||||
#define SEGMENT2 2
|
||||
#define SEGMENT3 3
|
||||
#define SEGMENT4 4
|
||||
|
||||
#define SEGMENT_DIST_1 3
|
||||
#define SEGMENT_DIST_2 6
|
||||
#define SEGMENT_DIST_3 12
|
||||
|
||||
static const char * USER_STATISTICS = "WritePad_Stat.lrn";
|
||||
static const char * USER_CORRECTOR = "WritePad_Corr.cwl";
|
||||
static const char * USER_DICTIONARY = "WritePad_User.dct";
|
||||
|
||||
static RECOGNIZER_PTR _recognizer = NULL;
|
||||
|
||||
static CGPoint _lastPoint = {0};
|
||||
static CGPoint _previousLocation = {0};
|
||||
static int strokeLen = 0;
|
||||
static int nStroke = 0;
|
||||
|
||||
static char _szPath[MAX_PATH] = "";
|
||||
|
||||
using namespace std;
|
||||
|
||||
static void recognizeCSVFile( const char * buffer );
|
||||
static int recognizerInit( int nLanguage, const char * path );
|
||||
static void freeRecognizer( void );
|
||||
|
||||
|
||||
int main(int argc, const char * argv[])
|
||||
{
|
||||
cout << "WritePad Recognizer Test" << endl; // prints WritePad Recognizer Test
|
||||
|
||||
if ( argc < 2 )
|
||||
{
|
||||
cout << "Usage: writepadreco <filename>" << endl;
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
cout << " Starting Task" << endl;
|
||||
|
||||
// read the entire file into a buffer
|
||||
char * buffer = NULL;
|
||||
const char * filename = argv[1];
|
||||
FILE * file = fopen( filename, "r" );
|
||||
if ( file != NULL )
|
||||
{
|
||||
fseek( file, 0, SEEK_END );
|
||||
size_t len = ftell( file );
|
||||
fseek( file, 0, SEEK_SET );
|
||||
if ( len > 1 )
|
||||
{
|
||||
buffer = (char *)malloc( len+4 );
|
||||
if( buffer != NULL )
|
||||
{
|
||||
if ( fread( buffer, sizeof( char ), len, file ) < 1 )
|
||||
{
|
||||
free( (void *)buffer );
|
||||
buffer = NULL;
|
||||
}
|
||||
}
|
||||
}
|
||||
fclose( file );
|
||||
}
|
||||
|
||||
if ( buffer != NULL )
|
||||
{
|
||||
int res = recognizerInit( LANGUAGE_ENGLISH, NULL );
|
||||
cout << "recognizerInit: FALGS " << res << endl;
|
||||
recognizeCSVFile( buffer );
|
||||
freeRecognizer();
|
||||
cout << endl << "Task has been completed!" << endl << endl;
|
||||
}
|
||||
else
|
||||
{
|
||||
cout << "File " << filename << " did not load. Try another file." << endl;
|
||||
}
|
||||
free( (void *)buffer );
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
static int AddPixelsX( CGFloat x, CGFloat y, INK_DATA_PTR iData, BOOL bLastPoint )
|
||||
// this method called from inkCollectorThread
|
||||
{
|
||||
CGFloat xNew, yNew, x1, y1;
|
||||
CGFloat nSeg = SEGMENT3;
|
||||
int i, nPoints = 0;
|
||||
CGFloat dx, dy;
|
||||
|
||||
if ( strokeLen < 1 )
|
||||
{
|
||||
INK_AddPixelToStroke( iData, nStroke, x, y, 127 );
|
||||
_lastPoint.x = x;
|
||||
_lastPoint.y = y;
|
||||
_previousLocation = _lastPoint;
|
||||
strokeLen = 1;
|
||||
return 1;
|
||||
}
|
||||
|
||||
dx = fabs( x - _lastPoint.x );
|
||||
dy = fabs( y - _lastPoint.y );
|
||||
|
||||
if ( dx + dy < 2.0f )
|
||||
return 0;
|
||||
|
||||
if ( dx + dy > 100.0f * SEGMENT_DIST_2 )
|
||||
return 0;
|
||||
|
||||
if ( (dx + dy) < SEGMENT_DIST_1 )
|
||||
{
|
||||
INK_AddPixelToStroke( iData, nStroke, x, y, 127 );
|
||||
_lastPoint.x = x;
|
||||
_lastPoint.y = y;
|
||||
_previousLocation = _lastPoint;
|
||||
strokeLen++;
|
||||
return 1;
|
||||
}
|
||||
|
||||
if ( (dx + dy) < SEGMENT_DIST_2 )
|
||||
{
|
||||
nSeg = SEGMENT2;
|
||||
}
|
||||
else if ( (dx + dy) >= SEGMENT_DIST_3 )
|
||||
{
|
||||
nSeg = SEGMENT4;
|
||||
}
|
||||
else
|
||||
{
|
||||
nSeg = SEGMENT3;
|
||||
}
|
||||
for ( i = 1; i < (int)nSeg; i++ )
|
||||
{
|
||||
x1 = _previousLocation.x + ((x - _previousLocation.x)*i ) / nSeg; //the point "to look at"
|
||||
y1 = _previousLocation.y + ((y - _previousLocation.y)*i ) / nSeg; //the point "to look at"
|
||||
|
||||
xNew = _lastPoint.x + (x1 - _lastPoint.x) / nSeg;
|
||||
yNew = _lastPoint.y + (y1 - _lastPoint.y) / nSeg;
|
||||
|
||||
if ( xNew != _lastPoint.x || yNew != _lastPoint.y )
|
||||
{
|
||||
INK_AddPixelToStroke( iData, nStroke, xNew, yNew, 127 );
|
||||
_lastPoint.x = xNew;
|
||||
_lastPoint.y = yNew;
|
||||
strokeLen++;
|
||||
nPoints++;
|
||||
}
|
||||
}
|
||||
|
||||
if ( bLastPoint )
|
||||
{
|
||||
// add last point
|
||||
if ( x != _lastPoint.x || y != _lastPoint.y )
|
||||
{
|
||||
INK_AddPixelToStroke( iData, nStroke, x, y, 127 );
|
||||
_lastPoint.x = x;
|
||||
_lastPoint.y = y;
|
||||
strokeLen++;
|
||||
nPoints++;
|
||||
}
|
||||
}
|
||||
|
||||
_previousLocation.x = x;
|
||||
_previousLocation.y = y;
|
||||
return nPoints;
|
||||
}
|
||||
|
||||
static const char * getNextToken( const char * buffer, int * pOffset, BOOL * endofrow, BOOL * endoffile )
|
||||
{
|
||||
char ch1, ch = 0;
|
||||
BOOL bQuotes = false;
|
||||
static char strToken[100];
|
||||
|
||||
*strToken = 0;
|
||||
*endofrow = false;
|
||||
*endoffile = false;
|
||||
while ( (ch = buffer[(*pOffset)++]) )
|
||||
{
|
||||
if ( bQuotes )
|
||||
{
|
||||
if ( ch == '\r' )
|
||||
continue;
|
||||
else if ( ch == '\"' )
|
||||
{
|
||||
ch1 = buffer[(*pOffset)++];
|
||||
if ( ch1 == '\"' )
|
||||
{
|
||||
strcat( strToken, "\"" );
|
||||
}
|
||||
else
|
||||
{
|
||||
(*pOffset)--;
|
||||
bQuotes = false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
char sz[2];
|
||||
sz[0] = ch; sz[1] = 0;
|
||||
strcat( strToken, sz );
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
if ( ch == '\r' )
|
||||
{
|
||||
// ignore \r
|
||||
}
|
||||
else if ( ch == '\n' )
|
||||
{
|
||||
// end or row
|
||||
*endofrow = true;
|
||||
break;
|
||||
}
|
||||
else if ( ch == '\"' )
|
||||
bQuotes = true;
|
||||
else if ( ch == ',' )
|
||||
break; // end of column
|
||||
else
|
||||
{
|
||||
char sz[2];
|
||||
sz[0] = ch; sz[1] = 0;
|
||||
strcat( strToken, sz );
|
||||
}
|
||||
}
|
||||
}
|
||||
if ( ch == 0 )
|
||||
{
|
||||
*endofrow = true;
|
||||
*endoffile = true;
|
||||
}
|
||||
return strToken;
|
||||
}
|
||||
|
||||
static bool recognizeInkData( INK_DATA_PTR inInkData, int iConfig )
|
||||
{
|
||||
const UCHR * recognizedText;
|
||||
|
||||
HWR_Reset( _recognizer );
|
||||
unsigned int flags = HWR_GetRecognitionFlags( _recognizer );
|
||||
flags &= ~FLAG_SINGLEWORDONLY;
|
||||
flags &= ~FLAG_SMOOTHSTROKES;
|
||||
// flags |= FLAG_STATICSEGMENT;
|
||||
if ( iConfig == 0 )
|
||||
{
|
||||
flags &= ~FLAG_SEPLET;
|
||||
flags &= ~FLAG_ONLYDICT;
|
||||
cout << "\n\nRecognition Configuration 1: FLAG_SEPLET - OFF, FLAG_ONLYDICT - OFF\n\n";
|
||||
}
|
||||
else if ( iConfig == 1 )
|
||||
{
|
||||
flags |= FLAG_SEPLET;
|
||||
flags &= ~FLAG_ONLYDICT;
|
||||
cout << "\n\nRecognition Configuration 2: FLAG_SEPLET - ON, FLAG_ONLYDICT - OFF\n\n";
|
||||
}
|
||||
else if ( iConfig == 2 )
|
||||
{
|
||||
flags &= ~FLAG_SEPLET;
|
||||
flags |= FLAG_ONLYDICT;
|
||||
cout << "\n\nRecognition Configuration 3: FLAG_SEPLET - OFF, FLAG_ONLYDICT - ON\n\n";
|
||||
}
|
||||
else if ( iConfig == 3 )
|
||||
{
|
||||
flags |= FLAG_SEPLET;
|
||||
flags |= FLAG_ONLYDICT;
|
||||
cout << "\n\nRecognition Configuration 4: FLAG_SEPLET - ON, FLAG_ONLYDICT - ON\n\n";
|
||||
}
|
||||
else if ( iConfig == 4 )
|
||||
{
|
||||
UCHR custpunct[] = { ',', '.', '!', '\'', '?', '\0' };
|
||||
flags |= FLAG_SEPLET;
|
||||
flags |= FLAG_ONLYDICT;
|
||||
flags |= FLAG_USECUSTOMPUNCT;
|
||||
HWR_SetCustomCharset( _recognizer, NULL, custpunct );
|
||||
cout << "\n\nRecognition Configuration 5: FLAG_SEPLET - ON, FLAG_ONLYDICT - ON, Custom punctuation.\n\n";
|
||||
}
|
||||
HWR_SetRecognitionFlags( _recognizer, flags );
|
||||
|
||||
recognizedText = HWR_RecognizeInkData( _recognizer, inInkData, 0, -1, true, false, false, false );
|
||||
if (recognizedText == NULL || *recognizedText == 0)
|
||||
return false;
|
||||
|
||||
int len2 = 0;
|
||||
for ( len2 = 0; len2 < 20000 && recognizedText[len2] != 0; len2++)
|
||||
;
|
||||
|
||||
char * string = (char *)malloc( len2 + 2 );
|
||||
if ( string != NULL )
|
||||
{
|
||||
char * p = string;
|
||||
for ( int i = 0; i < len2; i++ )
|
||||
{
|
||||
*p++ = (unsigned char)recognizedText[i];
|
||||
}
|
||||
*p = 0;
|
||||
|
||||
cout << string << endl;
|
||||
|
||||
free( (void *)string );
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
static void recognizeCSVFile( const char * buffer )
|
||||
{
|
||||
BOOL endofrow = false;
|
||||
BOOL endoffile = false;
|
||||
int i, offset = 0;
|
||||
int column = 0;
|
||||
CGFloat minX = 100000, minY = 100000;
|
||||
CGFloat maxX = 0, maxY = 0;
|
||||
CGRect rect;
|
||||
|
||||
INK_DATA_PTR iData = INK_InitData();
|
||||
|
||||
COLORREF coloref = 0;
|
||||
nStroke = INK_AddEmptyStroke( iData, 3, coloref );
|
||||
strokeLen = 0;
|
||||
|
||||
CGPoint pt = {0};
|
||||
while ( ! endoffile )
|
||||
{
|
||||
const char * strToken = getNextToken( buffer, &offset, &endofrow, &endoffile );
|
||||
if ( *strToken == 0 )
|
||||
{
|
||||
break;
|
||||
}
|
||||
if ( strlen( strToken ) > 0 )
|
||||
{
|
||||
switch( column )
|
||||
{
|
||||
case 0 :
|
||||
pt.x = atof( strToken );
|
||||
pt.x /= 2.0;
|
||||
if ( pt.x <= 0 )
|
||||
break;
|
||||
if ( pt.x < minX )
|
||||
minX = pt.x;
|
||||
if ( pt.x > maxX )
|
||||
maxX = pt.x;
|
||||
break;
|
||||
|
||||
case 1 :
|
||||
pt.y = atof( strToken );
|
||||
pt.y /= 2.0;
|
||||
if ( pt.y <= 0 )
|
||||
break;
|
||||
if ( pt.y < minY )
|
||||
minY = pt.y;
|
||||
if ( pt.y > maxY )
|
||||
maxY = pt.y;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
column++;
|
||||
if ( endofrow )
|
||||
{
|
||||
if ( pt.x == 0 || pt.y == 0 )
|
||||
{
|
||||
// skip this point
|
||||
}
|
||||
else if ( pt.x < 0 || pt.y < 0 )
|
||||
{
|
||||
if ( strokeLen > 0 )
|
||||
{
|
||||
|
||||
AddPixelsX( _previousLocation.x, _previousLocation.y, iData, true );
|
||||
nStroke = INK_AddEmptyStroke( iData, 3, coloref );
|
||||
strokeLen = 0;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
//INK_AddPixelToStroke( iData, nStroke, pt.x, pt.y, 127 );
|
||||
//strokeLen++;
|
||||
AddPixelsX( pt.x, pt.y, iData, false );
|
||||
}
|
||||
pt.x = pt.y = 0;
|
||||
column = 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
minX--;
|
||||
minY--;
|
||||
for ( i = 0; i < INK_StrokeCount( iData, false ); i++ )
|
||||
{
|
||||
INK_MoveStroke( iData, i, -minX, -minY, &rect, false );
|
||||
}
|
||||
|
||||
for ( i = 0; i < 5; i++ )
|
||||
{
|
||||
if ( ! recognizeInkData( iData, i ) )
|
||||
break;
|
||||
}
|
||||
|
||||
INK_FreeData( iData );
|
||||
}
|
||||
|
||||
static int recognizerInit( int nLanguage, const char * path )
|
||||
{
|
||||
char userDict[MAX_PATH];
|
||||
char mainDict[MAX_PATH];
|
||||
char learner[MAX_PATH];
|
||||
char corrector[MAX_PATH];
|
||||
|
||||
userDict[0] = 0;
|
||||
learner[0] = 0;
|
||||
corrector[0] = 0;
|
||||
mainDict[0] = 0;
|
||||
if (path != NULL && *path != 0 )
|
||||
{
|
||||
strcpy(_szPath, path);
|
||||
strcat(_szPath, "/");
|
||||
strcpy(userDict, _szPath);
|
||||
strcpy(learner, _szPath);
|
||||
strcpy(corrector, _szPath);
|
||||
}
|
||||
strcat(userDict, USER_DICTIONARY);
|
||||
strcat(learner, USER_STATISTICS);
|
||||
strcat(corrector, USER_CORRECTOR);
|
||||
|
||||
|
||||
if ( ! HWR_IsLanguageSupported( nLanguage ) )
|
||||
nLanguage = LANGUAGE_ENGLISH;
|
||||
|
||||
strcpy( mainDict, "Dictionaries/" );
|
||||
switch ( nLanguage )
|
||||
{
|
||||
case LANGUAGE_ENGLISH :
|
||||
strcat( mainDict, "English.dct" );
|
||||
break;
|
||||
|
||||
case LANGUAGE_GERMAN :
|
||||
strcat( mainDict, "German.dct" );
|
||||
break;
|
||||
|
||||
case LANGUAGE_FRENCH :
|
||||
strcat( mainDict, "French.dct" );
|
||||
break;
|
||||
|
||||
case LANGUAGE_ITALIAN :
|
||||
strcat( mainDict, "Italian.dct" );
|
||||
break;
|
||||
|
||||
case LANGUAGE_SPANISH :
|
||||
strcat( mainDict, "Spanish.dct" );
|
||||
break;
|
||||
|
||||
case LANGUAGE_SWEDISH :
|
||||
strcat( mainDict, "Swedish.dct" );
|
||||
break;
|
||||
|
||||
case LANGUAGE_NORWEGIAN :
|
||||
strcat( mainDict, "Norwegian.dct" );
|
||||
break;
|
||||
|
||||
case LANGUAGE_DUTCH :
|
||||
strcat( mainDict, "Dutch.dct" );
|
||||
break;
|
||||
|
||||
case LANGUAGE_DANISH :
|
||||
strcat( mainDict, "Danish.dct" );
|
||||
break;
|
||||
|
||||
case LANGUAGE_PORTUGUESE :
|
||||
strcat( mainDict, "Portuguese.dct" );
|
||||
break;
|
||||
|
||||
case LANGUAGE_PORTUGUESEB :
|
||||
strcat( mainDict, "Brazilian.dct" );
|
||||
break;
|
||||
|
||||
case LANGUAGE_FINNISH :
|
||||
strcat( mainDict, "Finnish.dct" );
|
||||
break;
|
||||
}
|
||||
|
||||
int flags = -1;
|
||||
_recognizer = HWR_InitRecognizer(mainDict, userDict, learner, corrector, nLanguage, &flags);
|
||||
if (NULL == _recognizer)
|
||||
return -1;
|
||||
return flags;
|
||||
}
|
||||
|
||||
static void freeRecognizer( void )
|
||||
{
|
||||
if (_recognizer != NULL)
|
||||
{
|
||||
if ( _szPath[0] == 0 )
|
||||
{
|
||||
HWR_FreeRecognizer(_recognizer, NULL, NULL, NULL );
|
||||
}
|
||||
else
|
||||
{
|
||||
char userDict[MAX_PATH];
|
||||
char learner[MAX_PATH];
|
||||
char corrector[MAX_PATH];
|
||||
|
||||
userDict[0] = 0;
|
||||
learner[0] = 0;
|
||||
corrector[0] = 0;
|
||||
strcpy(userDict, _szPath);
|
||||
strcpy(learner, _szPath);
|
||||
strcpy(corrector, _szPath);
|
||||
strcat(userDict, USER_DICTIONARY);
|
||||
strcat(learner, USER_STATISTICS);
|
||||
strcat(corrector, USER_CORRECTOR);
|
||||
|
||||
HWR_FreeRecognizer(_recognizer, userDict, learner, corrector);
|
||||
}
|
||||
_recognizer = NULL;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Executable
BIN
Binary file not shown.
@@ -0,0 +1,980 @@
|
||||
// !$*UTF8*$!
|
||||
{
|
||||
archiveVersion = 1;
|
||||
classes = {
|
||||
};
|
||||
objectVersion = 46;
|
||||
objects = {
|
||||
|
||||
/* Begin PBXBuildFile section */
|
||||
36123ED11D721704009F8BEA /* accents.h in Headers */ = {isa = PBXBuildFile; fileRef = 36123E9C1D721704009F8BEA /* accents.h */; };
|
||||
36123ED21D721704009F8BEA /* ams_mg.h in Headers */ = {isa = PBXBuildFile; fileRef = 36123E9D1D721704009F8BEA /* ams_mg.h */; };
|
||||
36123ED31D721704009F8BEA /* arcs.h in Headers */ = {isa = PBXBuildFile; fileRef = 36123E9E1D721704009F8BEA /* arcs.h */; };
|
||||
36123ED41D721704009F8BEA /* bastypes.h in Headers */ = {isa = PBXBuildFile; fileRef = 36123E9F1D721704009F8BEA /* bastypes.h */; };
|
||||
36123ED51D721704009F8BEA /* bit_mark.h in Headers */ = {isa = PBXBuildFile; fileRef = 36123EA01D721704009F8BEA /* bit_mark.h */; };
|
||||
36123ED61D721704009F8BEA /* bitmapco.h in Headers */ = {isa = PBXBuildFile; fileRef = 36123EA11D721704009F8BEA /* bitmapco.h */; };
|
||||
36123ED71D721704009F8BEA /* calcmacr.h in Headers */ = {isa = PBXBuildFile; fileRef = 36123EA21D721704009F8BEA /* calcmacr.h */; };
|
||||
36123ED81D721704009F8BEA /* const.h in Headers */ = {isa = PBXBuildFile; fileRef = 36123EA31D721704009F8BEA /* const.h */; };
|
||||
36123ED91D721704009F8BEA /* def.h in Headers */ = {isa = PBXBuildFile; fileRef = 36123EA41D721704009F8BEA /* def.h */; };
|
||||
36123EDA1D721704009F8BEA /* div_let.h in Headers */ = {isa = PBXBuildFile; fileRef = 36123EA51D721704009F8BEA /* div_let.h */; };
|
||||
36123EDB1D721704009F8BEA /* dscr.h in Headers */ = {isa = PBXBuildFile; fileRef = 36123EA61D721704009F8BEA /* dscr.h */; };
|
||||
36123EDC1D721704009F8BEA /* dti.h in Headers */ = {isa = PBXBuildFile; fileRef = 36123EA71D721704009F8BEA /* dti.h */; };
|
||||
36123EDD1D721704009F8BEA /* dti_lrn.h in Headers */ = {isa = PBXBuildFile; fileRef = 36123EA81D721704009F8BEA /* dti_lrn.h */; };
|
||||
36123EDE1D721704009F8BEA /* floats.h in Headers */ = {isa = PBXBuildFile; fileRef = 36123EA91D721704009F8BEA /* floats.h */; };
|
||||
36123EDF1D721704009F8BEA /* glob.h in Headers */ = {isa = PBXBuildFile; fileRef = 36123EAA1D721704009F8BEA /* glob.h */; };
|
||||
36123EE01D721704009F8BEA /* hwr_swap.h in Headers */ = {isa = PBXBuildFile; fileRef = 36123EAB1D721704009F8BEA /* hwr_swap.h */; };
|
||||
36123EE11D721704009F8BEA /* hwr_sys.h in Headers */ = {isa = PBXBuildFile; fileRef = 36123EAC1D721704009F8BEA /* hwr_sys.h */; };
|
||||
36123EE21D721704009F8BEA /* langutil.h in Headers */ = {isa = PBXBuildFile; fileRef = 36123EAD1D721704009F8BEA /* langutil.h */; };
|
||||
36123EE31D721704009F8BEA /* ldbtypes.h in Headers */ = {isa = PBXBuildFile; fileRef = 36123EAE1D721704009F8BEA /* ldbtypes.h */; };
|
||||
36123EE41D721704009F8BEA /* ldbutil.h in Headers */ = {isa = PBXBuildFile; fileRef = 36123EAF1D721704009F8BEA /* ldbutil.h */; };
|
||||
36123EE51D721704009F8BEA /* learn.h in Headers */ = {isa = PBXBuildFile; fileRef = 36123EB01D721704009F8BEA /* learn.h */; };
|
||||
36123EE61D721704009F8BEA /* ligstate.h in Headers */ = {isa = PBXBuildFile; fileRef = 36123EB11D721704009F8BEA /* ligstate.h */; };
|
||||
36123EE71D721704009F8BEA /* lk_code.h in Headers */ = {isa = PBXBuildFile; fileRef = 36123EB21D721704009F8BEA /* lk_code.h */; };
|
||||
36123EE81D721704009F8BEA /* lowlevel.h in Headers */ = {isa = PBXBuildFile; fileRef = 36123EB31D721704009F8BEA /* lowlevel.h */; };
|
||||
36123EE91D721704009F8BEA /* mlp.h in Headers */ = {isa = PBXBuildFile; fileRef = 36123EB41D721704009F8BEA /* mlp.h */; };
|
||||
36123EEA1D721704009F8BEA /* orto.h in Headers */ = {isa = PBXBuildFile; fileRef = 36123EB51D721704009F8BEA /* orto.h */; };
|
||||
36123EEB1D721704009F8BEA /* ortow.h in Headers */ = {isa = PBXBuildFile; fileRef = 36123EB61D721704009F8BEA /* ortow.h */; };
|
||||
36123EEC1D721704009F8BEA /* param.h in Headers */ = {isa = PBXBuildFile; fileRef = 36123EB71D721704009F8BEA /* param.h */; };
|
||||
36123EED1D721704009F8BEA /* polyco.h in Headers */ = {isa = PBXBuildFile; fileRef = 36123EB81D721704009F8BEA /* polyco.h */; };
|
||||
36123EEE1D721704009F8BEA /* post_cap_tbl.h in Headers */ = {isa = PBXBuildFile; fileRef = 36123EB91D721704009F8BEA /* post_cap_tbl.h */; };
|
||||
36123EEF1D721704009F8BEA /* post_capital.h in Headers */ = {isa = PBXBuildFile; fileRef = 36123EBA1D721704009F8BEA /* post_capital.h */; };
|
||||
36123EF01D721704009F8BEA /* precutil.h in Headers */ = {isa = PBXBuildFile; fileRef = 36123EBB1D721704009F8BEA /* precutil.h */; };
|
||||
36123EF11D721704009F8BEA /* pws.h in Headers */ = {isa = PBXBuildFile; fileRef = 36123EBC1D721704009F8BEA /* pws.h */; };
|
||||
36123EF21D721704009F8BEA /* pydict.h in Headers */ = {isa = PBXBuildFile; fileRef = 36123EBD1D721704009F8BEA /* pydict.h */; };
|
||||
36123EF31D721704009F8BEA /* pzdict.h in Headers */ = {isa = PBXBuildFile; fileRef = 36123EBE1D721704009F8BEA /* pzdict.h */; };
|
||||
36123EF41D721704009F8BEA /* reco.h in Headers */ = {isa = PBXBuildFile; fileRef = 36123EBF1D721704009F8BEA /* reco.h */; };
|
||||
36123EF51D721704009F8BEA /* reco_ver.h in Headers */ = {isa = PBXBuildFile; fileRef = 36123EC01D721704009F8BEA /* reco_ver.h */; };
|
||||
36123EF61D721704009F8BEA /* recokern.h in Headers */ = {isa = PBXBuildFile; fileRef = 36123EC11D721704009F8BEA /* recokern.h */; };
|
||||
36123EF71D721704009F8BEA /* recoutil.h in Headers */ = {isa = PBXBuildFile; fileRef = 36123EC21D721704009F8BEA /* recoutil.h */; };
|
||||
36123EF81D721704009F8BEA /* sketch.h in Headers */ = {isa = PBXBuildFile; fileRef = 36123EC31D721704009F8BEA /* sketch.h */; };
|
||||
36123EF91D721704009F8BEA /* snn.h in Headers */ = {isa = PBXBuildFile; fileRef = 36123EC41D721704009F8BEA /* snn.h */; };
|
||||
36123EFA1D721704009F8BEA /* stroke1.h in Headers */ = {isa = PBXBuildFile; fileRef = 36123EC51D721704009F8BEA /* stroke1.h */; };
|
||||
36123EFB1D721704009F8BEA /* triads.h in Headers */ = {isa = PBXBuildFile; fileRef = 36123EC61D721704009F8BEA /* triads.h */; };
|
||||
36123EFC1D721704009F8BEA /* vocutilp.h in Headers */ = {isa = PBXBuildFile; fileRef = 36123EC71D721704009F8BEA /* vocutilp.h */; };
|
||||
36123EFD1D721704009F8BEA /* ws.h in Headers */ = {isa = PBXBuildFile; fileRef = 36123EC81D721704009F8BEA /* ws.h */; };
|
||||
36123EFE1D721704009F8BEA /* ws_p.h in Headers */ = {isa = PBXBuildFile; fileRef = 36123EC91D721704009F8BEA /* ws_p.h */; };
|
||||
36123EFF1D721704009F8BEA /* xr_attr.h in Headers */ = {isa = PBXBuildFile; fileRef = 36123ECA1D721704009F8BEA /* xr_attr.h */; };
|
||||
36123F001D721704009F8BEA /* xr_names.h in Headers */ = {isa = PBXBuildFile; fileRef = 36123ECB1D721704009F8BEA /* xr_names.h */; };
|
||||
36123F011D721704009F8BEA /* xrlv.h in Headers */ = {isa = PBXBuildFile; fileRef = 36123ECC1D721704009F8BEA /* xrlv.h */; };
|
||||
36123F021D721704009F8BEA /* xrlv_p.h in Headers */ = {isa = PBXBuildFile; fileRef = 36123ECD1D721704009F8BEA /* xrlv_p.h */; };
|
||||
36123F031D721704009F8BEA /* xrwdict.h in Headers */ = {isa = PBXBuildFile; fileRef = 36123ECE1D721704009F8BEA /* xrwdict.h */; };
|
||||
36123F041D721704009F8BEA /* xrword.h in Headers */ = {isa = PBXBuildFile; fileRef = 36123ECF1D721704009F8BEA /* xrword.h */; };
|
||||
36123F051D721704009F8BEA /* zctype.h in Headers */ = {isa = PBXBuildFile; fileRef = 36123ED01D721704009F8BEA /* zctype.h */; };
|
||||
36123F421D721718009F8BEA /* angle.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 36123F061D721718009F8BEA /* angle.cpp */; };
|
||||
36123F431D721718009F8BEA /* apostroph.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 36123F071D721718009F8BEA /* apostroph.cpp */; };
|
||||
36123F441D721718009F8BEA /* arcs.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 36123F081D721718009F8BEA /* arcs.cpp */; };
|
||||
36123F451D721718009F8BEA /* bitmaps.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 36123F091D721718009F8BEA /* bitmaps.cpp */; };
|
||||
36123F461D721718009F8BEA /* breaks.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 36123F0A1D721718009F8BEA /* breaks.cpp */; };
|
||||
36123F471D721718009F8BEA /* calccell.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 36123F0B1D721718009F8BEA /* calccell.cpp */; };
|
||||
36123F481D721718009F8BEA /* check.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 36123F0C1D721718009F8BEA /* check.cpp */; };
|
||||
36123F491D721718009F8BEA /* circle.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 36123F0D1D721718009F8BEA /* circle.cpp */; };
|
||||
36123F4A1D721719009F8BEA /* connections.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 36123F0E1D721718009F8BEA /* connections.cpp */; };
|
||||
36123F4B1D721719009F8BEA /* convert.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 36123F0F1D721718009F8BEA /* convert.cpp */; };
|
||||
36123F4C1D721719009F8BEA /* cross.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 36123F101D721718009F8BEA /* cross.cpp */; };
|
||||
36123F4D1D721719009F8BEA /* cross_geometry.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 36123F111D721718009F8BEA /* cross_geometry.cpp */; };
|
||||
36123F4E1D721719009F8BEA /* dct_functions.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 36123F121D721718009F8BEA /* dct_functions.cpp */; };
|
||||
36123F4F1D721719009F8BEA /* dtiutil.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 36123F131D721718009F8BEA /* dtiutil.cpp */; };
|
||||
36123F501D721719009F8BEA /* filter.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 36123F141D721718009F8BEA /* filter.cpp */; };
|
||||
36123F511D721719009F8BEA /* hwrmath.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 36123F151D721718009F8BEA /* hwrmath.cpp */; };
|
||||
36123F521D721719009F8BEA /* hwrmem.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 36123F161D721718009F8BEA /* hwrmem.cpp */; };
|
||||
36123F531D721719009F8BEA /* hwrstr.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 36123F171D721718009F8BEA /* hwrstr.cpp */; };
|
||||
36123F541D721719009F8BEA /* hwrswap.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 36123F181D721718009F8BEA /* hwrswap.cpp */; };
|
||||
36123F551D721719009F8BEA /* hwrctype.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 36123F191D721718009F8BEA /* hwrctype.cpp */; };
|
||||
36123F561D721719009F8BEA /* langutil.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 36123F1A1D721718009F8BEA /* langutil.cpp */; };
|
||||
36123F571D721719009F8BEA /* ldbutil.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 36123F1B1D721718009F8BEA /* ldbutil.cpp */; };
|
||||
36123F581D721719009F8BEA /* ligstate.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 36123F1C1D721718009F8BEA /* ligstate.cpp */; };
|
||||
36123F591D721719009F8BEA /* link_begin.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 36123F1D1D721718009F8BEA /* link_begin.cpp */; };
|
||||
36123F5A1D721719009F8BEA /* letimagestodte.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 36123F1E1D721718009F8BEA /* letimagestodte.cpp */; };
|
||||
36123F5B1D721719009F8BEA /* link_next.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 36123F1F1D721718009F8BEA /* link_next.cpp */; };
|
||||
36123F5C1D721719009F8BEA /* links.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 36123F201D721718009F8BEA /* links.cpp */; };
|
||||
36123F5D1D721719009F8BEA /* low3.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 36123F211D721718009F8BEA /* low3.cpp */; };
|
||||
36123F5E1D721719009F8BEA /* low_data.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 36123F221D721718009F8BEA /* low_data.cpp */; };
|
||||
36123F5F1D721719009F8BEA /* low_level.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 36123F231D721718009F8BEA /* low_level.cpp */; };
|
||||
36123F601D721719009F8BEA /* low_util.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 36123F241D721718009F8BEA /* low_util.cpp */; };
|
||||
36123F611D721719009F8BEA /* luspecl.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 36123F251D721718009F8BEA /* luspecl.cpp */; };
|
||||
36123F621D721719009F8BEA /* mlp.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 36123F261D721718009F8BEA /* mlp.cpp */; };
|
||||
36123F631D721719009F8BEA /* newdict.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 36123F271D721718009F8BEA /* newdict.cpp */; };
|
||||
36123F641D721719009F8BEA /* param.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 36123F281D721718009F8BEA /* param.cpp */; };
|
||||
36123F651D721719009F8BEA /* pict.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 36123F291D721718009F8BEA /* pict.cpp */; };
|
||||
36123F661D721719009F8BEA /* poly.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 36123F2A1D721718009F8BEA /* poly.cpp */; };
|
||||
36123F671D721719009F8BEA /* post_cap_tbl.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 36123F2B1D721718009F8BEA /* post_cap_tbl.cpp */; };
|
||||
36123F681D721719009F8BEA /* post_capital.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 36123F2C1D721718009F8BEA /* post_capital.cpp */; };
|
||||
36123F691D721719009F8BEA /* precutil.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 36123F2D1D721718009F8BEA /* precutil.cpp */; };
|
||||
36123F6A1D721719009F8BEA /* prep.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 36123F2E1D721718009F8BEA /* prep.cpp */; };
|
||||
36123F6B1D721719009F8BEA /* reco.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 36123F2F1D721718009F8BEA /* reco.cpp */; };
|
||||
36123F6C1D721719009F8BEA /* recodict.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 36123F301D721718009F8BEA /* recodict.cpp */; };
|
||||
36123F6D1D721719009F8BEA /* recokern.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 36123F311D721718009F8BEA /* recokern.cpp */; };
|
||||
36123F6E1D721719009F8BEA /* recolibs.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 36123F321D721718009F8BEA /* recolibs.cpp */; };
|
||||
36123F6F1D721719009F8BEA /* recoutil.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 36123F331D721718009F8BEA /* recoutil.cpp */; };
|
||||
36123F701D721719009F8BEA /* sketch.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 36123F341D721718009F8BEA /* sketch.cpp */; };
|
||||
36123F711D721719009F8BEA /* spell.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 36123F351D721718009F8BEA /* spell.cpp */; };
|
||||
36123F721D721719009F8BEA /* stroke.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 36123F361D721718009F8BEA /* stroke.cpp */; };
|
||||
36123F731D721719009F8BEA /* stroke1.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 36123F371D721718009F8BEA /* stroke1.cpp */; };
|
||||
36123F741D721719009F8BEA /* tracedata.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 36123F381D721718009F8BEA /* tracedata.cpp */; };
|
||||
36123F751D721719009F8BEA /* triadsutil.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 36123F391D721718009F8BEA /* triadsutil.cpp */; };
|
||||
36123F761D721719009F8BEA /* utils.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 36123F3A1D721718009F8BEA /* utils.cpp */; };
|
||||
36123F771D721719009F8BEA /* wordbreaks.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 36123F3B1D721718009F8BEA /* wordbreaks.cpp */; };
|
||||
36123F781D721719009F8BEA /* wordcorrector.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 36123F3C1D721718009F8BEA /* wordcorrector.cpp */; };
|
||||
36123F791D721719009F8BEA /* worddict.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 36123F3D1D721718009F8BEA /* worddict.cpp */; };
|
||||
36123F7A1D721719009F8BEA /* wordsegment.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 36123F3E1D721718009F8BEA /* wordsegment.cpp */; };
|
||||
36123F7B1D721719009F8BEA /* xrattrib.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 36123F3F1D721718009F8BEA /* xrattrib.cpp */; };
|
||||
36123F7C1D721719009F8BEA /* xrdict.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 36123F401D721718009F8BEA /* xrdict.cpp */; };
|
||||
36123F7D1D721719009F8BEA /* xrmatrix.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 36123F411D721718009F8BEA /* xrmatrix.cpp */; };
|
||||
36123F7F1D721723009F8BEA /* langid.h in Headers */ = {isa = PBXBuildFile; fileRef = 36123F7E1D721723009F8BEA /* langid.h */; };
|
||||
3665376E19635F1B000F99BB /* gestures.h in Headers */ = {isa = PBXBuildFile; fileRef = 3665375719635F1B000F99BB /* gestures.h */; };
|
||||
3665376F19635F1B000F99BB /* InkWrapper.h in Headers */ = {isa = PBXBuildFile; fileRef = 3665375819635F1B000F99BB /* InkWrapper.h */; };
|
||||
3665377019635F1B000F99BB /* recodefs.h in Headers */ = {isa = PBXBuildFile; fileRef = 3665375919635F1B000F99BB /* recodefs.h */; };
|
||||
3665377119635F1B000F99BB /* RecognizerApi.h in Headers */ = {isa = PBXBuildFile; fileRef = 3665375A19635F1B000F99BB /* RecognizerApi.h */; };
|
||||
3665377219635F1B000F99BB /* RecognizerWrapper.h in Headers */ = {isa = PBXBuildFile; fileRef = 3665375B19635F1B000F99BB /* RecognizerWrapper.h */; };
|
||||
3665377319635F1B000F99BB /* recotypes.h in Headers */ = {isa = PBXBuildFile; fileRef = 3665375C19635F1B000F99BB /* recotypes.h */; };
|
||||
3665377419635F1B000F99BB /* CompressedStroke.h in Headers */ = {isa = PBXBuildFile; fileRef = 3665375E19635F1B000F99BB /* CompressedStroke.h */; };
|
||||
3665377519635F1B000F99BB /* ImageObject.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 3665375F19635F1B000F99BB /* ImageObject.cpp */; };
|
||||
3665377619635F1B000F99BB /* ImageObject.h in Headers */ = {isa = PBXBuildFile; fileRef = 3665376019635F1B000F99BB /* ImageObject.h */; };
|
||||
3665377719635F1B000F99BB /* InkData.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 3665376119635F1B000F99BB /* InkData.cpp */; };
|
||||
3665377819635F1B000F99BB /* InkData.h in Headers */ = {isa = PBXBuildFile; fileRef = 3665376219635F1B000F99BB /* InkData.h */; };
|
||||
3665377919635F1B000F99BB /* InkWrapper.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 3665376319635F1B000F99BB /* InkWrapper.cpp */; };
|
||||
3665377A19635F1B000F99BB /* PHStream.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 3665376419635F1B000F99BB /* PHStream.cpp */; };
|
||||
3665377B19635F1B000F99BB /* PHStream.h in Headers */ = {isa = PBXBuildFile; fileRef = 3665376519635F1B000F99BB /* PHStream.h */; };
|
||||
3665377C19635F1B000F99BB /* PHStroke.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 3665376619635F1B000F99BB /* PHStroke.cpp */; };
|
||||
3665377D19635F1B000F99BB /* PHStroke.h in Headers */ = {isa = PBXBuildFile; fileRef = 3665376719635F1B000F99BB /* PHStroke.h */; };
|
||||
3665377E19635F1B000F99BB /* ShapesRec.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 3665376819635F1B000F99BB /* ShapesRec.cpp */; };
|
||||
3665377F19635F1B000F99BB /* ShapesRec.h in Headers */ = {isa = PBXBuildFile; fileRef = 3665376919635F1B000F99BB /* ShapesRec.h */; };
|
||||
3665378019635F1B000F99BB /* TextObject.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 3665376A19635F1B000F99BB /* TextObject.cpp */; };
|
||||
3665378119635F1B000F99BB /* TextObject.h in Headers */ = {isa = PBXBuildFile; fileRef = 3665376B19635F1B000F99BB /* TextObject.h */; };
|
||||
3665378219635F1B000F99BB /* UndoAction.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 3665376C19635F1B000F99BB /* UndoAction.cpp */; };
|
||||
3665378319635F1B000F99BB /* UndoAction.h in Headers */ = {isa = PBXBuildFile; fileRef = 3665376D19635F1B000F99BB /* UndoAction.h */; };
|
||||
3665385E19635F35000F99BB /* dti_img.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 3665379A19635F35000F99BB /* dti_img.cpp */; };
|
||||
3665386719635F35000F99BB /* ldb_img.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 366537AB19635F35000F99BB /* ldb_img.cpp */; };
|
||||
3665386B19635F35000F99BB /* snn_img.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 366537B819635F35000F99BB /* snn_img.cpp */; };
|
||||
3665387419635F35000F99BB /* trd_img.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 366537C219635F35000F99BB /* trd_img.cpp */; };
|
||||
3665388319635F35000F99BB /* vprf_img.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 366537DF19635F35000F99BB /* vprf_img.cpp */; };
|
||||
3665388619635F35000F99BB /* vsuf_img.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 366537E219635F35000F99BB /* vsuf_img.cpp */; };
|
||||
3665391419635F40000F99BB /* gestures.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 3665390119635F40000F99BB /* gestures.cpp */; };
|
||||
3665391519635F40000F99BB /* InternalTypes.h in Headers */ = {isa = PBXBuildFile; fileRef = 3665390219635F40000F99BB /* InternalTypes.h */; };
|
||||
3665391619635F40000F99BB /* PhatCalc.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 3665390319635F40000F99BB /* PhatCalc.cpp */; };
|
||||
3665391719635F40000F99BB /* PhatCalc.h in Headers */ = {isa = PBXBuildFile; fileRef = 3665390419635F40000F99BB /* PhatCalc.h */; };
|
||||
3665391819635F40000F99BB /* PHTemplArray.h in Headers */ = {isa = PBXBuildFile; fileRef = 3665390519635F40000F99BB /* PHTemplArray.h */; };
|
||||
3665391919635F40000F99BB /* RecognizerWrapper.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 3665390619635F40000F99BB /* RecognizerWrapper.cpp */; };
|
||||
3665391A19635F40000F99BB /* WordFile.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 3665390719635F40000F99BB /* WordFile.cpp */; };
|
||||
3665391B19635F40000F99BB /* WordFile.h in Headers */ = {isa = PBXBuildFile; fileRef = 3665390819635F40000F99BB /* WordFile.h */; };
|
||||
3665391C19635F40000F99BB /* wordlist_dan.h in Headers */ = {isa = PBXBuildFile; fileRef = 3665390919635F40000F99BB /* wordlist_dan.h */; };
|
||||
3665391D19635F40000F99BB /* wordlist_dut.h in Headers */ = {isa = PBXBuildFile; fileRef = 3665390A19635F40000F99BB /* wordlist_dut.h */; };
|
||||
3665391E19635F40000F99BB /* wordlist_enu.h in Headers */ = {isa = PBXBuildFile; fileRef = 3665390B19635F40000F99BB /* wordlist_enu.h */; };
|
||||
3665391F19635F40000F99BB /* wordlist_frn.h in Headers */ = {isa = PBXBuildFile; fileRef = 3665390C19635F40000F99BB /* wordlist_frn.h */; };
|
||||
3665392019635F40000F99BB /* wordlist_ger.h in Headers */ = {isa = PBXBuildFile; fileRef = 3665390D19635F40000F99BB /* wordlist_ger.h */; };
|
||||
3665392119635F40000F99BB /* wordlist_itl.h in Headers */ = {isa = PBXBuildFile; fileRef = 3665390E19635F40000F99BB /* wordlist_itl.h */; };
|
||||
3665392219635F40000F99BB /* wordlist_pbr.h in Headers */ = {isa = PBXBuildFile; fileRef = 3665390F19635F40000F99BB /* wordlist_pbr.h */; };
|
||||
3665392319635F40000F99BB /* wordlist_prt.h in Headers */ = {isa = PBXBuildFile; fileRef = 3665391019635F40000F99BB /* wordlist_prt.h */; };
|
||||
3665392419635F40000F99BB /* wordlist_spn.h in Headers */ = {isa = PBXBuildFile; fileRef = 3665391119635F40000F99BB /* wordlist_spn.h */; };
|
||||
3665392519635F40000F99BB /* WordLrnFile.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 3665391219635F40000F99BB /* WordLrnFile.cpp */; };
|
||||
3665392619635F40000F99BB /* WordLrnFile.h in Headers */ = {isa = PBXBuildFile; fileRef = 3665391319635F40000F99BB /* WordLrnFile.h */; };
|
||||
/* End PBXBuildFile section */
|
||||
|
||||
/* Begin PBXFileReference section */
|
||||
36123E9C1D721704009F8BEA /* accents.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = accents.h; sourceTree = "<group>"; };
|
||||
36123E9D1D721704009F8BEA /* ams_mg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ams_mg.h; sourceTree = "<group>"; };
|
||||
36123E9E1D721704009F8BEA /* arcs.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = arcs.h; sourceTree = "<group>"; };
|
||||
36123E9F1D721704009F8BEA /* bastypes.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = bastypes.h; sourceTree = "<group>"; };
|
||||
36123EA01D721704009F8BEA /* bit_mark.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = bit_mark.h; sourceTree = "<group>"; };
|
||||
36123EA11D721704009F8BEA /* bitmapco.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = bitmapco.h; sourceTree = "<group>"; };
|
||||
36123EA21D721704009F8BEA /* calcmacr.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = calcmacr.h; sourceTree = "<group>"; };
|
||||
36123EA31D721704009F8BEA /* const.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = const.h; sourceTree = "<group>"; };
|
||||
36123EA41D721704009F8BEA /* def.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = def.h; sourceTree = "<group>"; };
|
||||
36123EA51D721704009F8BEA /* div_let.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = div_let.h; sourceTree = "<group>"; };
|
||||
36123EA61D721704009F8BEA /* dscr.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = dscr.h; sourceTree = "<group>"; };
|
||||
36123EA71D721704009F8BEA /* dti.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = dti.h; sourceTree = "<group>"; };
|
||||
36123EA81D721704009F8BEA /* dti_lrn.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = dti_lrn.h; sourceTree = "<group>"; };
|
||||
36123EA91D721704009F8BEA /* floats.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = floats.h; sourceTree = "<group>"; };
|
||||
36123EAA1D721704009F8BEA /* glob.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = glob.h; sourceTree = "<group>"; };
|
||||
36123EAB1D721704009F8BEA /* hwr_swap.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = hwr_swap.h; sourceTree = "<group>"; };
|
||||
36123EAC1D721704009F8BEA /* hwr_sys.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = hwr_sys.h; sourceTree = "<group>"; };
|
||||
36123EAD1D721704009F8BEA /* langutil.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = langutil.h; sourceTree = "<group>"; };
|
||||
36123EAE1D721704009F8BEA /* ldbtypes.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ldbtypes.h; sourceTree = "<group>"; };
|
||||
36123EAF1D721704009F8BEA /* ldbutil.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ldbutil.h; sourceTree = "<group>"; };
|
||||
36123EB01D721704009F8BEA /* learn.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = learn.h; sourceTree = "<group>"; };
|
||||
36123EB11D721704009F8BEA /* ligstate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ligstate.h; sourceTree = "<group>"; };
|
||||
36123EB21D721704009F8BEA /* lk_code.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = lk_code.h; sourceTree = "<group>"; };
|
||||
36123EB31D721704009F8BEA /* lowlevel.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = lowlevel.h; sourceTree = "<group>"; };
|
||||
36123EB41D721704009F8BEA /* mlp.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = mlp.h; sourceTree = "<group>"; };
|
||||
36123EB51D721704009F8BEA /* orto.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = orto.h; sourceTree = "<group>"; };
|
||||
36123EB61D721704009F8BEA /* ortow.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ortow.h; sourceTree = "<group>"; };
|
||||
36123EB71D721704009F8BEA /* param.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = param.h; sourceTree = "<group>"; };
|
||||
36123EB81D721704009F8BEA /* polyco.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = polyco.h; sourceTree = "<group>"; };
|
||||
36123EB91D721704009F8BEA /* post_cap_tbl.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = post_cap_tbl.h; sourceTree = "<group>"; };
|
||||
36123EBA1D721704009F8BEA /* post_capital.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = post_capital.h; sourceTree = "<group>"; };
|
||||
36123EBB1D721704009F8BEA /* precutil.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = precutil.h; sourceTree = "<group>"; };
|
||||
36123EBC1D721704009F8BEA /* pws.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = pws.h; sourceTree = "<group>"; };
|
||||
36123EBD1D721704009F8BEA /* pydict.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = pydict.h; sourceTree = "<group>"; };
|
||||
36123EBE1D721704009F8BEA /* pzdict.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = pzdict.h; sourceTree = "<group>"; };
|
||||
36123EBF1D721704009F8BEA /* reco.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = reco.h; sourceTree = "<group>"; };
|
||||
36123EC01D721704009F8BEA /* reco_ver.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = reco_ver.h; sourceTree = "<group>"; };
|
||||
36123EC11D721704009F8BEA /* recokern.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = recokern.h; sourceTree = "<group>"; };
|
||||
36123EC21D721704009F8BEA /* recoutil.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = recoutil.h; sourceTree = "<group>"; };
|
||||
36123EC31D721704009F8BEA /* sketch.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = sketch.h; sourceTree = "<group>"; };
|
||||
36123EC41D721704009F8BEA /* snn.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = snn.h; sourceTree = "<group>"; };
|
||||
36123EC51D721704009F8BEA /* stroke1.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = stroke1.h; sourceTree = "<group>"; };
|
||||
36123EC61D721704009F8BEA /* triads.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = triads.h; sourceTree = "<group>"; };
|
||||
36123EC71D721704009F8BEA /* vocutilp.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = vocutilp.h; sourceTree = "<group>"; };
|
||||
36123EC81D721704009F8BEA /* ws.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ws.h; sourceTree = "<group>"; };
|
||||
36123EC91D721704009F8BEA /* ws_p.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ws_p.h; sourceTree = "<group>"; };
|
||||
36123ECA1D721704009F8BEA /* xr_attr.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = xr_attr.h; sourceTree = "<group>"; };
|
||||
36123ECB1D721704009F8BEA /* xr_names.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = xr_names.h; sourceTree = "<group>"; };
|
||||
36123ECC1D721704009F8BEA /* xrlv.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = xrlv.h; sourceTree = "<group>"; };
|
||||
36123ECD1D721704009F8BEA /* xrlv_p.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = xrlv_p.h; sourceTree = "<group>"; };
|
||||
36123ECE1D721704009F8BEA /* xrwdict.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = xrwdict.h; sourceTree = "<group>"; };
|
||||
36123ECF1D721704009F8BEA /* xrword.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = xrword.h; sourceTree = "<group>"; };
|
||||
36123ED01D721704009F8BEA /* zctype.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = zctype.h; sourceTree = "<group>"; };
|
||||
36123F061D721718009F8BEA /* angle.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = angle.cpp; sourceTree = "<group>"; };
|
||||
36123F071D721718009F8BEA /* apostroph.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = apostroph.cpp; sourceTree = "<group>"; };
|
||||
36123F081D721718009F8BEA /* arcs.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = arcs.cpp; sourceTree = "<group>"; };
|
||||
36123F091D721718009F8BEA /* bitmaps.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = bitmaps.cpp; sourceTree = "<group>"; };
|
||||
36123F0A1D721718009F8BEA /* breaks.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = breaks.cpp; sourceTree = "<group>"; };
|
||||
36123F0B1D721718009F8BEA /* calccell.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = calccell.cpp; sourceTree = "<group>"; };
|
||||
36123F0C1D721718009F8BEA /* check.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = check.cpp; sourceTree = "<group>"; };
|
||||
36123F0D1D721718009F8BEA /* circle.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = circle.cpp; sourceTree = "<group>"; };
|
||||
36123F0E1D721718009F8BEA /* connections.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = connections.cpp; sourceTree = "<group>"; };
|
||||
36123F0F1D721718009F8BEA /* convert.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = convert.cpp; sourceTree = "<group>"; };
|
||||
36123F101D721718009F8BEA /* cross.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = cross.cpp; sourceTree = "<group>"; };
|
||||
36123F111D721718009F8BEA /* cross_geometry.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = cross_geometry.cpp; sourceTree = "<group>"; };
|
||||
36123F121D721718009F8BEA /* dct_functions.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = dct_functions.cpp; sourceTree = "<group>"; };
|
||||
36123F131D721718009F8BEA /* dtiutil.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = dtiutil.cpp; sourceTree = "<group>"; };
|
||||
36123F141D721718009F8BEA /* filter.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = filter.cpp; sourceTree = "<group>"; };
|
||||
36123F151D721718009F8BEA /* hwrmath.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = hwrmath.cpp; sourceTree = "<group>"; };
|
||||
36123F161D721718009F8BEA /* hwrmem.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = hwrmem.cpp; sourceTree = "<group>"; };
|
||||
36123F171D721718009F8BEA /* hwrstr.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = hwrstr.cpp; sourceTree = "<group>"; };
|
||||
36123F181D721718009F8BEA /* hwrswap.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = hwrswap.cpp; sourceTree = "<group>"; };
|
||||
36123F191D721718009F8BEA /* hwrctype.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = hwrctype.cpp; sourceTree = "<group>"; };
|
||||
36123F1A1D721718009F8BEA /* langutil.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = langutil.cpp; sourceTree = "<group>"; };
|
||||
36123F1B1D721718009F8BEA /* ldbutil.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = ldbutil.cpp; sourceTree = "<group>"; };
|
||||
36123F1C1D721718009F8BEA /* ligstate.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = ligstate.cpp; sourceTree = "<group>"; };
|
||||
36123F1D1D721718009F8BEA /* link_begin.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = link_begin.cpp; sourceTree = "<group>"; };
|
||||
36123F1E1D721718009F8BEA /* letimagestodte.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = letimagestodte.cpp; sourceTree = "<group>"; };
|
||||
36123F1F1D721718009F8BEA /* link_next.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = link_next.cpp; sourceTree = "<group>"; };
|
||||
36123F201D721718009F8BEA /* links.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = links.cpp; sourceTree = "<group>"; };
|
||||
36123F211D721718009F8BEA /* low3.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = low3.cpp; sourceTree = "<group>"; };
|
||||
36123F221D721718009F8BEA /* low_data.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = low_data.cpp; sourceTree = "<group>"; };
|
||||
36123F231D721718009F8BEA /* low_level.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = low_level.cpp; sourceTree = "<group>"; };
|
||||
36123F241D721718009F8BEA /* low_util.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = low_util.cpp; sourceTree = "<group>"; };
|
||||
36123F251D721718009F8BEA /* luspecl.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = luspecl.cpp; sourceTree = "<group>"; };
|
||||
36123F261D721718009F8BEA /* mlp.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = mlp.cpp; sourceTree = "<group>"; };
|
||||
36123F271D721718009F8BEA /* newdict.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = newdict.cpp; sourceTree = "<group>"; };
|
||||
36123F281D721718009F8BEA /* param.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = param.cpp; sourceTree = "<group>"; };
|
||||
36123F291D721718009F8BEA /* pict.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = pict.cpp; sourceTree = "<group>"; };
|
||||
36123F2A1D721718009F8BEA /* poly.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = poly.cpp; sourceTree = "<group>"; };
|
||||
36123F2B1D721718009F8BEA /* post_cap_tbl.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = post_cap_tbl.cpp; sourceTree = "<group>"; };
|
||||
36123F2C1D721718009F8BEA /* post_capital.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = post_capital.cpp; sourceTree = "<group>"; };
|
||||
36123F2D1D721718009F8BEA /* precutil.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = precutil.cpp; sourceTree = "<group>"; };
|
||||
36123F2E1D721718009F8BEA /* prep.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = prep.cpp; sourceTree = "<group>"; };
|
||||
36123F2F1D721718009F8BEA /* reco.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = reco.cpp; sourceTree = "<group>"; };
|
||||
36123F301D721718009F8BEA /* recodict.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = recodict.cpp; sourceTree = "<group>"; };
|
||||
36123F311D721718009F8BEA /* recokern.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = recokern.cpp; sourceTree = "<group>"; };
|
||||
36123F321D721718009F8BEA /* recolibs.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = recolibs.cpp; sourceTree = "<group>"; };
|
||||
36123F331D721718009F8BEA /* recoutil.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = recoutil.cpp; sourceTree = "<group>"; };
|
||||
36123F341D721718009F8BEA /* sketch.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = sketch.cpp; sourceTree = "<group>"; };
|
||||
36123F351D721718009F8BEA /* spell.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = spell.cpp; sourceTree = "<group>"; };
|
||||
36123F361D721718009F8BEA /* stroke.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = stroke.cpp; sourceTree = "<group>"; };
|
||||
36123F371D721718009F8BEA /* stroke1.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = stroke1.cpp; sourceTree = "<group>"; };
|
||||
36123F381D721718009F8BEA /* tracedata.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = tracedata.cpp; sourceTree = "<group>"; };
|
||||
36123F391D721718009F8BEA /* triadsutil.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = triadsutil.cpp; sourceTree = "<group>"; };
|
||||
36123F3A1D721718009F8BEA /* utils.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = utils.cpp; sourceTree = "<group>"; };
|
||||
36123F3B1D721718009F8BEA /* wordbreaks.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = wordbreaks.cpp; sourceTree = "<group>"; };
|
||||
36123F3C1D721718009F8BEA /* wordcorrector.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = wordcorrector.cpp; sourceTree = "<group>"; };
|
||||
36123F3D1D721718009F8BEA /* worddict.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = worddict.cpp; sourceTree = "<group>"; };
|
||||
36123F3E1D721718009F8BEA /* wordsegment.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = wordsegment.cpp; sourceTree = "<group>"; };
|
||||
36123F3F1D721718009F8BEA /* xrattrib.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = xrattrib.cpp; sourceTree = "<group>"; };
|
||||
36123F401D721718009F8BEA /* xrdict.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = xrdict.cpp; sourceTree = "<group>"; };
|
||||
36123F411D721718009F8BEA /* xrmatrix.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = xrmatrix.cpp; sourceTree = "<group>"; };
|
||||
36123F7E1D721723009F8BEA /* langid.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = langid.h; sourceTree = "<group>"; };
|
||||
3665374F19635EF2000F99BB /* libWritePadReco.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libWritePadReco.a; sourceTree = BUILT_PRODUCTS_DIR; };
|
||||
3665375719635F1B000F99BB /* gestures.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = gestures.h; sourceTree = "<group>"; };
|
||||
3665375819635F1B000F99BB /* InkWrapper.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = InkWrapper.h; sourceTree = "<group>"; };
|
||||
3665375919635F1B000F99BB /* recodefs.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = recodefs.h; sourceTree = "<group>"; };
|
||||
3665375A19635F1B000F99BB /* RecognizerApi.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RecognizerApi.h; sourceTree = "<group>"; };
|
||||
3665375B19635F1B000F99BB /* RecognizerWrapper.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RecognizerWrapper.h; sourceTree = "<group>"; };
|
||||
3665375C19635F1B000F99BB /* recotypes.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = recotypes.h; sourceTree = "<group>"; };
|
||||
3665375E19635F1B000F99BB /* CompressedStroke.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CompressedStroke.h; sourceTree = "<group>"; };
|
||||
3665375F19635F1B000F99BB /* ImageObject.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = ImageObject.cpp; sourceTree = "<group>"; };
|
||||
3665376019635F1B000F99BB /* ImageObject.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ImageObject.h; sourceTree = "<group>"; };
|
||||
3665376119635F1B000F99BB /* InkData.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = InkData.cpp; sourceTree = "<group>"; };
|
||||
3665376219635F1B000F99BB /* InkData.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = InkData.h; sourceTree = "<group>"; };
|
||||
3665376319635F1B000F99BB /* InkWrapper.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = InkWrapper.cpp; sourceTree = "<group>"; };
|
||||
3665376419635F1B000F99BB /* PHStream.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = PHStream.cpp; sourceTree = "<group>"; };
|
||||
3665376519635F1B000F99BB /* PHStream.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PHStream.h; sourceTree = "<group>"; };
|
||||
3665376619635F1B000F99BB /* PHStroke.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = PHStroke.cpp; sourceTree = "<group>"; };
|
||||
3665376719635F1B000F99BB /* PHStroke.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PHStroke.h; sourceTree = "<group>"; };
|
||||
3665376819635F1B000F99BB /* ShapesRec.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = ShapesRec.cpp; sourceTree = "<group>"; };
|
||||
3665376919635F1B000F99BB /* ShapesRec.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ShapesRec.h; sourceTree = "<group>"; };
|
||||
3665376A19635F1B000F99BB /* TextObject.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = TextObject.cpp; sourceTree = "<group>"; };
|
||||
3665376B19635F1B000F99BB /* TextObject.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = TextObject.h; sourceTree = "<group>"; };
|
||||
3665376C19635F1B000F99BB /* UndoAction.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = UndoAction.cpp; sourceTree = "<group>"; };
|
||||
3665376D19635F1B000F99BB /* UndoAction.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = UndoAction.h; sourceTree = "<group>"; };
|
||||
3665379A19635F35000F99BB /* dti_img.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = dti_img.cpp; sourceTree = "<group>"; };
|
||||
366537AB19635F35000F99BB /* ldb_img.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = ldb_img.cpp; sourceTree = "<group>"; };
|
||||
366537B819635F35000F99BB /* snn_img.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = snn_img.cpp; sourceTree = "<group>"; };
|
||||
366537C219635F35000F99BB /* trd_img.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = trd_img.cpp; sourceTree = "<group>"; };
|
||||
366537DF19635F35000F99BB /* vprf_img.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = vprf_img.cpp; sourceTree = "<group>"; };
|
||||
366537E219635F35000F99BB /* vsuf_img.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = vsuf_img.cpp; sourceTree = "<group>"; };
|
||||
3665390119635F40000F99BB /* gestures.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = gestures.cpp; sourceTree = "<group>"; };
|
||||
3665390219635F40000F99BB /* InternalTypes.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = InternalTypes.h; sourceTree = "<group>"; };
|
||||
3665390319635F40000F99BB /* PhatCalc.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = PhatCalc.cpp; sourceTree = "<group>"; };
|
||||
3665390419635F40000F99BB /* PhatCalc.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PhatCalc.h; sourceTree = "<group>"; };
|
||||
3665390519635F40000F99BB /* PHTemplArray.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PHTemplArray.h; sourceTree = "<group>"; };
|
||||
3665390619635F40000F99BB /* RecognizerWrapper.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = RecognizerWrapper.cpp; sourceTree = "<group>"; };
|
||||
3665390719635F40000F99BB /* WordFile.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = WordFile.cpp; sourceTree = "<group>"; };
|
||||
3665390819635F40000F99BB /* WordFile.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WordFile.h; sourceTree = "<group>"; };
|
||||
3665390919635F40000F99BB /* wordlist_dan.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = wordlist_dan.h; sourceTree = "<group>"; };
|
||||
3665390A19635F40000F99BB /* wordlist_dut.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = wordlist_dut.h; sourceTree = "<group>"; };
|
||||
3665390B19635F40000F99BB /* wordlist_enu.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = wordlist_enu.h; sourceTree = "<group>"; };
|
||||
3665390C19635F40000F99BB /* wordlist_frn.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = wordlist_frn.h; sourceTree = "<group>"; };
|
||||
3665390D19635F40000F99BB /* wordlist_ger.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = wordlist_ger.h; sourceTree = "<group>"; };
|
||||
3665390E19635F40000F99BB /* wordlist_itl.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = wordlist_itl.h; sourceTree = "<group>"; };
|
||||
3665390F19635F40000F99BB /* wordlist_pbr.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = wordlist_pbr.h; sourceTree = "<group>"; };
|
||||
3665391019635F40000F99BB /* wordlist_prt.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = wordlist_prt.h; sourceTree = "<group>"; };
|
||||
3665391119635F40000F99BB /* wordlist_spn.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = wordlist_spn.h; sourceTree = "<group>"; };
|
||||
3665391219635F40000F99BB /* WordLrnFile.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = WordLrnFile.cpp; sourceTree = "<group>"; };
|
||||
3665391319635F40000F99BB /* WordLrnFile.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WordLrnFile.h; sourceTree = "<group>"; };
|
||||
/* End PBXFileReference section */
|
||||
|
||||
/* Begin PBXFrameworksBuildPhase section */
|
||||
3665374C19635EF2000F99BB /* Frameworks */ = {
|
||||
isa = PBXFrameworksBuildPhase;
|
||||
buildActionMask = 2147483647;
|
||||
files = (
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
};
|
||||
/* End PBXFrameworksBuildPhase section */
|
||||
|
||||
/* Begin PBXGroup section */
|
||||
3665374619635EF2000F99BB = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
3665390019635F40000F99BB /* RecognizerWrapper */,
|
||||
3665379819635F35000F99BB /* reco */,
|
||||
3665375619635F1B000F99BB /* include */,
|
||||
3665375D19635F1B000F99BB /* InkData */,
|
||||
3665375019635EF2000F99BB /* Products */,
|
||||
);
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
3665375019635EF2000F99BB /* Products */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
3665374F19635EF2000F99BB /* libWritePadReco.a */,
|
||||
);
|
||||
name = Products;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
3665375619635F1B000F99BB /* include */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
3665375719635F1B000F99BB /* gestures.h */,
|
||||
3665375819635F1B000F99BB /* InkWrapper.h */,
|
||||
3665375919635F1B000F99BB /* recodefs.h */,
|
||||
36123F7E1D721723009F8BEA /* langid.h */,
|
||||
3665375A19635F1B000F99BB /* RecognizerApi.h */,
|
||||
3665375B19635F1B000F99BB /* RecognizerWrapper.h */,
|
||||
3665375C19635F1B000F99BB /* recotypes.h */,
|
||||
);
|
||||
name = include;
|
||||
path = ../../UniversalRecognizer/V300/include;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
3665375D19635F1B000F99BB /* InkData */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
3665375E19635F1B000F99BB /* CompressedStroke.h */,
|
||||
3665375F19635F1B000F99BB /* ImageObject.cpp */,
|
||||
3665376019635F1B000F99BB /* ImageObject.h */,
|
||||
3665376119635F1B000F99BB /* InkData.cpp */,
|
||||
3665376219635F1B000F99BB /* InkData.h */,
|
||||
3665376319635F1B000F99BB /* InkWrapper.cpp */,
|
||||
3665376419635F1B000F99BB /* PHStream.cpp */,
|
||||
3665376519635F1B000F99BB /* PHStream.h */,
|
||||
3665376619635F1B000F99BB /* PHStroke.cpp */,
|
||||
3665376719635F1B000F99BB /* PHStroke.h */,
|
||||
3665376819635F1B000F99BB /* ShapesRec.cpp */,
|
||||
3665376919635F1B000F99BB /* ShapesRec.h */,
|
||||
3665376A19635F1B000F99BB /* TextObject.cpp */,
|
||||
3665376B19635F1B000F99BB /* TextObject.h */,
|
||||
3665376C19635F1B000F99BB /* UndoAction.cpp */,
|
||||
3665376D19635F1B000F99BB /* UndoAction.h */,
|
||||
);
|
||||
name = InkData;
|
||||
path = ../../UniversalRecognizer/V300/InkData;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
3665379819635F35000F99BB /* reco */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
3665379919635F35000F99BB /* data */,
|
||||
366537E519635F35000F99BB /* include */,
|
||||
3665382019635F35000F99BB /* src */,
|
||||
);
|
||||
name = reco;
|
||||
path = ../../UniversalRecognizer/V300/reco;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
3665379919635F35000F99BB /* data */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
3665379A19635F35000F99BB /* dti_img.cpp */,
|
||||
366537AB19635F35000F99BB /* ldb_img.cpp */,
|
||||
366537B819635F35000F99BB /* snn_img.cpp */,
|
||||
366537C219635F35000F99BB /* trd_img.cpp */,
|
||||
366537DF19635F35000F99BB /* vprf_img.cpp */,
|
||||
366537E219635F35000F99BB /* vsuf_img.cpp */,
|
||||
);
|
||||
path = data;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
366537E519635F35000F99BB /* include */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
36123E9C1D721704009F8BEA /* accents.h */,
|
||||
36123E9D1D721704009F8BEA /* ams_mg.h */,
|
||||
36123E9E1D721704009F8BEA /* arcs.h */,
|
||||
36123E9F1D721704009F8BEA /* bastypes.h */,
|
||||
36123EA01D721704009F8BEA /* bit_mark.h */,
|
||||
36123EA11D721704009F8BEA /* bitmapco.h */,
|
||||
36123EA21D721704009F8BEA /* calcmacr.h */,
|
||||
36123EA31D721704009F8BEA /* const.h */,
|
||||
36123EA41D721704009F8BEA /* def.h */,
|
||||
36123EA51D721704009F8BEA /* div_let.h */,
|
||||
36123EA61D721704009F8BEA /* dscr.h */,
|
||||
36123EA71D721704009F8BEA /* dti.h */,
|
||||
36123EA81D721704009F8BEA /* dti_lrn.h */,
|
||||
36123EA91D721704009F8BEA /* floats.h */,
|
||||
36123EAA1D721704009F8BEA /* glob.h */,
|
||||
36123EAB1D721704009F8BEA /* hwr_swap.h */,
|
||||
36123EAC1D721704009F8BEA /* hwr_sys.h */,
|
||||
36123EAD1D721704009F8BEA /* langutil.h */,
|
||||
36123EAE1D721704009F8BEA /* ldbtypes.h */,
|
||||
36123EAF1D721704009F8BEA /* ldbutil.h */,
|
||||
36123EB01D721704009F8BEA /* learn.h */,
|
||||
36123EB11D721704009F8BEA /* ligstate.h */,
|
||||
36123EB21D721704009F8BEA /* lk_code.h */,
|
||||
36123EB31D721704009F8BEA /* lowlevel.h */,
|
||||
36123EB41D721704009F8BEA /* mlp.h */,
|
||||
36123EB51D721704009F8BEA /* orto.h */,
|
||||
36123EB61D721704009F8BEA /* ortow.h */,
|
||||
36123EB71D721704009F8BEA /* param.h */,
|
||||
36123EB81D721704009F8BEA /* polyco.h */,
|
||||
36123EB91D721704009F8BEA /* post_cap_tbl.h */,
|
||||
36123EBA1D721704009F8BEA /* post_capital.h */,
|
||||
36123EBB1D721704009F8BEA /* precutil.h */,
|
||||
36123EBC1D721704009F8BEA /* pws.h */,
|
||||
36123EBD1D721704009F8BEA /* pydict.h */,
|
||||
36123EBE1D721704009F8BEA /* pzdict.h */,
|
||||
36123EBF1D721704009F8BEA /* reco.h */,
|
||||
36123EC01D721704009F8BEA /* reco_ver.h */,
|
||||
36123EC11D721704009F8BEA /* recokern.h */,
|
||||
36123EC21D721704009F8BEA /* recoutil.h */,
|
||||
36123EC31D721704009F8BEA /* sketch.h */,
|
||||
36123EC41D721704009F8BEA /* snn.h */,
|
||||
36123EC51D721704009F8BEA /* stroke1.h */,
|
||||
36123EC61D721704009F8BEA /* triads.h */,
|
||||
36123EC71D721704009F8BEA /* vocutilp.h */,
|
||||
36123EC81D721704009F8BEA /* ws.h */,
|
||||
36123EC91D721704009F8BEA /* ws_p.h */,
|
||||
36123ECA1D721704009F8BEA /* xr_attr.h */,
|
||||
36123ECB1D721704009F8BEA /* xr_names.h */,
|
||||
36123ECC1D721704009F8BEA /* xrlv.h */,
|
||||
36123ECD1D721704009F8BEA /* xrlv_p.h */,
|
||||
36123ECE1D721704009F8BEA /* xrwdict.h */,
|
||||
36123ECF1D721704009F8BEA /* xrword.h */,
|
||||
36123ED01D721704009F8BEA /* zctype.h */,
|
||||
);
|
||||
path = include;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
3665382019635F35000F99BB /* src */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
36123F061D721718009F8BEA /* angle.cpp */,
|
||||
36123F071D721718009F8BEA /* apostroph.cpp */,
|
||||
36123F081D721718009F8BEA /* arcs.cpp */,
|
||||
36123F091D721718009F8BEA /* bitmaps.cpp */,
|
||||
36123F0A1D721718009F8BEA /* breaks.cpp */,
|
||||
36123F0B1D721718009F8BEA /* calccell.cpp */,
|
||||
36123F0C1D721718009F8BEA /* check.cpp */,
|
||||
36123F0D1D721718009F8BEA /* circle.cpp */,
|
||||
36123F0E1D721718009F8BEA /* connections.cpp */,
|
||||
36123F0F1D721718009F8BEA /* convert.cpp */,
|
||||
36123F101D721718009F8BEA /* cross.cpp */,
|
||||
36123F111D721718009F8BEA /* cross_geometry.cpp */,
|
||||
36123F121D721718009F8BEA /* dct_functions.cpp */,
|
||||
36123F131D721718009F8BEA /* dtiutil.cpp */,
|
||||
36123F141D721718009F8BEA /* filter.cpp */,
|
||||
36123F151D721718009F8BEA /* hwrmath.cpp */,
|
||||
36123F161D721718009F8BEA /* hwrmem.cpp */,
|
||||
36123F171D721718009F8BEA /* hwrstr.cpp */,
|
||||
36123F181D721718009F8BEA /* hwrswap.cpp */,
|
||||
36123F191D721718009F8BEA /* hwrctype.cpp */,
|
||||
36123F1A1D721718009F8BEA /* langutil.cpp */,
|
||||
36123F1B1D721718009F8BEA /* ldbutil.cpp */,
|
||||
36123F1C1D721718009F8BEA /* ligstate.cpp */,
|
||||
36123F1D1D721718009F8BEA /* link_begin.cpp */,
|
||||
36123F1E1D721718009F8BEA /* letimagestodte.cpp */,
|
||||
36123F1F1D721718009F8BEA /* link_next.cpp */,
|
||||
36123F201D721718009F8BEA /* links.cpp */,
|
||||
36123F211D721718009F8BEA /* low3.cpp */,
|
||||
36123F221D721718009F8BEA /* low_data.cpp */,
|
||||
36123F231D721718009F8BEA /* low_level.cpp */,
|
||||
36123F241D721718009F8BEA /* low_util.cpp */,
|
||||
36123F251D721718009F8BEA /* luspecl.cpp */,
|
||||
36123F261D721718009F8BEA /* mlp.cpp */,
|
||||
36123F271D721718009F8BEA /* newdict.cpp */,
|
||||
36123F281D721718009F8BEA /* param.cpp */,
|
||||
36123F291D721718009F8BEA /* pict.cpp */,
|
||||
36123F2A1D721718009F8BEA /* poly.cpp */,
|
||||
36123F2B1D721718009F8BEA /* post_cap_tbl.cpp */,
|
||||
36123F2C1D721718009F8BEA /* post_capital.cpp */,
|
||||
36123F2D1D721718009F8BEA /* precutil.cpp */,
|
||||
36123F2E1D721718009F8BEA /* prep.cpp */,
|
||||
36123F2F1D721718009F8BEA /* reco.cpp */,
|
||||
36123F301D721718009F8BEA /* recodict.cpp */,
|
||||
36123F311D721718009F8BEA /* recokern.cpp */,
|
||||
36123F321D721718009F8BEA /* recolibs.cpp */,
|
||||
36123F331D721718009F8BEA /* recoutil.cpp */,
|
||||
36123F341D721718009F8BEA /* sketch.cpp */,
|
||||
36123F351D721718009F8BEA /* spell.cpp */,
|
||||
36123F361D721718009F8BEA /* stroke.cpp */,
|
||||
36123F371D721718009F8BEA /* stroke1.cpp */,
|
||||
36123F381D721718009F8BEA /* tracedata.cpp */,
|
||||
36123F391D721718009F8BEA /* triadsutil.cpp */,
|
||||
36123F3A1D721718009F8BEA /* utils.cpp */,
|
||||
36123F3B1D721718009F8BEA /* wordbreaks.cpp */,
|
||||
36123F3C1D721718009F8BEA /* wordcorrector.cpp */,
|
||||
36123F3D1D721718009F8BEA /* worddict.cpp */,
|
||||
36123F3E1D721718009F8BEA /* wordsegment.cpp */,
|
||||
36123F3F1D721718009F8BEA /* xrattrib.cpp */,
|
||||
36123F401D721718009F8BEA /* xrdict.cpp */,
|
||||
36123F411D721718009F8BEA /* xrmatrix.cpp */,
|
||||
);
|
||||
path = src;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
3665390019635F40000F99BB /* RecognizerWrapper */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
3665390119635F40000F99BB /* gestures.cpp */,
|
||||
3665390219635F40000F99BB /* InternalTypes.h */,
|
||||
3665390319635F40000F99BB /* PhatCalc.cpp */,
|
||||
3665390419635F40000F99BB /* PhatCalc.h */,
|
||||
3665390519635F40000F99BB /* PHTemplArray.h */,
|
||||
3665390619635F40000F99BB /* RecognizerWrapper.cpp */,
|
||||
3665390719635F40000F99BB /* WordFile.cpp */,
|
||||
3665390819635F40000F99BB /* WordFile.h */,
|
||||
3665390919635F40000F99BB /* wordlist_dan.h */,
|
||||
3665390A19635F40000F99BB /* wordlist_dut.h */,
|
||||
3665390B19635F40000F99BB /* wordlist_enu.h */,
|
||||
3665390C19635F40000F99BB /* wordlist_frn.h */,
|
||||
3665390D19635F40000F99BB /* wordlist_ger.h */,
|
||||
3665390E19635F40000F99BB /* wordlist_itl.h */,
|
||||
3665390F19635F40000F99BB /* wordlist_pbr.h */,
|
||||
3665391019635F40000F99BB /* wordlist_prt.h */,
|
||||
3665391119635F40000F99BB /* wordlist_spn.h */,
|
||||
3665391219635F40000F99BB /* WordLrnFile.cpp */,
|
||||
3665391319635F40000F99BB /* WordLrnFile.h */,
|
||||
);
|
||||
name = RecognizerWrapper;
|
||||
path = ../../UniversalRecognizer/V300/RecognizerWrapper;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
/* End PBXGroup section */
|
||||
|
||||
/* Begin PBXHeadersBuildPhase section */
|
||||
3665374D19635EF2000F99BB /* Headers */ = {
|
||||
isa = PBXHeadersBuildPhase;
|
||||
buildActionMask = 2147483647;
|
||||
files = (
|
||||
3665391719635F40000F99BB /* PhatCalc.h in Headers */,
|
||||
36123EF31D721704009F8BEA /* pzdict.h in Headers */,
|
||||
3665391E19635F40000F99BB /* wordlist_enu.h in Headers */,
|
||||
3665391D19635F40000F99BB /* wordlist_dut.h in Headers */,
|
||||
36123F041D721704009F8BEA /* xrword.h in Headers */,
|
||||
36123EE01D721704009F8BEA /* hwr_swap.h in Headers */,
|
||||
36123EFE1D721704009F8BEA /* ws_p.h in Headers */,
|
||||
36123EF41D721704009F8BEA /* reco.h in Headers */,
|
||||
36123ED61D721704009F8BEA /* bitmapco.h in Headers */,
|
||||
36123EDD1D721704009F8BEA /* dti_lrn.h in Headers */,
|
||||
36123EEC1D721704009F8BEA /* param.h in Headers */,
|
||||
3665376E19635F1B000F99BB /* gestures.h in Headers */,
|
||||
3665391C19635F40000F99BB /* wordlist_dan.h in Headers */,
|
||||
36123EE51D721704009F8BEA /* learn.h in Headers */,
|
||||
3665377019635F1B000F99BB /* recodefs.h in Headers */,
|
||||
36123EEF1D721704009F8BEA /* post_capital.h in Headers */,
|
||||
36123EE81D721704009F8BEA /* lowlevel.h in Headers */,
|
||||
36123EF21D721704009F8BEA /* pydict.h in Headers */,
|
||||
36123F001D721704009F8BEA /* xr_names.h in Headers */,
|
||||
3665391F19635F40000F99BB /* wordlist_frn.h in Headers */,
|
||||
36123F021D721704009F8BEA /* xrlv_p.h in Headers */,
|
||||
3665378119635F1B000F99BB /* TextObject.h in Headers */,
|
||||
36123EFA1D721704009F8BEA /* stroke1.h in Headers */,
|
||||
3665392619635F40000F99BB /* WordLrnFile.h in Headers */,
|
||||
3665377219635F1B000F99BB /* RecognizerWrapper.h in Headers */,
|
||||
36123EF51D721704009F8BEA /* reco_ver.h in Headers */,
|
||||
3665391819635F40000F99BB /* PHTemplArray.h in Headers */,
|
||||
36123EDC1D721704009F8BEA /* dti.h in Headers */,
|
||||
36123ED81D721704009F8BEA /* const.h in Headers */,
|
||||
36123EF91D721704009F8BEA /* snn.h in Headers */,
|
||||
36123EFD1D721704009F8BEA /* ws.h in Headers */,
|
||||
36123ED41D721704009F8BEA /* bastypes.h in Headers */,
|
||||
3665392019635F40000F99BB /* wordlist_ger.h in Headers */,
|
||||
3665392319635F40000F99BB /* wordlist_prt.h in Headers */,
|
||||
36123EE11D721704009F8BEA /* hwr_sys.h in Headers */,
|
||||
3665392119635F40000F99BB /* wordlist_itl.h in Headers */,
|
||||
36123EDE1D721704009F8BEA /* floats.h in Headers */,
|
||||
3665377319635F1B000F99BB /* recotypes.h in Headers */,
|
||||
3665392219635F40000F99BB /* wordlist_pbr.h in Headers */,
|
||||
36123EED1D721704009F8BEA /* polyco.h in Headers */,
|
||||
3665377B19635F1B000F99BB /* PHStream.h in Headers */,
|
||||
36123EDF1D721704009F8BEA /* glob.h in Headers */,
|
||||
36123ED71D721704009F8BEA /* calcmacr.h in Headers */,
|
||||
36123EFC1D721704009F8BEA /* vocutilp.h in Headers */,
|
||||
36123EF01D721704009F8BEA /* precutil.h in Headers */,
|
||||
36123ED51D721704009F8BEA /* bit_mark.h in Headers */,
|
||||
3665378319635F1B000F99BB /* UndoAction.h in Headers */,
|
||||
36123ED21D721704009F8BEA /* ams_mg.h in Headers */,
|
||||
36123EE91D721704009F8BEA /* mlp.h in Headers */,
|
||||
3665377419635F1B000F99BB /* CompressedStroke.h in Headers */,
|
||||
36123EF11D721704009F8BEA /* pws.h in Headers */,
|
||||
3665391B19635F40000F99BB /* WordFile.h in Headers */,
|
||||
36123EDB1D721704009F8BEA /* dscr.h in Headers */,
|
||||
36123EFB1D721704009F8BEA /* triads.h in Headers */,
|
||||
36123EDA1D721704009F8BEA /* div_let.h in Headers */,
|
||||
36123ED91D721704009F8BEA /* def.h in Headers */,
|
||||
36123ED11D721704009F8BEA /* accents.h in Headers */,
|
||||
36123EF81D721704009F8BEA /* sketch.h in Headers */,
|
||||
36123EE31D721704009F8BEA /* ldbtypes.h in Headers */,
|
||||
36123EE21D721704009F8BEA /* langutil.h in Headers */,
|
||||
36123ED31D721704009F8BEA /* arcs.h in Headers */,
|
||||
36123EEE1D721704009F8BEA /* post_cap_tbl.h in Headers */,
|
||||
36123EFF1D721704009F8BEA /* xr_attr.h in Headers */,
|
||||
36123F011D721704009F8BEA /* xrlv.h in Headers */,
|
||||
36123EEB1D721704009F8BEA /* ortow.h in Headers */,
|
||||
3665377619635F1B000F99BB /* ImageObject.h in Headers */,
|
||||
36123EE61D721704009F8BEA /* ligstate.h in Headers */,
|
||||
3665377F19635F1B000F99BB /* ShapesRec.h in Headers */,
|
||||
3665391519635F40000F99BB /* InternalTypes.h in Headers */,
|
||||
36123EF71D721704009F8BEA /* recoutil.h in Headers */,
|
||||
3665377D19635F1B000F99BB /* PHStroke.h in Headers */,
|
||||
3665392419635F40000F99BB /* wordlist_spn.h in Headers */,
|
||||
3665377819635F1B000F99BB /* InkData.h in Headers */,
|
||||
36123EE71D721704009F8BEA /* lk_code.h in Headers */,
|
||||
36123EF61D721704009F8BEA /* recokern.h in Headers */,
|
||||
3665376F19635F1B000F99BB /* InkWrapper.h in Headers */,
|
||||
36123F031D721704009F8BEA /* xrwdict.h in Headers */,
|
||||
36123F7F1D721723009F8BEA /* langid.h in Headers */,
|
||||
36123F051D721704009F8BEA /* zctype.h in Headers */,
|
||||
3665377119635F1B000F99BB /* RecognizerApi.h in Headers */,
|
||||
36123EEA1D721704009F8BEA /* orto.h in Headers */,
|
||||
36123EE41D721704009F8BEA /* ldbutil.h in Headers */,
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
};
|
||||
/* End PBXHeadersBuildPhase section */
|
||||
|
||||
/* Begin PBXNativeTarget section */
|
||||
3665374E19635EF2000F99BB /* WritePadSDK-OSX */ = {
|
||||
isa = PBXNativeTarget;
|
||||
buildConfigurationList = 3665375319635EF2000F99BB /* Build configuration list for PBXNativeTarget "WritePadSDK-OSX" */;
|
||||
buildPhases = (
|
||||
3665374B19635EF2000F99BB /* Sources */,
|
||||
3665374C19635EF2000F99BB /* Frameworks */,
|
||||
3665374D19635EF2000F99BB /* Headers */,
|
||||
);
|
||||
buildRules = (
|
||||
);
|
||||
dependencies = (
|
||||
);
|
||||
name = "WritePadSDK-OSX";
|
||||
productName = "WritePadSDK-OSX";
|
||||
productReference = 3665374F19635EF2000F99BB /* libWritePadReco.a */;
|
||||
productType = "com.apple.product-type.library.static";
|
||||
};
|
||||
/* End PBXNativeTarget section */
|
||||
|
||||
/* Begin PBXProject section */
|
||||
3665374719635EF2000F99BB /* Project object */ = {
|
||||
isa = PBXProject;
|
||||
attributes = {
|
||||
LastUpgradeCheck = 0800;
|
||||
ORGANIZATIONNAME = "PhatWare Corp.";
|
||||
};
|
||||
buildConfigurationList = 3665374A19635EF2000F99BB /* Build configuration list for PBXProject "WritePadSDK-OSX" */;
|
||||
compatibilityVersion = "Xcode 3.2";
|
||||
developmentRegion = English;
|
||||
hasScannedForEncodings = 0;
|
||||
knownRegions = (
|
||||
en,
|
||||
);
|
||||
mainGroup = 3665374619635EF2000F99BB;
|
||||
productRefGroup = 3665375019635EF2000F99BB /* Products */;
|
||||
projectDirPath = "";
|
||||
projectRoot = "";
|
||||
targets = (
|
||||
3665374E19635EF2000F99BB /* WritePadSDK-OSX */,
|
||||
);
|
||||
};
|
||||
/* End PBXProject section */
|
||||
|
||||
/* Begin PBXSourcesBuildPhase section */
|
||||
3665374B19635EF2000F99BB /* Sources */ = {
|
||||
isa = PBXSourcesBuildPhase;
|
||||
buildActionMask = 2147483647;
|
||||
files = (
|
||||
3665377719635F1B000F99BB /* InkData.cpp in Sources */,
|
||||
36123F501D721719009F8BEA /* filter.cpp in Sources */,
|
||||
36123F5F1D721719009F8BEA /* low_level.cpp in Sources */,
|
||||
3665391619635F40000F99BB /* PhatCalc.cpp in Sources */,
|
||||
36123F451D721718009F8BEA /* bitmaps.cpp in Sources */,
|
||||
36123F661D721719009F8BEA /* poly.cpp in Sources */,
|
||||
36123F461D721718009F8BEA /* breaks.cpp in Sources */,
|
||||
36123F551D721719009F8BEA /* hwrctype.cpp in Sources */,
|
||||
36123F6C1D721719009F8BEA /* recodict.cpp in Sources */,
|
||||
36123F741D721719009F8BEA /* tracedata.cpp in Sources */,
|
||||
36123F6A1D721719009F8BEA /* prep.cpp in Sources */,
|
||||
36123F591D721719009F8BEA /* link_begin.cpp in Sources */,
|
||||
3665377A19635F1B000F99BB /* PHStream.cpp in Sources */,
|
||||
36123F7C1D721719009F8BEA /* xrdict.cpp in Sources */,
|
||||
36123F6D1D721719009F8BEA /* recokern.cpp in Sources */,
|
||||
36123F5E1D721719009F8BEA /* low_data.cpp in Sources */,
|
||||
36123F4F1D721719009F8BEA /* dtiutil.cpp in Sources */,
|
||||
36123F531D721719009F8BEA /* hwrstr.cpp in Sources */,
|
||||
36123F6E1D721719009F8BEA /* recolibs.cpp in Sources */,
|
||||
3665377E19635F1B000F99BB /* ShapesRec.cpp in Sources */,
|
||||
36123F7B1D721719009F8BEA /* xrattrib.cpp in Sources */,
|
||||
36123F481D721718009F8BEA /* check.cpp in Sources */,
|
||||
36123F601D721719009F8BEA /* low_util.cpp in Sources */,
|
||||
3665387419635F35000F99BB /* trd_img.cpp in Sources */,
|
||||
3665378219635F1B000F99BB /* UndoAction.cpp in Sources */,
|
||||
36123F561D721719009F8BEA /* langutil.cpp in Sources */,
|
||||
3665386719635F35000F99BB /* ldb_img.cpp in Sources */,
|
||||
36123F471D721718009F8BEA /* calccell.cpp in Sources */,
|
||||
36123F701D721719009F8BEA /* sketch.cpp in Sources */,
|
||||
3665391419635F40000F99BB /* gestures.cpp in Sources */,
|
||||
3665378019635F1B000F99BB /* TextObject.cpp in Sources */,
|
||||
36123F521D721719009F8BEA /* hwrmem.cpp in Sources */,
|
||||
36123F771D721719009F8BEA /* wordbreaks.cpp in Sources */,
|
||||
36123F641D721719009F8BEA /* param.cpp in Sources */,
|
||||
36123F7D1D721719009F8BEA /* xrmatrix.cpp in Sources */,
|
||||
36123F571D721719009F8BEA /* ldbutil.cpp in Sources */,
|
||||
36123F631D721719009F8BEA /* newdict.cpp in Sources */,
|
||||
3665377C19635F1B000F99BB /* PHStroke.cpp in Sources */,
|
||||
3665388619635F35000F99BB /* vsuf_img.cpp in Sources */,
|
||||
36123F651D721719009F8BEA /* pict.cpp in Sources */,
|
||||
36123F431D721718009F8BEA /* apostroph.cpp in Sources */,
|
||||
3665391A19635F40000F99BB /* WordFile.cpp in Sources */,
|
||||
36123F7A1D721719009F8BEA /* wordsegment.cpp in Sources */,
|
||||
3665385E19635F35000F99BB /* dti_img.cpp in Sources */,
|
||||
36123F5D1D721719009F8BEA /* low3.cpp in Sources */,
|
||||
36123F4C1D721719009F8BEA /* cross.cpp in Sources */,
|
||||
36123F421D721718009F8BEA /* angle.cpp in Sources */,
|
||||
36123F781D721719009F8BEA /* wordcorrector.cpp in Sources */,
|
||||
36123F541D721719009F8BEA /* hwrswap.cpp in Sources */,
|
||||
36123F621D721719009F8BEA /* mlp.cpp in Sources */,
|
||||
3665388319635F35000F99BB /* vprf_img.cpp in Sources */,
|
||||
36123F4E1D721719009F8BEA /* dct_functions.cpp in Sources */,
|
||||
3665391919635F40000F99BB /* RecognizerWrapper.cpp in Sources */,
|
||||
36123F791D721719009F8BEA /* worddict.cpp in Sources */,
|
||||
36123F491D721718009F8BEA /* circle.cpp in Sources */,
|
||||
3665377919635F1B000F99BB /* InkWrapper.cpp in Sources */,
|
||||
36123F5A1D721719009F8BEA /* letimagestodte.cpp in Sources */,
|
||||
36123F6F1D721719009F8BEA /* recoutil.cpp in Sources */,
|
||||
36123F761D721719009F8BEA /* utils.cpp in Sources */,
|
||||
36123F5C1D721719009F8BEA /* links.cpp in Sources */,
|
||||
36123F691D721719009F8BEA /* precutil.cpp in Sources */,
|
||||
36123F4B1D721719009F8BEA /* convert.cpp in Sources */,
|
||||
36123F4A1D721719009F8BEA /* connections.cpp in Sources */,
|
||||
36123F511D721719009F8BEA /* hwrmath.cpp in Sources */,
|
||||
36123F721D721719009F8BEA /* stroke.cpp in Sources */,
|
||||
36123F581D721719009F8BEA /* ligstate.cpp in Sources */,
|
||||
36123F6B1D721719009F8BEA /* reco.cpp in Sources */,
|
||||
36123F731D721719009F8BEA /* stroke1.cpp in Sources */,
|
||||
36123F5B1D721719009F8BEA /* link_next.cpp in Sources */,
|
||||
36123F4D1D721719009F8BEA /* cross_geometry.cpp in Sources */,
|
||||
36123F611D721719009F8BEA /* luspecl.cpp in Sources */,
|
||||
36123F441D721718009F8BEA /* arcs.cpp in Sources */,
|
||||
3665386B19635F35000F99BB /* snn_img.cpp in Sources */,
|
||||
36123F681D721719009F8BEA /* post_capital.cpp in Sources */,
|
||||
3665392519635F40000F99BB /* WordLrnFile.cpp in Sources */,
|
||||
36123F751D721719009F8BEA /* triadsutil.cpp in Sources */,
|
||||
36123F671D721719009F8BEA /* post_cap_tbl.cpp in Sources */,
|
||||
3665377519635F1B000F99BB /* ImageObject.cpp in Sources */,
|
||||
36123F711D721719009F8BEA /* spell.cpp in Sources */,
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
};
|
||||
/* End PBXSourcesBuildPhase section */
|
||||
|
||||
/* Begin XCBuildConfiguration section */
|
||||
3665375119635EF2000F99BB /* Debug */ = {
|
||||
isa = XCBuildConfiguration;
|
||||
buildSettings = {
|
||||
ALWAYS_SEARCH_USER_PATHS = NO;
|
||||
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
|
||||
CLANG_CXX_LIBRARY = "libc++";
|
||||
CLANG_ENABLE_MODULES = YES;
|
||||
CLANG_ENABLE_OBJC_ARC = YES;
|
||||
CLANG_WARN_BOOL_CONVERSION = YES;
|
||||
CLANG_WARN_CONSTANT_CONVERSION = YES;
|
||||
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
|
||||
CLANG_WARN_EMPTY_BODY = YES;
|
||||
CLANG_WARN_ENUM_CONVERSION = YES;
|
||||
CLANG_WARN_INFINITE_RECURSION = YES;
|
||||
CLANG_WARN_INT_CONVERSION = YES;
|
||||
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
|
||||
CLANG_WARN_SUSPICIOUS_MOVE = YES;
|
||||
CLANG_WARN_UNREACHABLE_CODE = YES;
|
||||
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
|
||||
COPY_PHASE_STRIP = NO;
|
||||
ENABLE_STRICT_OBJC_MSGSEND = YES;
|
||||
ENABLE_TESTABILITY = YES;
|
||||
GCC_C_LANGUAGE_STANDARD = gnu99;
|
||||
GCC_DYNAMIC_NO_PIC = NO;
|
||||
GCC_ENABLE_OBJC_EXCEPTIONS = YES;
|
||||
GCC_NO_COMMON_BLOCKS = YES;
|
||||
GCC_OPTIMIZATION_LEVEL = 0;
|
||||
GCC_PREPROCESSOR_DEFINITIONS = (
|
||||
LANG_NORW,
|
||||
LANG_DAN,
|
||||
LANG_SWED,
|
||||
LANG_FINNISH,
|
||||
LANG_PORTUGUESEB,
|
||||
LANG_PORTUGUESE,
|
||||
LANG_GERMAN,
|
||||
LANG_ITALIAN,
|
||||
LANG_SPANISH,
|
||||
LANG_DUTCH,
|
||||
LANG_FRENCH,
|
||||
LANG_INDONESIAN,
|
||||
LANG_ENGLISHUK,
|
||||
LANG_ENGLISH,
|
||||
RECODICT,
|
||||
_EMBEDDED_DEVICE,
|
||||
"HWR_SYSTEM=HWR_LINUX",
|
||||
_OS_LINUX,
|
||||
MAC_OS_X,
|
||||
_FLAT32,
|
||||
);
|
||||
GCC_SYMBOLS_PRIVATE_EXTERN = NO;
|
||||
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
|
||||
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
|
||||
GCC_WARN_UNDECLARED_SELECTOR = YES;
|
||||
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
|
||||
GCC_WARN_UNUSED_FUNCTION = YES;
|
||||
GCC_WARN_UNUSED_VARIABLE = YES;
|
||||
MACOSX_DEPLOYMENT_TARGET = 10.9;
|
||||
ONLY_ACTIVE_ARCH = YES;
|
||||
SDKROOT = macosx;
|
||||
WARNING_CFLAGS = "-Wno-deprecated-register";
|
||||
};
|
||||
name = Debug;
|
||||
};
|
||||
3665375219635EF2000F99BB /* Release */ = {
|
||||
isa = XCBuildConfiguration;
|
||||
buildSettings = {
|
||||
ALWAYS_SEARCH_USER_PATHS = NO;
|
||||
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
|
||||
CLANG_CXX_LIBRARY = "libc++";
|
||||
CLANG_ENABLE_MODULES = YES;
|
||||
CLANG_ENABLE_OBJC_ARC = YES;
|
||||
CLANG_WARN_BOOL_CONVERSION = YES;
|
||||
CLANG_WARN_CONSTANT_CONVERSION = YES;
|
||||
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
|
||||
CLANG_WARN_EMPTY_BODY = YES;
|
||||
CLANG_WARN_ENUM_CONVERSION = YES;
|
||||
CLANG_WARN_INFINITE_RECURSION = YES;
|
||||
CLANG_WARN_INT_CONVERSION = YES;
|
||||
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
|
||||
CLANG_WARN_SUSPICIOUS_MOVE = YES;
|
||||
CLANG_WARN_UNREACHABLE_CODE = YES;
|
||||
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
|
||||
COPY_PHASE_STRIP = YES;
|
||||
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
|
||||
ENABLE_NS_ASSERTIONS = NO;
|
||||
ENABLE_STRICT_OBJC_MSGSEND = YES;
|
||||
GCC_C_LANGUAGE_STANDARD = gnu99;
|
||||
GCC_ENABLE_OBJC_EXCEPTIONS = YES;
|
||||
GCC_NO_COMMON_BLOCKS = YES;
|
||||
GCC_PREPROCESSOR_DEFINITIONS = (
|
||||
LANG_NORW,
|
||||
LANG_DAN,
|
||||
LANG_SWED,
|
||||
LANG_FINNISH,
|
||||
LANG_PORTUGUESEB,
|
||||
LANG_PORTUGUESE,
|
||||
LANG_GERMAN,
|
||||
LANG_ITALIAN,
|
||||
LANG_SPANISH,
|
||||
LANG_DUTCH,
|
||||
LANG_FRENCH,
|
||||
LANG_INDONESIAN,
|
||||
LANG_ENGLISHUK,
|
||||
LANG_ENGLISH,
|
||||
RECODICT,
|
||||
_EMBEDDED_DEVICE,
|
||||
"HWR_SYSTEM=HWR_LINUX",
|
||||
_OS_LINUX,
|
||||
MAC_OS_X,
|
||||
_FLAT32,
|
||||
);
|
||||
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
|
||||
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
|
||||
GCC_WARN_UNDECLARED_SELECTOR = YES;
|
||||
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
|
||||
GCC_WARN_UNUSED_FUNCTION = YES;
|
||||
GCC_WARN_UNUSED_VARIABLE = YES;
|
||||
MACOSX_DEPLOYMENT_TARGET = 10.9;
|
||||
SDKROOT = macosx;
|
||||
WARNING_CFLAGS = "-Wno-deprecated-register";
|
||||
};
|
||||
name = Release;
|
||||
};
|
||||
3665375419635EF2000F99BB /* Debug */ = {
|
||||
isa = XCBuildConfiguration;
|
||||
buildSettings = {
|
||||
COMBINE_HIDPI_IMAGES = YES;
|
||||
EXECUTABLE_PREFIX = lib;
|
||||
ONLY_ACTIVE_ARCH = NO;
|
||||
PRODUCT_NAME = WritePadReco;
|
||||
};
|
||||
name = Debug;
|
||||
};
|
||||
3665375519635EF2000F99BB /* Release */ = {
|
||||
isa = XCBuildConfiguration;
|
||||
buildSettings = {
|
||||
COMBINE_HIDPI_IMAGES = YES;
|
||||
CONFIGURATION_BUILD_DIR = "../OSX-SDK/lib";
|
||||
EXECUTABLE_PREFIX = lib;
|
||||
PRODUCT_NAME = WritePadReco;
|
||||
};
|
||||
name = Release;
|
||||
};
|
||||
/* End XCBuildConfiguration section */
|
||||
|
||||
/* Begin XCConfigurationList section */
|
||||
3665374A19635EF2000F99BB /* Build configuration list for PBXProject "WritePadSDK-OSX" */ = {
|
||||
isa = XCConfigurationList;
|
||||
buildConfigurations = (
|
||||
3665375119635EF2000F99BB /* Debug */,
|
||||
3665375219635EF2000F99BB /* Release */,
|
||||
);
|
||||
defaultConfigurationIsVisible = 0;
|
||||
defaultConfigurationName = Release;
|
||||
};
|
||||
3665375319635EF2000F99BB /* Build configuration list for PBXNativeTarget "WritePadSDK-OSX" */ = {
|
||||
isa = XCConfigurationList;
|
||||
buildConfigurations = (
|
||||
3665375419635EF2000F99BB /* Debug */,
|
||||
3665375519635EF2000F99BB /* Release */,
|
||||
);
|
||||
defaultConfigurationIsVisible = 0;
|
||||
defaultConfigurationName = Release;
|
||||
};
|
||||
/* End XCConfigurationList section */
|
||||
};
|
||||
rootObject = 3665374719635EF2000F99BB /* Project object */;
|
||||
}
|
||||
Generated
Executable
+7
@@ -0,0 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<Workspace
|
||||
version = "1.0">
|
||||
<FileRef
|
||||
location = "self:WritePadSDK-OSX.xcodeproj">
|
||||
</FileRef>
|
||||
</Workspace>
|
||||
@@ -1,2 +1,73 @@
|
||||
# WritePad-Handwriting-Recognition-Engine
|
||||
Multilingual handwriting recognition engine for iOS, Android, Windows, Linux, MAC OS X...
|
||||
|
||||
#WRITEPAD Handwriting Recognition Engine (HWRE)
|
||||
|
||||
Multilingual, multiplatfrom, self-contained handwriting recognition engine.
|
||||
|
||||
###About
|
||||
|
||||
This source code is distributed under the GPL v 3.0 license. In short, this means that ALL modifications and/or derivative works that use all or any portion of source code in the repository must be made public.
|
||||
|
||||
If you would like to use this software for commercial purposes, you can purchase the commercial license from PhatWare Corp., which will supersede the GPL license. For detailed information about licensing, please contact **PhatWare Corp.** at developer@phatware.com
|
||||
|
||||
Compiled libraries and sample code are not included with this project. If you are looking for WritePad Handwriting Recognition SDK binaries to integrate with your commercial or a freeware project or for sample code for various platforms, visit the WritePad SDK repository at https://github.com/phatware/WritePadSDK
|
||||
|
||||
This repository contains the complete source code of WritePad Handwriting Recognition Engine (HWRE). It is a self-contained project, which does not require any 3rd party development tools or libraries. **Everything you need is here!** You can build WritePad HWRE for the following platforms:
|
||||
|
||||
* Apple MAC OS X 10.10+
|
||||
* Xcode 8+
|
||||
* Apple iOS 9+
|
||||
* Microsoft Windows 7+ (Desktop and Windows Store DLLs; ARM, x64, i86)
|
||||
* Microsoft Windows Mobile 8+
|
||||
* Linux (practically any distribution with ISO C/C++ compiler)
|
||||
* Google Android NDK, SDK 4+ (ARM, MIPS, MIPS64, ARM64, i64, i86)
|
||||
|
||||
###Building WritePad Engine
|
||||
|
||||
Building the handwriting recognition engine on different platforms
|
||||
|
||||
1. **MAC OS**
|
||||
|
||||
**Development Environment**: Xcode 8+
|
||||
|
||||
Open Xcode; open `MACOSX/WritePadSDK-OSX/WritePadSDK-OSX.xcodeproj` project; build for a desired target. This project will build a static library for MAC OS X.
|
||||
|
||||
|
||||
2. **iOS**
|
||||
|
||||
**Development Environment**: Xcode 8+
|
||||
|
||||
Open Xcode; open `iOS/WritePadReco/WritePadReco.xcodeproj` project; build for a desired target. This project will build a static library for device or simulator depending on the chosen target.
|
||||
|
||||
3. **Android**
|
||||
|
||||
**Development Environment**: Android NDK 9+ (optional: Android SDK, Android Studio)
|
||||
|
||||
To build run `<ndk-path>/ndk-build` in the `Android/WritePadLib` folder. Android native dynamic (.so) libraries will be built for all supported CPUs.
|
||||
|
||||
4. **Linux**
|
||||
|
||||
**Development Environment**: Linux with C/C++ compiler
|
||||
|
||||
To build simply run `make` in the `Linux` folder.
|
||||
|
||||
5. **Windows (desktop)**
|
||||
|
||||
**Development Environment**: Windows 10, Visual Studio 2015 Community Edition or better (older version(s) of Visual Studio can also be used, you may need to create a new solution workspace compatible with older version).
|
||||
|
||||
Start Visual Studio and open `libuniversalreco.sln` in the `/UniversalRecognizer/V300` folder. Select the desired build configuration and platform then choose Build/Build Solution.
|
||||
|
||||
6. **Windows Store/Windows Mobile**
|
||||
|
||||
**Development Environment**: Windows 10, Visual Studio 2015 Community Edition or better (older version(s) of Visual Studio can also be used, you may need to create a new solution workspace compatible with older version).
|
||||
|
||||
Start Visual Studio and open `WritePadReco.sln` in the `UniversalRecognizer/V300/WindowsStore/WindowsStoreReco` folder. Select the desired build configuration and platform, then choose Build/Build Solution.
|
||||
|
||||
###SDK Tools
|
||||
|
||||
Additonal information about building and using WritePad SDK tools will be posted here soon.
|
||||
|
||||
|
||||
###Notes
|
||||
|
||||
_Developer Note_: We regret to inform you that most of the comments and internal development documentation were deemed confidential and have been excluded from this project. Some limited SDK documentation can be found in the Documentation folder.
|
||||
|
||||
|
||||
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user