Giter Club home page Giter Club logo

symspellcpppy's Introduction

SymSpellCppPy

A Fast SymSpell v6.5 port for python written in C++ using pybind11.

Version UnitTests Docs Downloads License

Installation

pip install --upgrade SymSpellCppPy

Documentation

  • Check examples for provided usage.
  • Check api docs for detailed API documentation.
  • Check tests/SymSpellCppPyTest.py for extended api usage.

Benchmark Results

Run on AMD 5900x

pip install pytest pytest-benchmark symspellpy SymSpellCppPy
pytest benchmark.py --benchmark-compare

Benchmark Results

Development

git clone [email protected]:viig99/SymSpellCppPy.git
cd SymSpellCppPy
mkdir -p build && cd build
cmake .. -DCMAKE_BUILD_TYPE=Release
make -j$(nproc)

Testing

Python Bindings

Build

python3 setup.py build

Test

Python tests

python3 setup.py test

C++ tests

For detailed list of command line test flags please refer to Catch 2 Docs

cd build
./Catch2Test -s

Acknowledgements

symspellcpppy's People

Contributors

marcoffee avatar mohittare avatar razdeep avatar viig99 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

symspellcpppy's Issues

Failed to build wheel on Windows 10

Is windows supported ? I got some weird syntax errors when trying to compile the project.

Collecting SymSpellCppPy
  Downloading SymSpellCppPy-0.0.14.tar.gz (5.4 MB)
     |████████████████████████████████| 5.4 MB 2.2 MB/s
