mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-09-11 11:25:40 +03:00
visual studio
This commit is contained in:
parent
d97cf2d9a5
commit
953f2200ff
146
kenlm/kenlm.vcxproj
Normal file
146
kenlm/kenlm.vcxproj
Normal file
@ -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>
|
@ -13,7 +13,7 @@
|
||||
#ifndef LM_BHIKSHA__
|
||||
#define LM_BHIKSHA__
|
||||
|
||||
#include <inttypes.h>
|
||||
#include <stdint.h>
|
||||
#include <assert.h>
|
||||
|
||||
#include "lm/model_type.hh"
|
||||
|
@ -9,7 +9,7 @@
|
||||
#include <limits>
|
||||
#include <string>
|
||||
|
||||
#include <inttypes.h>
|
||||
#include <stdint.h>
|
||||
|
||||
namespace lm {
|
||||
namespace ngram {
|
||||
|
@ -12,7 +12,7 @@
|
||||
#include <cstddef>
|
||||
#include <vector>
|
||||
|
||||
#include <inttypes.h>
|
||||
#include <stdint.h>
|
||||
|
||||
namespace lm {
|
||||
namespace ngram {
|
||||
|
@ -3,7 +3,7 @@
|
||||
|
||||
#include <limits>
|
||||
|
||||
#include <inttypes.h>
|
||||
#include <stdint.h>
|
||||
#include <math.h>
|
||||
|
||||
namespace lm {
|
||||
|
@ -9,7 +9,7 @@
|
||||
#include <algorithm>
|
||||
#include <vector>
|
||||
|
||||
#include <inttypes.h>
|
||||
#include <stdint.h>
|
||||
|
||||
#include <iostream>
|
||||
|
||||
|
@ -8,7 +8,7 @@
|
||||
|
||||
#include <ctype.h>
|
||||
#include <string.h>
|
||||
#include <inttypes.h>
|
||||
#include <stdint.h>
|
||||
|
||||
namespace lm {
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#ifndef LM_RETURN__
|
||||
#define LM_RETURN__
|
||||
|
||||
#include <inttypes.h>
|
||||
#include <stdint.h>
|
||||
|
||||
namespace lm {
|
||||
/* Structure returned by scoring routines. */
|
||||
|
@ -1,7 +1,7 @@
|
||||
#ifndef LM_TRIE__
|
||||
#define LM_TRIE__
|
||||
|
||||
#include <inttypes.h>
|
||||
#include <stdint.h>
|
||||
|
||||
#include <cstddef>
|
||||
|
||||
|
@ -14,7 +14,7 @@
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#include <inttypes.h>
|
||||
#include <stdint.h>
|
||||
|
||||
namespace util {
|
||||
class FilePiece;
|
||||
|
@ -27,7 +27,7 @@
|
||||
#include <arpa/nameser_compat.h>
|
||||
#endif
|
||||
|
||||
#include <inttypes.h>
|
||||
#include <stdint.h>
|
||||
|
||||
#include <string.h>
|
||||
|
||||
|
@ -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>
|
||||
|
@ -7,7 +7,7 @@
|
||||
#include <cstddef>
|
||||
#include <cstring>
|
||||
|
||||
#include <inttypes.h>
|
||||
#include <stdint.h>
|
||||
|
||||
namespace util {
|
||||
|
||||
|
@ -6,7 +6,7 @@
|
||||
#include <functional>
|
||||
#include <string>
|
||||
|
||||
#include <inttypes.h>
|
||||
#include <stdint.h>
|
||||
#include <string.h>
|
||||
|
||||
namespace util {
|
||||
|
@ -5,7 +5,7 @@
|
||||
#include <cstddef>
|
||||
|
||||
#include <assert.h>
|
||||
#include <inttypes.h>
|
||||
#include <stdint.h>
|
||||
|
||||
namespace util {
|
||||
|
||||
|
16
moses.sln
16
moses.sln
@ -8,14 +8,8 @@ EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "moses", "moses\moses.vcxproj", "{8122157A-0DE5-44FF-8E5B-024ED6ACE7AF}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "moses-chart-cmd", "moses-chart-cmd\moses-chart-cmd.vcxproj", "{C3AF5C05-D4EC-41D2-8319-D1E69B9B5820}"
|
||||
ProjectSection(ProjectDependencies) = postProject
|
||||
{42D29D99-FC9A-4860-BD84-7148BEF1DBD3} = {42D29D99-FC9A-4860-BD84-7148BEF1DBD3}
|
||||
EndProjectSection
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "moses-cmd", "moses-cmd\moses-cmd.vcxproj", "{E2233DB1-5592-46FE-9420-E529420612FA}"
|
||||
ProjectSection(ProjectDependencies) = postProject
|
||||
{42D29D99-FC9A-4860-BD84-7148BEF1DBD3} = {42D29D99-FC9A-4860-BD84-7148BEF1DBD3}
|
||||
EndProjectSection
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "OnDiskPt", "OnDiskPt\OnDiskPt.vcxproj", "{8B07671B-CBAF-4514-AFFD-CE238CD427E9}"
|
||||
EndProject
|
||||
@ -31,7 +25,7 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "extract-rules", "scripts\tr
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "score", "scripts\training\phrase-extract\score.vcxproj", "{34AC84C7-62A1-4BBE-BCA9-4E95B2341039}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "kenlm", "kenlm\kenlm.vcxproj", "{42D29D99-FC9A-4860-BD84-7148BEF1DBD3}"
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "kenlm", "kenlm\kenlm.vcxproj", "{E834D71C-5D5F-4FB4-A361-88694C438FF9}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
@ -87,10 +81,10 @@ Global
|
||||
{34AC84C7-62A1-4BBE-BCA9-4E95B2341039}.Debug|Win32.Build.0 = Debug|Win32
|
||||
{34AC84C7-62A1-4BBE-BCA9-4E95B2341039}.Release|Win32.ActiveCfg = Release|Win32
|
||||
{34AC84C7-62A1-4BBE-BCA9-4E95B2341039}.Release|Win32.Build.0 = Release|Win32
|
||||
{42D29D99-FC9A-4860-BD84-7148BEF1DBD3}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||
{42D29D99-FC9A-4860-BD84-7148BEF1DBD3}.Debug|Win32.Build.0 = Debug|Win32
|
||||
{42D29D99-FC9A-4860-BD84-7148BEF1DBD3}.Release|Win32.ActiveCfg = Release|Win32
|
||||
{42D29D99-FC9A-4860-BD84-7148BEF1DBD3}.Release|Win32.Build.0 = Release|Win32
|
||||
{E834D71C-5D5F-4FB4-A361-88694C438FF9}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||
{E834D71C-5D5F-4FB4-A361-88694C438FF9}.Debug|Win32.Build.0 = Debug|Win32
|
||||
{E834D71C-5D5F-4FB4-A361-88694C438FF9}.Release|Win32.ActiveCfg = Release|Win32
|
||||
{E834D71C-5D5F-4FB4-A361-88694C438FF9}.Release|Win32.Build.0 = Release|Win32
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
|
Loading…
Reference in New Issue
Block a user