diff options
author | Hieu Hoang <hieuhoang@gmail.com> | 2011-11-12 02:39:27 +0400 |
---|---|---|
committer | Hieu Hoang <hieuhoang@gmail.com> | 2011-11-12 02:39:27 +0400 |
commit | 953f2200ffef1ce9c5a1c2eee9830d5483144222 (patch) | |
tree | 0e0b44b9a2cf1d8d42ea3f51bcede9794e5b1346 /kenlm | |
parent | d97cf2d9a5a88ee406725c0151e1bc02f4134207 (diff) |
visual studio
Diffstat (limited to 'kenlm')
-rw-r--r-- | kenlm/kenlm.vcxproj | 146 | ||||
-rw-r--r-- | kenlm/lm/bhiksha.hh | 2 | ||||
-rw-r--r-- | kenlm/lm/binary_format.cc | 2 | ||||
-rw-r--r-- | kenlm/lm/binary_format.hh | 2 | ||||
-rw-r--r-- | kenlm/lm/blank.hh | 2 | ||||
-rw-r--r-- | kenlm/lm/quantize.hh | 2 | ||||
-rw-r--r-- | kenlm/lm/read_arpa.cc | 2 | ||||
-rw-r--r-- | kenlm/lm/return.hh | 2 | ||||
-rw-r--r-- | kenlm/lm/trie.hh | 2 | ||||
-rw-r--r-- | kenlm/lm/trie_sort.hh | 2 | ||||
-rw-r--r-- | kenlm/util/bit_packing.hh | 2 | ||||
-rw-r--r-- | kenlm/util/file.cc | 2 | ||||
-rw-r--r-- | kenlm/util/key_value_packing.hh | 2 | ||||
-rw-r--r-- | kenlm/util/sized_iterator.hh | 2 | ||||
-rw-r--r-- | kenlm/util/sorted_uniform.hh | 2 |
15 files changed, 160 insertions, 14 deletions
diff --git a/kenlm/kenlm.vcxproj b/kenlm/kenlm.vcxproj new file mode 100644 index 000000000..cbdfc5562 --- /dev/null +++ b/kenlm/kenlm.vcxproj @@ -0,0 +1,146 @@ +<?xml version="1.0" encoding="utf-8"?> +<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <ItemGroup Label="ProjectConfigurations"> + <ProjectConfiguration Include="Debug|Win32"> + <Configuration>Debug</Configuration> + <Platform>Win32</Platform> + </ProjectConfiguration> + <ProjectConfiguration Include="Release|Win32"> + <Configuration>Release</Configuration> + <Platform>Win32</Platform> + </ProjectConfiguration> + </ItemGroup> + <PropertyGroup Label="Globals"> + <ProjectGuid>{E834D71C-5D5F-4FB4-A361-88694C438FF9}</ProjectGuid> + <Keyword>Win32Proj</Keyword> + <RootNamespace>kenlm</RootNamespace> + </PropertyGroup> + <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration"> + <ConfigurationType>StaticLibrary</ConfigurationType> + <UseDebugLibraries>true</UseDebugLibraries> + <CharacterSet>Unicode</CharacterSet> + </PropertyGroup> + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration"> + <ConfigurationType>StaticLibrary</ConfigurationType> + <UseDebugLibraries>false</UseDebugLibraries> + <WholeProgramOptimization>true</WholeProgramOptimization> + <CharacterSet>Unicode</CharacterSet> + </PropertyGroup> + <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> + <ImportGroup Label="ExtensionSettings"> + </ImportGroup> + <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> + <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> + </ImportGroup> + <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> + <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> + </ImportGroup> + <PropertyGroup Label="UserMacros" /> + <PropertyGroup /> + <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> + <ClCompile> + <PrecompiledHeader> + </PrecompiledHeader> + <WarningLevel>Level3</WarningLevel> + <Optimization>Disabled</Optimization> + <PreprocessorDefinitions>WIN32;_DEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions> + <AdditionalIncludeDirectories>$(ProjectDir);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> + </ClCompile> + <Link> + <SubSystem>Windows</SubSystem> + <GenerateDebugInformation>true</GenerateDebugInformation> + </Link> + </ItemDefinitionGroup> + <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> + <ClCompile> + <WarningLevel>Level3</WarningLevel> + <PrecompiledHeader> + </PrecompiledHeader> + <Optimization>MaxSpeed</Optimization> + <FunctionLevelLinking>true</FunctionLevelLinking> + <IntrinsicFunctions>true</IntrinsicFunctions> + <PreprocessorDefinitions>WIN32;NDEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions> + <AdditionalIncludeDirectories>$(ProjectDir);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> + </ClCompile> + <Link> + <SubSystem>Windows</SubSystem> + <GenerateDebugInformation>true</GenerateDebugInformation> + <EnableCOMDATFolding>true</EnableCOMDATFolding> + <OptimizeReferences>true</OptimizeReferences> + </Link> + </ItemDefinitionGroup> + <ItemGroup> + <None Include="lm\bhiksha.hh" /> + <None Include="lm\binary_format.hh" /> + <None Include="lm\blank.hh" /> + <None Include="lm\config.hh" /> + <None Include="lm\enumerate_vocab.hh" /> + <None Include="lm\facade.hh" /> + <None Include="lm\left.hh" /> + <None Include="lm\lm_exception.hh" /> + <None Include="lm\max_order.hh" /> + <None Include="lm\model.hh" /> + <None Include="lm\model_type.hh" /> + <None Include="lm\quantize.hh" /> + <None Include="lm\read_arpa.hh" /> + <None Include="lm\return.hh" /> + <None Include="lm\search_hashed.hh" /> + <None Include="lm\search_trie.hh" /> + <None Include="lm\test.arpa" /> + <None Include="lm\test_nounk.arpa" /> + <None Include="lm\trie.hh" /> + <None Include="lm\trie_sort.hh" /> + <None Include="lm\virtual_interface.hh" /> + <None Include="lm\vocab.hh" /> + <None Include="lm\weights.hh" /> + <None Include="lm\word_index.hh" /> + <None Include="ReadMe.txt" /> + <None Include="util\bit_packing.hh" /> + <None Include="util\ersatz_progress.hh" /> + <None Include="util\exception.hh" /> + <None Include="util\file.hh" /> + <None Include="util\file_piece.hh" /> + <None Include="util\getopt.hh" /> + <None Include="util\have.hh" /> + <None Include="util\joint_sort.hh" /> + <None Include="util\key_value_packing.hh" /> + <None Include="util\mmap.hh" /> + <None Include="util\murmur_hash.hh" /> + <None Include="util\probing_hash_table.hh" /> + <None Include="util\proxy_iterator.hh" /> + <None Include="util\scoped.hh" /> + <None Include="util\sized_iterator.hh" /> + <None Include="util\sorted_uniform.hh" /> + <None Include="util\string_piece.hh" /> + <None Include="util\tokenize_piece.hh" /> + </ItemGroup> + <ItemGroup> + <ClCompile Include="lm\bhiksha.cc" /> + <ClCompile Include="lm\binary_format.cc" /> + <ClCompile Include="lm\build_binary.cc" /> + <ClCompile Include="lm\config.cc" /> + <ClCompile Include="lm\lm_exception.cc" /> + <ClCompile Include="lm\model.cc" /> + <ClCompile Include="lm\ngram_query.cc" /> + <ClCompile Include="lm\quantize.cc" /> + <ClCompile Include="lm\read_arpa.cc" /> + <ClCompile Include="lm\search_hashed.cc" /> + <ClCompile Include="lm\search_trie.cc" /> + <ClCompile Include="lm\sri_test.cc" /> + <ClCompile Include="lm\trie.cc" /> + <ClCompile Include="lm\trie_sort.cc" /> + <ClCompile Include="lm\virtual_interface.cc" /> + <ClCompile Include="lm\vocab.cc" /> + <ClCompile Include="util\bit_packing.cc" /> + <ClCompile Include="util\ersatz_progress.cc" /> + <ClCompile Include="util\exception.cc" /> + <ClCompile Include="util\file.cc" /> + <ClCompile Include="util\file_piece.cc" /> + <ClCompile Include="util\mmap.cc" /> + <ClCompile Include="util\murmur_hash.cc" /> + </ItemGroup> + <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> + <ImportGroup Label="ExtensionTargets"> + </ImportGroup> +</Project>
\ No newline at end of file diff --git a/kenlm/lm/bhiksha.hh b/kenlm/lm/bhiksha.hh index 3df43dda9..5182ee2e7 100644 --- a/kenlm/lm/bhiksha.hh +++ b/kenlm/lm/bhiksha.hh @@ -13,7 +13,7 @@ #ifndef LM_BHIKSHA__ #define LM_BHIKSHA__ -#include <inttypes.h> +#include <stdint.h> #include <assert.h> #include "lm/model_type.hh" diff --git a/kenlm/lm/binary_format.cc b/kenlm/lm/binary_format.cc index e7f9cd048..5aa274216 100644 --- a/kenlm/lm/binary_format.cc +++ b/kenlm/lm/binary_format.cc @@ -9,7 +9,7 @@ #include <limits> #include <string> -#include <inttypes.h> +#include <stdint.h> namespace lm { namespace ngram { diff --git a/kenlm/lm/binary_format.hh b/kenlm/lm/binary_format.hh index 8adb1ec48..71209b2a6 100644 --- a/kenlm/lm/binary_format.hh +++ b/kenlm/lm/binary_format.hh @@ -12,7 +12,7 @@ #include <cstddef> #include <vector> -#include <inttypes.h> +#include <stdint.h> namespace lm { namespace ngram { diff --git a/kenlm/lm/blank.hh b/kenlm/lm/blank.hh index 2fb64cd03..4da812096 100644 --- a/kenlm/lm/blank.hh +++ b/kenlm/lm/blank.hh @@ -3,7 +3,7 @@ #include <limits> -#include <inttypes.h> +#include <stdint.h> #include <math.h> namespace lm { diff --git a/kenlm/lm/quantize.hh b/kenlm/lm/quantize.hh index 4cf4236eb..6d130a577 100644 --- a/kenlm/lm/quantize.hh +++ b/kenlm/lm/quantize.hh @@ -9,7 +9,7 @@ #include <algorithm> #include <vector> -#include <inttypes.h> +#include <stdint.h> #include <iostream> diff --git a/kenlm/lm/read_arpa.cc b/kenlm/lm/read_arpa.cc index dce73f771..05f761be6 100644 --- a/kenlm/lm/read_arpa.cc +++ b/kenlm/lm/read_arpa.cc @@ -8,7 +8,7 @@ #include <ctype.h> #include <string.h> -#include <inttypes.h> +#include <stdint.h> namespace lm { diff --git a/kenlm/lm/return.hh b/kenlm/lm/return.hh index 155719605..1b55091b2 100644 --- a/kenlm/lm/return.hh +++ b/kenlm/lm/return.hh @@ -1,7 +1,7 @@ #ifndef LM_RETURN__ #define LM_RETURN__ -#include <inttypes.h> +#include <stdint.h> namespace lm { /* Structure returned by scoring routines. */ diff --git a/kenlm/lm/trie.hh b/kenlm/lm/trie.hh index 06cc96ac4..ebe9910f0 100644 --- a/kenlm/lm/trie.hh +++ b/kenlm/lm/trie.hh @@ -1,7 +1,7 @@ #ifndef LM_TRIE__ #define LM_TRIE__ -#include <inttypes.h> +#include <stdint.h> #include <cstddef> diff --git a/kenlm/lm/trie_sort.hh b/kenlm/lm/trie_sort.hh index a8e552e6e..3036319df 100644 --- a/kenlm/lm/trie_sort.hh +++ b/kenlm/lm/trie_sort.hh @@ -14,7 +14,7 @@ #include <string> #include <vector> -#include <inttypes.h> +#include <stdint.h> namespace util { class FilePiece; diff --git a/kenlm/util/bit_packing.hh b/kenlm/util/bit_packing.hh index 62b1f9ea2..f28f71f81 100644 --- a/kenlm/util/bit_packing.hh +++ b/kenlm/util/bit_packing.hh @@ -27,7 +27,7 @@ #include <arpa/nameser_compat.h> #endif -#include <inttypes.h> +#include <stdint.h> #include <string.h> diff --git a/kenlm/util/file.cc b/kenlm/util/file.cc index a5654b267..954182a07 100644 --- a/kenlm/util/file.cc +++ b/kenlm/util/file.cc @@ -10,7 +10,7 @@ #include <sys/stat.h> #include <fcntl.h> #include <unistd.h> -#include <inttypes.h> +#include <stdint.h> #if defined(_WIN32) || defined(_WIN64) #include <windows.h> diff --git a/kenlm/util/key_value_packing.hh b/kenlm/util/key_value_packing.hh index b84a5aadf..8339980b5 100644 --- a/kenlm/util/key_value_packing.hh +++ b/kenlm/util/key_value_packing.hh @@ -7,7 +7,7 @@ #include <cstddef> #include <cstring> -#include <inttypes.h> +#include <stdint.h> namespace util { diff --git a/kenlm/util/sized_iterator.hh b/kenlm/util/sized_iterator.hh index 47dfc2454..aabcc5319 100644 --- a/kenlm/util/sized_iterator.hh +++ b/kenlm/util/sized_iterator.hh @@ -6,7 +6,7 @@ #include <functional> #include <string> -#include <inttypes.h> +#include <stdint.h> #include <string.h> namespace util { diff --git a/kenlm/util/sorted_uniform.hh b/kenlm/util/sorted_uniform.hh index 0d6ecbbd6..0391189f0 100644 --- a/kenlm/util/sorted_uniform.hh +++ b/kenlm/util/sorted_uniform.hh @@ -5,7 +5,7 @@ #include <cstddef> #include <assert.h> -#include <inttypes.h> +#include <stdint.h> namespace util { |