Building wheels for collected packages: SymSpellCppPy
  Building wheel for SymSpellCppPy (setup.py) ... error
  ERROR: Command errored out with exit status 1:
   command: 'c:\python\python39\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\samay\\AppData\\Local\\Temp\\pip-install-gb6opody\\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\\setup.py'"'"'; __file__='"'"'C:\\Users\\samay\\AppData\\Local\\Temp\\pip-install-gb6opody\\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d 'C:\Users\samay\AppData\Local\Temp\pip-wheel-16d25zg7'
       cwd: C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\
  Complete output (132 lines):
  running bdist_wheel
  running build
  running build_ext
  -- Building for: Visual Studio 16 2019
  -- Selecting Windows SDK version 10.0.19041.0 to target Windows 10.0.19043.
  -- The C compiler identification is MSVC 19.29.30038.1
  -- The CXX compiler identification is MSVC 19.29.30038.1
  -- Detecting C compiler ABI info
  -- Detecting C compiler ABI info - done
  -- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30037/bin/Hostx64/x64/cl.exe - skipped
  -- Detecting C compile features
  -- Detecting C compile features - done
  -- Detecting CXX compiler ABI info
  -- Detecting CXX compiler ABI info - done
  -- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30037/bin/Hostx64/x64/cl.exe - skipped
  -- Detecting CXX compile features
  -- Detecting CXX compile features - done
  -- Found PythonInterp: C:/Python/Python39/python.exe (found version "3.9")
  -- Found PythonLibs: C:/Python/Python39/libs/Python39.lib
  -- pybind11 v2.5.0
  -- Performing Test HAS_MSVC_GL_LTCG
  -- Performing Test HAS_MSVC_GL_LTCG - Success
  -- LTO enabled
  -- Build for Python = ON
  -- Configuring done
  -- Generating done
  -- Build files have been written to: C:/Users/samay/AppData/Local/Temp/pip-install-gb6opody/symspellcpppy_266364465cfe44a594e0ab6bf7b8be21/build/temp.win-amd64-3.9/Release
  Microsoft (R) Build Engine version 16.10.2+857e5a733 for .NET Framework
  Copyright (C) Microsoft Corporation. All rights reserved.

  C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppBuild.targets(517,5): warning MSB8029: The Intermediate directory or Output directory cannot reside under the Temporary directory as it could lead to issues with incremental build. [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\ZERO_CHECK.vcxproj]
    Checking Build System
  C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppBuild.targets(517,5): warning MSB8029: The Intermediate directory or Output directory cannot reside under the Temporary directory as it could lead to issues with incremental build. [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
    Building Custom Rule C:/Users/samay/AppData/Local/Temp/pip-install-gb6opody/symspellcpppy_266364465cfe44a594e0ab6bf7b8be21/CMakeLists.txt
    library.cpp
  C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include/Helpers.h(40,1): warning C4267: 'return': conversion from 'size_t' to 'int', possible loss of data [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
  C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include/Helpers.h(41,1): warning C4267: 'return': conversion from 'size_t' to 'int', possible loss of data [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
  C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include/Helpers.h(49,1): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
  C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include/Helpers.h(50,1): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
  C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include/Helpers.h(137,33): error C2146: syntax error: missing ')' before identifier 'or' [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
  C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include/Helpers.h(137,33): error C3861: 'or': identifier not found [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
  C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include/Helpers.h(137,1): error C2059: syntax error: ')' [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
  C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include/Helpers.h(138,25): error C2059: syntax error: 'if' [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
  C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include/Helpers.h(138,1): error C2143: syntax error: missing ';' before '{' [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
  C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include/Helpers.h(140,1): error C2181: illegal else without matching if [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
  C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include/Helpers.h(143,1): error C2181: illegal else without matching if [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
  C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include/Helpers.h(151,17): error C2046: illegal case [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
  C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include/Helpers.h(153,17): error C2046: illegal case [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
  C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include/Helpers.h(160,1): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
  C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include/Helpers.h(176,17): error C2046: illegal case [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
  C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include/Helpers.h(182,9): error C2059: syntax error: 'return' [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
  C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include/Helpers.h(183,5): error C2059: syntax error: '}' [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
  C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include/Helpers.h(183,1): error C2143: syntax error: missing ';' before '}' [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
  C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include/Helpers.h(187,18): error C2143: syntax error: missing ';' before '{' [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
  C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include/Helpers.h(187,18): error C2447: '{': missing function header (old-style formal list?) [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
  C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include/Helpers.h(252,15): error C2143: syntax error: missing ';' before '<' [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
  C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include/Helpers.h(252,15): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
  C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include/Helpers.h(252,27): error C2238: unexpected token(s) preceding ';' [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
  C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include/Helpers.h(257,9): error C2065: 'Nodes': undeclared identifier [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
  C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include/Helpers.h(260,23): warning C4267: 'return': conversion from 'size_t' to 'int', possible loss of data [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
  C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include/Helpers.h(262,36): error C2065: 'Nodes': undeclared identifier [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
  C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include/Helpers.h(266,9): error C2065: 'Nodes': undeclared identifier [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
  C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include/Helpers.h(277,23): error C2065: 'Nodes': undeclared identifier [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
  C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include/Helpers.h(282,9): error C2065: 'Nodes': undeclared identifier [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
  C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include/Helpers.h(293,1): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
  C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include/Helpers.h(307,29): error C2065: 'Nodes': undeclared identifier [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
  C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include/Helpers.h(308,1): error C3536: 'node': cannot be used before it is initialized [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
  C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include/Helpers.h(348,1): warning C4267: 'return': conversion from 'size_t' to 'int', possible loss of data [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
  C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include\DamerauOSA.h(30,49): warning C4244: 'return': conversion from 'unsigned __int64' to 'double', possible loss of data [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
  C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include\DamerauOSA.h(31,49): warning C4244: 'return': conversion from 'unsigned __int64' to 'double', possible loss of data [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
  C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include\DamerauOSA.h(88,1): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
  C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include\DamerauOSA.h(99,1): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
  C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include\DamerauOSA.h(114,1): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
  C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include\DamerauOSA.h(117,1): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
  C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include\Levenshtein.h(30,49): warning C4244: 'return': conversion from 'unsigned __int64' to 'double', possible loss of data [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
  C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include\Levenshtein.h(31,49): warning C4244: 'return': conversion from 'unsigned __int64' to 'double', possible loss of data [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
  C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include\Levenshtein.h(85,1): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
  C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include\Levenshtein.h(96,1): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
  C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include\Levenshtein.h(108,1): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
  C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include\Levenshtein.h(114,1): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
  C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\library.cpp(26,28): warning C4267: 'return': conversion from 'size_t' to 'int', possible loss of data [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
  C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\library.cpp(30,56): warning C4267: 'return': conversion from 'size_t' to 'int', possible loss of data [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
  C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\library.cpp(66,54): warning C4244: '=': conversion from '_Ty2' to 'int', possible loss of data [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
            with
            [
                _Ty2=int64_t
            ]
  C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\library.cpp(75,40): warning C4244: '=': conversion from '_Ty2' to 'int', possible loss of data [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
            with
            [
                _Ty2=int64_t
            ]
  C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\library.cpp(86,87): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
  C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\library.cpp(304,36): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
  C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\library.cpp(335,52): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
  C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\library.cpp(348,62): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
  C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\library.cpp(504,27): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
  C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\library.cpp(659,82): warning C4305: 'argument': truncation from '__int64' to 'double' [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
  C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\library.cpp(697,37): warning C4267: '+=': conversion from 'size_t' to 'int', possible loss of data [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
  C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\library.cpp(700,37): warning C4267: '-=': conversion from 'size_t' to 'int', possible loss of data [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
  C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\library.cpp(720,41): warning C4267: '+=': conversion from 'size_t' to 'int', possible loss of data [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
  Traceback (most recent call last):
    File "<string>", line 1, in <module>
    File "C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\setup.py", line 79, in <module>
      setup(
    File "c:\python\python39\lib\site-packages\setuptools\__init__.py", line 153, in setup
      return distutils.core.setup(**attrs)
    File "c:\python\python39\lib\distutils\core.py", line 148, in setup
      dist.run_commands()
    File "c:\python\python39\lib\distutils\dist.py", line 966, in run_commands
      self.run_command(cmd)
    File "c:\python\python39\lib\distutils\dist.py", line 985, in run_command
      cmd_obj.run()
    File "c:\python\python39\lib\site-packages\wheel\bdist_wheel.py", line 299, in run
      self.run_command('build')
    File "c:\python\python39\lib\distutils\cmd.py", line 313, in run_command
      self.distribution.run_command(command)
    File "c:\python\python39\lib\distutils\dist.py", line 985, in run_command
      cmd_obj.run()
    File "c:\python\python39\lib\distutils\command\build.py", line 135, in run
      self.run_command(cmd_name)
    File "c:\python\python39\lib\distutils\cmd.py", line 313, in run_command
      self.distribution.run_command(command)
    File "c:\python\python39\lib\distutils\dist.py", line 985, in run_command
      cmd_obj.run()
    File "C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\setup.py", line 40, in run
      self.build_extension(ext)
    File "C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\setup.py", line 75, in build_extension
      subprocess.check_call(['cmake', '--build', '.', '--target', os.path.basename(ext.name)] + build_args,
    File "c:\python\python39\lib\subprocess.py", line 373, in check_call
      raise CalledProcessError(retcode, cmd)
  subprocess.CalledProcessError: Command '['cmake', '--build', '.', '--target', 'SymSpellCppPy', '--config', 'Release', '--', '/m']' returned non-zero exit status 1.
  ----------------------------------------
  ERROR: Failed building wheel for SymSpellCppPy
  Running setup.py clean for SymSpellCppPy
Failed to build SymSpellCppPy
Installing collected packages: SymSpellCppPy
    Running setup.py install for SymSpellCppPy ... error
    ERROR: Command errored out with exit status 1:
     command: 'c:\python\python39\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\samay\\AppData\\Local\\Temp\\pip-install-gb6opody\\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\\setup.py'"'"'; __file__='"'"'C:\\Users\\samay\\AppData\\Local\\Temp\\pip-install-gb6opody\\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\samay\AppData\Local\Temp\pip-record-8cwxam2l\install-record.txt' --single-version-externally-managed --compile --install-headers 'c:\python\python39\Include\SymSpellCppPy'
         cwd: C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\
    Complete output (134 lines):
    running install
    running build
    running build_ext
    -- Building for: Visual Studio 16 2019
    -- Selecting Windows SDK version 10.0.19041.0 to target Windows 10.0.19043.
    -- The C compiler identification is MSVC 19.29.30038.1
    -- The CXX compiler identification is MSVC 19.29.30038.1
    -- Detecting C compiler ABI info
    -- Detecting C compiler ABI info - done
    -- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30037/bin/Hostx64/x64/cl.exe - skipped
    -- Detecting C compile features
    -- Detecting C compile features - done
    -- Detecting CXX compiler ABI info
    -- Detecting CXX compiler ABI info - done
    -- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30037/bin/Hostx64/x64/cl.exe - skipped
    -- Detecting CXX compile features
    -- Detecting CXX compile features - done
    -- Found PythonInterp: C:/Python/Python39/python.exe (found version "3.9")
    -- Found PythonLibs: C:/Python/Python39/libs/Python39.lib
    -- pybind11 v2.5.0
    -- Performing Test HAS_MSVC_GL_LTCG
    -- Performing Test HAS_MSVC_GL_LTCG - Success
    -- LTO enabled
    -- Build for Python = ON
    -- Configuring done
    -- Generating done
    -- Build files have been written to: C:/Users/samay/AppData/Local/Temp/pip-install-gb6opody/symspellcpppy_266364465cfe44a594e0ab6bf7b8be21/build/temp.win-amd64-3.9/Release
    Microsoft (R) Build Engine version 16.10.2+857e5a733 for .NET Framework
    Copyright (C) Microsoft Corporation. All rights reserved.

    C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppBuild.targets(517,5): warning MSB8029: The Intermediate directory or Output directory cannot reside under the Temporary directory as it could lead to issues with incremental build. [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\ZERO_CHECK.vcxproj]
      Checking Build System
    C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppBuild.targets(517,5): warning MSB8029: The Intermediate directory or Output directory cannot reside under the Temporary directory as it could lead to issues with incremental build. [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
      Building Custom Rule C:/Users/samay/AppData/Local/Temp/pip-install-gb6opody/symspellcpppy_266364465cfe44a594e0ab6bf7b8be21/CMakeLists.txt
      library.cpp
    C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include/Helpers.h(40,1): warning C4267: 'return': conversion from 'size_t' to 'int', possible loss of data [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
    C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include/Helpers.h(41,1): warning C4267: 'return': conversion from 'size_t' to 'int', possible loss of data [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
    C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include/Helpers.h(49,1): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
    C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include/Helpers.h(50,1): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
    C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include/Helpers.h(137,33): error C2146: syntax error: missing ')' before identifier 'or' [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
    C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include/Helpers.h(137,33): error C3861: 'or': identifier not found [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
    C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include/Helpers.h(137,1): error C2059: syntax error: ')' [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
    C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include/Helpers.h(138,25): error C2059: syntax error: 'if' [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
    C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include/Helpers.h(138,1): error C2143: syntax error: missing ';' before '{' [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
    C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include/Helpers.h(140,1): error C2181: illegal else without matching if [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
    C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include/Helpers.h(143,1): error C2181: illegal else without matching if [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
    C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include/Helpers.h(151,17): error C2046: illegal case [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
    C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include/Helpers.h(153,17): error C2046: illegal case [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
    C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include/Helpers.h(160,1): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
    C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include/Helpers.h(176,17): error C2046: illegal case [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
    C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include/Helpers.h(182,9): error C2059: syntax error: 'return' [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
    C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include/Helpers.h(183,5): error C2059: syntax error: '}' [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
    C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include/Helpers.h(183,1): error C2143: syntax error: missing ';' before '}' [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
    C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include/Helpers.h(187,18): error C2143: syntax error: missing ';' before '{' [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
    C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include/Helpers.h(187,18): error C2447: '{': missing function header (old-style formal list?) [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
    C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include/Helpers.h(252,15): error C2143: syntax error: missing ';' before '<' [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
    C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include/Helpers.h(252,15): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
    C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include/Helpers.h(252,27): error C2238: unexpected token(s) preceding ';' [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
    C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include/Helpers.h(257,9): error C2065: 'Nodes': undeclared identifier [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
    C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include/Helpers.h(260,23): warning C4267: 'return': conversion from 'size_t' to 'int', possible loss of data [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
    C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include/Helpers.h(262,36): error C2065: 'Nodes': undeclared identifier [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
    C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include/Helpers.h(266,9): error C2065: 'Nodes': undeclared identifier [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
    C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include/Helpers.h(277,23): error C2065: 'Nodes': undeclared identifier [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
    C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include/Helpers.h(282,9): error C2065: 'Nodes': undeclared identifier [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
    C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include/Helpers.h(293,1): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
    C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include/Helpers.h(307,29): error C2065: 'Nodes': undeclared identifier [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
    C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include/Helpers.h(308,1): error C3536: 'node': cannot be used before it is initialized [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
    C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include/Helpers.h(348,1): warning C4267: 'return': conversion from 'size_t' to 'int', possible loss of data [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
    C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include\DamerauOSA.h(30,49): warning C4244: 'return': conversion from 'unsigned __int64' to 'double', possible loss of data [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
    C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include\DamerauOSA.h(31,49): warning C4244: 'return': conversion from 'unsigned __int64' to 'double', possible loss of data [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
    C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include\DamerauOSA.h(88,1): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
    C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include\DamerauOSA.h(99,1): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
    C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include\DamerauOSA.h(114,1): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
    C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include\DamerauOSA.h(117,1): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
    C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include\Levenshtein.h(30,49): warning C4244: 'return': conversion from 'unsigned __int64' to 'double', possible loss of data [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
    C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include\Levenshtein.h(31,49): warning C4244: 'return': conversion from 'unsigned __int64' to 'double', possible loss of data [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
    C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include\Levenshtein.h(85,1): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
    C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include\Levenshtein.h(96,1): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
    C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include\Levenshtein.h(108,1): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
    C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\include\Levenshtein.h(114,1): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
    C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\library.cpp(26,28): warning C4267: 'return': conversion from 'size_t' to 'int', possible loss of data [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
    C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\library.cpp(30,56): warning C4267: 'return': conversion from 'size_t' to 'int', possible loss of data [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
    C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\library.cpp(66,54): warning C4244: '=': conversion from '_Ty2' to 'int', possible loss of data [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
              with
              [
                  _Ty2=int64_t
              ]
    C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\library.cpp(75,40): warning C4244: '=': conversion from '_Ty2' to 'int', possible loss of data [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
              with
              [
                  _Ty2=int64_t
              ]
    C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\library.cpp(86,87): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
    C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\library.cpp(304,36): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
    C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\library.cpp(335,52): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
    C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\library.cpp(348,62): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
    C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\library.cpp(504,27): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
    C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\library.cpp(659,82): warning C4305: 'argument': truncation from '__int64' to 'double' [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
    C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\library.cpp(697,37): warning C4267: '+=': conversion from 'size_t' to 'int', possible loss of data [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
    C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\library.cpp(700,37): warning C4267: '-=': conversion from 'size_t' to 'int', possible loss of data [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
    C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\library.cpp(720,41): warning C4267: '+=': conversion from 'size_t' to 'int', possible loss of data [C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\build\temp.win-amd64-3.9\Release\SymSpellCpp.vcxproj]
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\setup.py", line 79, in <module>
        setup(
      File "c:\python\python39\lib\site-packages\setuptools\__init__.py", line 153, in setup
        return distutils.core.setup(**attrs)
      File "c:\python\python39\lib\distutils\core.py", line 148, in setup
        dist.run_commands()
      File "c:\python\python39\lib\distutils\dist.py", line 966, in run_commands
        self.run_command(cmd)
      File "c:\python\python39\lib\distutils\dist.py", line 985, in run_command
        cmd_obj.run()
      File "c:\python\python39\lib\site-packages\setuptools\command\install.py", line 61, in run
        return orig.install.run(self)
      File "c:\python\python39\lib\distutils\command\install.py", line 546, in run
        self.run_command('build')
      File "c:\python\python39\lib\distutils\cmd.py", line 313, in run_command
        self.distribution.run_command(command)
      File "c:\python\python39\lib\distutils\dist.py", line 985, in run_command
        cmd_obj.run()
      File "c:\python\python39\lib\distutils\command\build.py", line 135, in run
        self.run_command(cmd_name)
      File "c:\python\python39\lib\distutils\cmd.py", line 313, in run_command
        self.distribution.run_command(command)
      File "c:\python\python39\lib\distutils\dist.py", line 985, in run_command
        cmd_obj.run()
      File "C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\setup.py", line 40, in run
        self.build_extension(ext)
      File "C:\Users\samay\AppData\Local\Temp\pip-install-gb6opody\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\setup.py", line 75, in build_extension
        subprocess.check_call(['cmake', '--build', '.', '--target', os.path.basename(ext.name)] + build_args,
      File "c:\python\python39\lib\subprocess.py", line 373, in check_call
        raise CalledProcessError(retcode, cmd)
    subprocess.CalledProcessError: Command '['cmake', '--build', '.', '--target', 'SymSpellCppPy', '--config', 'Release', '--', '/m']' returned non-zero exit status 1.
    ----------------------------------------
ERROR: Command errored out with exit status 1: 'c:\python\python39\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\samay\\AppData\\Local\\Temp\\pip-install-gb6opody\\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\\setup.py'"'"'; __file__='"'"'C:\\Users\\samay\\AppData\\Local\\Temp\\pip-install-gb6opody\\symspellcpppy_266364465cfe44a594e0ab6bf7b8be21\\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\samay\AppData\Local\Temp\pip-record-8cwxam2l\install-record.txt' --single-version-externally-managed --compile --install-headers 'c:\python\python39\Include\SymSpellCppPy' Check the logs for full command output.

Please consider implementing SymSpell v6.7.

Thank you very much for your fast SymSpell Python port.

Please consider implementing SymSpell v6.7. which improves word segmentation and fixes problems with upper case, ligatures, hyphenation, punctuation, and American English.
https://github.com/wolfgarbe/SymSpell#changes-in-v67

The few changes are all marked in the source code with comment //v6.7
wolfgarbe/SymSpell@c9e4fed#diff-6de4264fac929bae78bbdf35d398e130

Please use the updated version of the frequency dictionary
https://github.com/wolfgarbe/SymSpell/blob/master/SymSpell/frequency_dictionary_en_82_765.txt

Input
AbstractHowdoesauser’spriorexperiencewithdeeplearningimpactaccuracy?Wepresentaninitialstudybasedon31participantswithdifferentlevelsofexperience.Theirtaskistoperformhyperparameteroptimizationforagivendeeplearningarchitecture.There-sultsshowastrongpositivecorrelationbetweentheparticipant’sexperienceandthefinalperformance.Theyadditionallyindicatethatanexperiencedparticipantfindsbettersolu-tionsusingfewerresourcesonaverage.Thedatasuggestsfurthermorethatparticipantswithnopriorexperiencefollowrandomstrategiesintheirpursuitofoptimalhyperpa-rameters.Ourstudyinvestigatesthesubjectivehumanfactorincomparisonsofstateoftheartresultsandscientificreproducibilityindeeplearning.1IntroductionThepopularityofdeeplearninginvariousfieldssuchasimagerecognition[9,19],speech[11,30],bioinformatics[21,24],questionanswering[3]etc.stemsfromtheseeminglyfavorabletrade-offbetweentherecognitionaccuracyandtheiroptimizationburdenlecunetal20attributetheirsuccess

output SymSpell v6.5 WordSegmentation

Abs tract How does a user ’s prior experience with deep learning impact accuracy ?We present an initial study based on 31 participants with different levels of experience .T heir task is to perform hyper parameter optimization for a given deep learning architecture .T here -s ult s show a strong positive correlation between the participant ’s experience and the fin al performance .T hey additionally indicate that an experienced participant finds better sol u-t ions using fewer resources on average .T he data suggests furthermore that participants with no prior experience follow random strategies in their pursuit of optimal hyper pa-ra meters .Our study investigates the subjective human factor in comparisons of state of the art results and sci entific reproducibility in deep learning .1Intro duct ion T he popularity of deep learning in various fi eld s such as image recognition [9,19], speech [11,30], bio informatics [21,24], question answering [3] etc . stems from the seemingly fav or able trade - off between the recognition accuracy and their optimization burden l ecu net al 20 attribute their success

output SymSpell v6.7 WordSegmentation

Abstract How does a user’s prior experience with deep learning impact accuracy? We present an initial study based on 31 participants with different levels of experience. Their task is to perform hyper parameter optimization for a given deep learning architecture. The results show a strong positive correlation between the participant’s experience and the final performance. They additionally indicate that an experienced participant finds better solutions using fewer resources on average. The data suggests furthermore that participants with no prior experience follow random strategies in their pursuit of optimal hyper parameters. Our study investigates the subjective human factor in comparisons of state of the art results and scientific reproducibility in deep learning. 1 Introduction The popularity of deep learning in various fields such as image recognition [9,19], speech [11,30], bio informatics [21,24], question answering [3] etc. stems from the seemingly favorable trade off between the recognition accuracy and their optimization burden l ecu net al 20 attribute their success

Does not work on windows

Do you have plans to port it to Windows in the near future, or could you give me information on what the difficulties are and I may try to port it myself?

RuntimeError: The expression contained an invalid character range, such as [b-a] in most encodings

What an error could it be:

import SymSpellCppPy
symSpell = SymSpellCppPy.SymSpell()
symSpell.load_dictionary(corpus='frequency_dictionary_en_82_765.txt', term_index=0, count_index=1, separator=" ")

terms = symSpell.lookup_compound('Any text.')

RuntimeError: The expression contained an invalid character range, such as [b-a] in most encodings.

Python 3.9.7
SymSpellCppPy==0.0.14
MacOS 11.6

Illegal instruction (core dumped)

After installing SymSpellCppPy using pip I tried Importing the module but I'm getting this error

root@2428e6bd41d1:/# python3 
Python 3.8.10 (default, Jun  2 2021, 10:49:15) 
[GCC 9.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from SymSpellCppPy import SymSpellPy
Illegal instruction (core dumped)

I was installing this inside a docker container.

Any help?

Umlauts need additional edit distance

I built a test that looks like this:

def test_umlauts(self):
  dictionary_path = os.path.join(self.fortests_path, "umlaut_dict.txt")
  
  edit_distance_max = 1
  prefix_length = 5
  sym_spell = SymSpell(edit_distance_max, prefix_length)
  sym_spell.load_dictionary(dictionary_path, 0, 1)
  
  result = sym_spell.lookup("dämen", Verbosity.TOP, 2)
  self.assertEqual(1, len(result))
  self.assertEqual("damen", result[0].term)

With a dictionary that contains only this line: damen 1

However this test fails with edit_distance_max = 1 and passes with edit_distance_max = 2 even though there is only 1 character changed from dämen to damen

It seems like there is a bug so that umlauts like 'ä' are being interpreted as 'ae' or something like that?

If anyone has an idea where to look I'd gladly try to fix it but I haven't found anything yet.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.