mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-09-11 11:25:40 +03:00
add --sort-batch-size arg to train-model.perl
This commit is contained in:
parent
df6c71a276
commit
5ae2a24878
@ -55,10 +55,10 @@
|
||||
</PrecompiledHeader>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<DebugInformationFormat>EditAndContinue</DebugInformationFormat>
|
||||
<AdditionalIncludeDirectories>C:\Program Files\boost\boost_1_47;$(SolutionDir)/moses/src;$(SolutionDir);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<AdditionalIncludeDirectories>C:\Program Files\boost\boost_1_47;$(SolutionDir)/../../moses/src;$(SolutionDir)/../..;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<AdditionalDependencies>zdll.lib;$(SolutionDir)$(Configuration)\moses.lib;$(SolutionDir)$(Configuration)\kenlm.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
<AdditionalDependencies>zdll.lib;$(SolutionDir)/$(Configuration)/moses.lib;$(SolutionDir)/$(Configuration)/kenlm.lib;$(SolutionDir)/$(Configuration)/OnDiskPt.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<SubSystem>Console</SubSystem>
|
||||
<TargetMachine>MachineX86</TargetMachine>
|
||||
@ -75,10 +75,10 @@
|
||||
</PrecompiledHeader>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||
<AdditionalIncludeDirectories>C:\Program Files\boost\boost_1_47;$(SolutionDir)/moses/src;$(SolutionDir);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<AdditionalIncludeDirectories>C:\Program Files\boost\boost_1_47;$(SolutionDir)/../../moses/src;$(SolutionDir)/../..;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<AdditionalDependencies>zdll.lib;$(SolutionDir)$(Configuration)\moses.lib;$(SolutionDir)$(Configuration)\kenlm.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
<AdditionalDependencies>zdll.lib;$(SolutionDir)/$(Configuration)/moses.lib;$(SolutionDir)/$(Configuration)/kenlm.lib;$(SolutionDir)/$(Configuration)/OnDiskPt.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<SubSystem>Console</SubSystem>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
@ -87,20 +87,12 @@
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="src\Main.cpp" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="src\Main.h" />
|
||||
<ClInclude Include="..\..\OnDiskPt\Main.h" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\moses\moses.vcxproj">
|
||||
<Project>{8122157a-0de5-44ff-8e5b-024ed6ace7af}</Project>
|
||||
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\OnDiskPt\OnDiskPt.vcxproj">
|
||||
<Project>{8b07671b-cbaf-4514-affd-ce238cd427e9}</Project>
|
||||
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
|
||||
</ProjectReference>
|
||||
<ClCompile Include="..\..\OnDiskPt\Main.cpp" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
<ImportGroup Label="ExtensionTargets">
|
||||
|
@ -10,6 +10,28 @@
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="..\..\OnDiskPt\Main.h" />
|
||||
<ClInclude Include="..\..\OnDiskPt\OnDiskWrapper.h" />
|
||||
<ClInclude Include="..\..\OnDiskPt\Phrase.h" />
|
||||
<ClInclude Include="..\..\OnDiskPt\PhraseNode.h" />
|
||||
<ClInclude Include="..\..\OnDiskPt\SourcePhrase.h" />
|
||||
<ClInclude Include="..\..\OnDiskPt\TargetPhrase.h" />
|
||||
<ClInclude Include="..\..\OnDiskPt\TargetPhraseCollection.h" />
|
||||
<ClInclude Include="..\..\OnDiskPt\Vocab.h" />
|
||||
<ClInclude Include="..\..\OnDiskPt\Word.h" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="..\..\OnDiskPt\Main.cpp" />
|
||||
<ClCompile Include="..\..\OnDiskPt\OnDiskWrapper.cpp" />
|
||||
<ClCompile Include="..\..\OnDiskPt\Phrase.cpp" />
|
||||
<ClCompile Include="..\..\OnDiskPt\PhraseNode.cpp" />
|
||||
<ClCompile Include="..\..\OnDiskPt\SourcePhrase.cpp" />
|
||||
<ClCompile Include="..\..\OnDiskPt\TargetPhrase.cpp" />
|
||||
<ClCompile Include="..\..\OnDiskPt\TargetPhraseCollection.cpp" />
|
||||
<ClCompile Include="..\..\OnDiskPt\Vocab.cpp" />
|
||||
<ClCompile Include="..\..\OnDiskPt\Word.cpp" />
|
||||
</ItemGroup>
|
||||
<PropertyGroup Label="Globals">
|
||||
<ProjectGuid>{8B07671B-CBAF-4514-AFFD-CE238CD427E9}</ProjectGuid>
|
||||
<RootNamespace>OnDiskPt</RootNamespace>
|
||||
@ -55,7 +77,7 @@
|
||||
</PrecompiledHeader>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<DebugInformationFormat>EditAndContinue</DebugInformationFormat>
|
||||
<AdditionalIncludeDirectories>$(SolutionDir)/moses/src;$(SolutionDir)/kenlm;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<AdditionalIncludeDirectories>$(SolutionDir)/../../moses/src;$(SolutionDir)/../..;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
</ClCompile>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
@ -69,29 +91,9 @@
|
||||
</PrecompiledHeader>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||
<AdditionalIncludeDirectories>$(SolutionDir)/moses/src;$(SolutionDir)/kenlm;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<AdditionalIncludeDirectories>$(SolutionDir)/../../moses/src;$(SolutionDir)/../..;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
</ClCompile>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="src\OnDiskWrapper.cpp" />
|
||||
<ClCompile Include="src\Phrase.cpp" />
|
||||
<ClCompile Include="src\PhraseNode.cpp" />
|
||||
<ClCompile Include="src\SourcePhrase.cpp" />
|
||||
<ClCompile Include="src\TargetPhrase.cpp" />
|
||||
<ClCompile Include="src\TargetPhraseCollection.cpp" />
|
||||
<ClCompile Include="src\Vocab.cpp" />
|
||||
<ClCompile Include="src\Word.cpp" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="src\OnDiskWrapper.h" />
|
||||
<ClInclude Include="src\Phrase.h" />
|
||||
<ClInclude Include="src\PhraseNode.h" />
|
||||
<ClInclude Include="src\SourcePhrase.h" />
|
||||
<ClInclude Include="src\TargetPhrase.h" />
|
||||
<ClInclude Include="src\TargetPhraseCollection.h" />
|
||||
<ClInclude Include="src\Vocab.h" />
|
||||
<ClInclude Include="src\Word.h" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
<ImportGroup Label="ExtensionTargets">
|
||||
</ImportGroup>
|
||||
|
316
contrib/other-builds/kenlm.vcxproj
Normal file → Executable file
316
contrib/other-builds/kenlm.vcxproj
Normal file → Executable file
@ -1,159 +1,159 @@
|
||||
<?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>
|
||||
<ItemGroup>
|
||||
<None Include="..\..\lm\bhiksha.hh" />
|
||||
<None Include="..\..\lm\binary_format.hh" />
|
||||
<None Include="..\..\lm\blank.hh" />
|
||||
<None Include="..\..\lm\clean.sh" />
|
||||
<None Include="..\..\lm\compile.sh" />
|
||||
<None Include="..\..\lm\config.hh" />
|
||||
<None Include="..\..\lm\COPYING" />
|
||||
<None Include="..\..\lm\COPYING.LESSER" />
|
||||
<None Include="..\..\lm\enumerate_vocab.hh" />
|
||||
<None Include="..\..\lm\facade.hh" />
|
||||
<None Include="..\..\lm\Jamfile" />
|
||||
<None Include="..\..\lm\left.hh" />
|
||||
<None Include="..\..\lm\LICENSE" />
|
||||
<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\README" />
|
||||
<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.sh" />
|
||||
<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="..\..\util\bit_packing.hh" />
|
||||
<None Include="..\..\util\check.hh" />
|
||||
<None Include="..\..\util\COPYING" />
|
||||
<None Include="..\..\util\COPYING.LESSER" />
|
||||
<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\Jamfile" />
|
||||
<None Include="..\..\util\joint_sort.hh" />
|
||||
<None Include="..\..\util\key_value_packing.hh" />
|
||||
<None Include="..\..\util\LICENSE" />
|
||||
<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\left_test.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\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\getopt.c" />
|
||||
<ClCompile Include="..\..\util\mmap.cc" />
|
||||
<ClCompile Include="..\..\util\murmur_hash.cc" />
|
||||
</ItemGroup>
|
||||
<PropertyGroup Label="Globals">
|
||||
<ProjectGuid>{A5402E0B-6ED7-465C-9669-E4124A0CDDCB}</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>C:\Program Files\boost\boost_1_47;$(SolutionDir)/../..</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>C:\Program Files\boost\boost_1_47;$(SolutionDir)/../..</AdditionalIncludeDirectories>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
<ImportGroup Label="ExtensionTargets">
|
||||
</ImportGroup>
|
||||
<?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>
|
||||
<ItemGroup>
|
||||
<None Include="..\..\lm\bhiksha.hh" />
|
||||
<None Include="..\..\lm\binary_format.hh" />
|
||||
<None Include="..\..\lm\blank.hh" />
|
||||
<None Include="..\..\lm\clean.sh" />
|
||||
<None Include="..\..\lm\compile.sh" />
|
||||
<None Include="..\..\lm\config.hh" />
|
||||
<None Include="..\..\lm\COPYING" />
|
||||
<None Include="..\..\lm\COPYING.LESSER" />
|
||||
<None Include="..\..\lm\enumerate_vocab.hh" />
|
||||
<None Include="..\..\lm\facade.hh" />
|
||||
<None Include="..\..\lm\Jamfile" />
|
||||
<None Include="..\..\lm\left.hh" />
|
||||
<None Include="..\..\lm\LICENSE" />
|
||||
<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\README" />
|
||||
<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.sh" />
|
||||
<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="..\..\util\bit_packing.hh" />
|
||||
<None Include="..\..\util\check.hh" />
|
||||
<None Include="..\..\util\COPYING" />
|
||||
<None Include="..\..\util\COPYING.LESSER" />
|
||||
<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\Jamfile" />
|
||||
<None Include="..\..\util\joint_sort.hh" />
|
||||
<None Include="..\..\util\key_value_packing.hh" />
|
||||
<None Include="..\..\util\LICENSE" />
|
||||
<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\left_test.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\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\getopt.c" />
|
||||
<ClCompile Include="..\..\util\mmap.cc" />
|
||||
<ClCompile Include="..\..\util\murmur_hash.cc" />
|
||||
</ItemGroup>
|
||||
<PropertyGroup Label="Globals">
|
||||
<ProjectGuid>{A5402E0B-6ED7-465C-9669-E4124A0CDDCB}</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>C:\Program Files\boost\boost_1_47;$(SolutionDir)/../..</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>C:\Program Files\boost\boost_1_47;$(SolutionDir)/../..</AdditionalIncludeDirectories>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
<ImportGroup Label="ExtensionTargets">
|
||||
</ImportGroup>
|
||||
</Project>
|
@ -47,7 +47,7 @@
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
<ClCompile>
|
||||
<Optimization>Disabled</Optimization>
|
||||
<AdditionalIncludeDirectories>C:\Program Files\boost\boost_1_47;$(SolutionDir)/moses/src;$(SolutionDir)/kenlm;$(SolutionDir);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<AdditionalIncludeDirectories>C:\Program Files\boost\boost_1_47;$(SolutionDir)/../../moses/src;$(SolutionDir)/../..;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<MinimalRebuild>true</MinimalRebuild>
|
||||
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
||||
@ -58,7 +58,7 @@
|
||||
<DebugInformationFormat>EditAndContinue</DebugInformationFormat>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<AdditionalDependencies>zdll.lib;$(SolutionDir)$(Configuration)\moses.lib;$(SolutionDir)$(Configuration)\kenlm.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
<AdditionalDependencies>zdll.lib;$(SolutionDir)$(Configuration)\moses.lib;$(SolutionDir)$(Configuration)\kenlm.lib;$(SolutionDir)$(Configuration)\OnDiskPt.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<SubSystem>Console</SubSystem>
|
||||
<RandomizedBaseAddress>false</RandomizedBaseAddress>
|
||||
@ -69,7 +69,7 @@
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
<ClCompile>
|
||||
<AdditionalIncludeDirectories>C:\Program Files\boost\boost_1_47;$(SolutionDir)/moses/src;$(SolutionDir)/kenlm;$(SolutionDir);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<AdditionalIncludeDirectories>C:\Program Files\boost\boost_1_47;$(SolutionDir)/../../moses/src;$(SolutionDir)/../..;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
|
||||
<PrecompiledHeader>
|
||||
@ -78,7 +78,7 @@
|
||||
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<AdditionalDependencies>zdll.lib;$(SolutionDir)$(Configuration)\moses.lib;$(SolutionDir)$(Configuration)\kenlm.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
<AdditionalDependencies>zdll.lib;$(SolutionDir)$(Configuration)\moses.lib;$(SolutionDir)$(Configuration)\kenlm.lib;$(SolutionDir)$(Configuration)\OnDiskPt.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<SubSystem>Console</SubSystem>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
@ -90,28 +90,20 @@
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="src\IOWrapper.h" />
|
||||
<ClInclude Include="src\LatticeMBR.h" />
|
||||
<ClInclude Include="src\Main.h" />
|
||||
<ClInclude Include="src\mbr.h" />
|
||||
<ClInclude Include="src\TranslationAnalysis.h" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="src\IOWrapper.cpp" />
|
||||
<ClCompile Include="src\LatticeMBR.cpp" />
|
||||
<ClCompile Include="src\Main.cpp" />
|
||||
<ClCompile Include="src\mbr.cpp" />
|
||||
<ClCompile Include="src\TranslationAnalysis.cpp" />
|
||||
<ClInclude Include="..\..\moses-cmd\src\IOWrapper.h" />
|
||||
<ClInclude Include="..\..\moses-cmd\src\LatticeMBR.h" />
|
||||
<ClInclude Include="..\..\moses-cmd\src\Main.h" />
|
||||
<ClInclude Include="..\..\moses-cmd\src\mbr.h" />
|
||||
<ClInclude Include="..\..\moses-cmd\src\TranslationAnalysis.h" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\moses\moses.vcxproj">
|
||||
<Project>{8122157a-0de5-44ff-8e5b-024ed6ace7af}</Project>
|
||||
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\OnDiskPt\OnDiskPt.vcxproj">
|
||||
<Project>{8b07671b-cbaf-4514-affd-ce238cd427e9}</Project>
|
||||
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
|
||||
</ProjectReference>
|
||||
<ClCompile Include="..\..\moses-cmd\src\IOWrapper.cpp" />
|
||||
<ClCompile Include="..\..\moses-cmd\src\LatticeMBR.cpp" />
|
||||
<ClCompile Include="..\..\moses-cmd\src\Main.cpp" />
|
||||
<ClCompile Include="..\..\moses-cmd\src\mbr.cpp" />
|
||||
<ClCompile Include="..\..\moses-cmd\src\TranslationAnalysis.cpp" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
<ImportGroup Label="ExtensionTargets">
|
||||
|
@ -1,31 +1,24 @@
|
||||
|
||||
Microsoft Visual Studio Solution File, Format Version 11.00
|
||||
# Visual C++ Express 2010
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "processLexicalTable", "misc\processLexicalTable.vcxproj", "{9834EABB-2033-4607-9DAC-36D16E0725B5}"
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "moses", "moses.vcxproj", "{8122157A-0DE5-44FF-8E5B-024ED6ACE7AF}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "processPhraseTable", "misc\processPhraseTable.vcxproj", "{AA230564-6DF1-4662-9BF9-7AD73DE53B76}"
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "OnDiskPt", "OnDiskPt.vcxproj", "{8B07671B-CBAF-4514-AFFD-CE238CD427E9}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "moses", "moses\moses.vcxproj", "{8122157A-0DE5-44FF-8E5B-024ED6ACE7AF}"
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "moses-cmd", "moses-cmd.vcxproj", "{E2233DB1-5592-46FE-9420-E529420612FA}"
|
||||
ProjectSection(ProjectDependencies) = postProject
|
||||
{A5402E0B-6ED7-465C-9669-E4124A0CDDCB} = {A5402E0B-6ED7-465C-9669-E4124A0CDDCB}
|
||||
{8B07671B-CBAF-4514-AFFD-CE238CD427E9} = {8B07671B-CBAF-4514-AFFD-CE238CD427E9}
|
||||
{8122157A-0DE5-44FF-8E5B-024ED6ACE7AF} = {8122157A-0DE5-44FF-8E5B-024ED6ACE7AF}
|
||||
EndProjectSection
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "moses-chart-cmd", "moses-chart-cmd\moses-chart-cmd.vcxproj", "{C3AF5C05-D4EC-41D2-8319-D1E69B9B5820}"
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "CreateOnDisk", "CreateOnDisk.vcxproj", "{88AE90C9-72D2-42ED-8389-770ACDCD4308}"
|
||||
ProjectSection(ProjectDependencies) = postProject
|
||||
{8B07671B-CBAF-4514-AFFD-CE238CD427E9} = {8B07671B-CBAF-4514-AFFD-CE238CD427E9}
|
||||
{8122157A-0DE5-44FF-8E5B-024ED6ACE7AF} = {8122157A-0DE5-44FF-8E5B-024ED6ACE7AF}
|
||||
EndProjectSection
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "moses-cmd", "moses-cmd\moses-cmd.vcxproj", "{E2233DB1-5592-46FE-9420-E529420612FA}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "OnDiskPt", "OnDiskPt\OnDiskPt.vcxproj", "{8B07671B-CBAF-4514-AFFD-CE238CD427E9}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "CreateOnDisk", "CreateOnDisk\CreateOnDisk.vcxproj", "{88AE90C9-72D2-42ED-8389-770ACDCD4308}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "consolidate", "scripts\training\phrase-extract\consolidate.vcxproj", "{45410EFE-65C0-4078-82E4-D636258F9225}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "consolidate-direct", "scripts\training\phrase-extract\consolidate-direct.vcxproj", "{33775109-60CF-4C1C-A869-5450B3DD88B3}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "extract", "scripts\training\phrase-extract\extract.vcxproj", "{2475F8E8-A5C9-4785-8B09-5F4E120FC518}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "extract-rules", "scripts\training\phrase-extract\extract-rules.vcxproj", "{3C5CFAEC-6830-4491-9008-1C9E8C381C50}"
|
||||
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", "{E834D71C-5D5F-4FB4-A361-88694C438FF9}"
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "kenlm", "kenlm.vcxproj", "{A5402E0B-6ED7-465C-9669-E4124A0CDDCB}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
@ -33,58 +26,26 @@ Global
|
||||
Release|Win32 = Release|Win32
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{9834EABB-2033-4607-9DAC-36D16E0725B5}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||
{9834EABB-2033-4607-9DAC-36D16E0725B5}.Debug|Win32.Build.0 = Debug|Win32
|
||||
{9834EABB-2033-4607-9DAC-36D16E0725B5}.Release|Win32.ActiveCfg = Release|Win32
|
||||
{9834EABB-2033-4607-9DAC-36D16E0725B5}.Release|Win32.Build.0 = Release|Win32
|
||||
{AA230564-6DF1-4662-9BF9-7AD73DE53B76}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||
{AA230564-6DF1-4662-9BF9-7AD73DE53B76}.Debug|Win32.Build.0 = Debug|Win32
|
||||
{AA230564-6DF1-4662-9BF9-7AD73DE53B76}.Release|Win32.ActiveCfg = Release|Win32
|
||||
{AA230564-6DF1-4662-9BF9-7AD73DE53B76}.Release|Win32.Build.0 = Release|Win32
|
||||
{8122157A-0DE5-44FF-8E5B-024ED6ACE7AF}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||
{8122157A-0DE5-44FF-8E5B-024ED6ACE7AF}.Debug|Win32.Build.0 = Debug|Win32
|
||||
{8122157A-0DE5-44FF-8E5B-024ED6ACE7AF}.Release|Win32.ActiveCfg = Release|Win32
|
||||
{8122157A-0DE5-44FF-8E5B-024ED6ACE7AF}.Release|Win32.Build.0 = Release|Win32
|
||||
{C3AF5C05-D4EC-41D2-8319-D1E69B9B5820}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||
{C3AF5C05-D4EC-41D2-8319-D1E69B9B5820}.Debug|Win32.Build.0 = Debug|Win32
|
||||
{C3AF5C05-D4EC-41D2-8319-D1E69B9B5820}.Release|Win32.ActiveCfg = Release|Win32
|
||||
{C3AF5C05-D4EC-41D2-8319-D1E69B9B5820}.Release|Win32.Build.0 = Release|Win32
|
||||
{E2233DB1-5592-46FE-9420-E529420612FA}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||
{E2233DB1-5592-46FE-9420-E529420612FA}.Debug|Win32.Build.0 = Debug|Win32
|
||||
{E2233DB1-5592-46FE-9420-E529420612FA}.Release|Win32.ActiveCfg = Release|Win32
|
||||
{E2233DB1-5592-46FE-9420-E529420612FA}.Release|Win32.Build.0 = Release|Win32
|
||||
{8B07671B-CBAF-4514-AFFD-CE238CD427E9}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||
{8B07671B-CBAF-4514-AFFD-CE238CD427E9}.Debug|Win32.Build.0 = Debug|Win32
|
||||
{8B07671B-CBAF-4514-AFFD-CE238CD427E9}.Release|Win32.ActiveCfg = Release|Win32
|
||||
{8B07671B-CBAF-4514-AFFD-CE238CD427E9}.Release|Win32.Build.0 = Release|Win32
|
||||
{E2233DB1-5592-46FE-9420-E529420612FA}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||
{E2233DB1-5592-46FE-9420-E529420612FA}.Debug|Win32.Build.0 = Debug|Win32
|
||||
{E2233DB1-5592-46FE-9420-E529420612FA}.Release|Win32.ActiveCfg = Release|Win32
|
||||
{E2233DB1-5592-46FE-9420-E529420612FA}.Release|Win32.Build.0 = Release|Win32
|
||||
{88AE90C9-72D2-42ED-8389-770ACDCD4308}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||
{88AE90C9-72D2-42ED-8389-770ACDCD4308}.Debug|Win32.Build.0 = Debug|Win32
|
||||
{88AE90C9-72D2-42ED-8389-770ACDCD4308}.Release|Win32.ActiveCfg = Release|Win32
|
||||
{88AE90C9-72D2-42ED-8389-770ACDCD4308}.Release|Win32.Build.0 = Release|Win32
|
||||
{45410EFE-65C0-4078-82E4-D636258F9225}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||
{45410EFE-65C0-4078-82E4-D636258F9225}.Debug|Win32.Build.0 = Debug|Win32
|
||||
{45410EFE-65C0-4078-82E4-D636258F9225}.Release|Win32.ActiveCfg = Release|Win32
|
||||
{45410EFE-65C0-4078-82E4-D636258F9225}.Release|Win32.Build.0 = Release|Win32
|
||||
{33775109-60CF-4C1C-A869-5450B3DD88B3}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||
{33775109-60CF-4C1C-A869-5450B3DD88B3}.Debug|Win32.Build.0 = Debug|Win32
|
||||
{33775109-60CF-4C1C-A869-5450B3DD88B3}.Release|Win32.ActiveCfg = Release|Win32
|
||||
{33775109-60CF-4C1C-A869-5450B3DD88B3}.Release|Win32.Build.0 = Release|Win32
|
||||
{2475F8E8-A5C9-4785-8B09-5F4E120FC518}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||
{2475F8E8-A5C9-4785-8B09-5F4E120FC518}.Debug|Win32.Build.0 = Debug|Win32
|
||||
{2475F8E8-A5C9-4785-8B09-5F4E120FC518}.Release|Win32.ActiveCfg = Release|Win32
|
||||
{2475F8E8-A5C9-4785-8B09-5F4E120FC518}.Release|Win32.Build.0 = Release|Win32
|
||||
{3C5CFAEC-6830-4491-9008-1C9E8C381C50}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||
{3C5CFAEC-6830-4491-9008-1C9E8C381C50}.Debug|Win32.Build.0 = Debug|Win32
|
||||
{3C5CFAEC-6830-4491-9008-1C9E8C381C50}.Release|Win32.ActiveCfg = Release|Win32
|
||||
{3C5CFAEC-6830-4491-9008-1C9E8C381C50}.Release|Win32.Build.0 = Release|Win32
|
||||
{34AC84C7-62A1-4BBE-BCA9-4E95B2341039}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||
{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
|
||||
{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
|
||||
{A5402E0B-6ED7-465C-9669-E4124A0CDDCB}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||
{A5402E0B-6ED7-465C-9669-E4124A0CDDCB}.Debug|Win32.Build.0 = Debug|Win32
|
||||
{A5402E0B-6ED7-465C-9669-E4124A0CDDCB}.Release|Win32.ActiveCfg = Release|Win32
|
||||
{A5402E0B-6ED7-465C-9669-E4124A0CDDCB}.Release|Win32.Build.0 = Release|Win32
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
|
@ -10,6 +10,254 @@
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="..\..\moses\src\AlignmentInfo.h" />
|
||||
<ClInclude Include="..\..\moses\src\AlignmentInfoCollection.h" />
|
||||
<ClInclude Include="..\..\moses\src\BitmapContainer.h" />
|
||||
<ClInclude Include="..\..\moses\src\CellCollection.h" />
|
||||
<ClInclude Include="..\..\moses\src\ChartCell.h" />
|
||||
<ClInclude Include="..\..\moses\src\ChartCellCollection.h" />
|
||||
<ClInclude Include="..\..\moses\src\ChartCellLabel.h" />
|
||||
<ClInclude Include="..\..\moses\src\ChartCellLabelSet.h" />
|
||||
<ClInclude Include="..\..\moses\src\ChartHypothesis.h" />
|
||||
<ClInclude Include="..\..\moses\src\ChartHypothesisCollection.h" />
|
||||
<ClInclude Include="..\..\moses\src\ChartManager.h" />
|
||||
<ClInclude Include="..\..\moses\src\ChartRuleLookupManager.h" />
|
||||
<ClInclude Include="..\..\moses\src\ChartRuleLookupManagerMemory.h" />
|
||||
<ClInclude Include="..\..\moses\src\ChartRuleLookupManagerOnDisk.h" />
|
||||
<ClInclude Include="..\..\moses\src\ChartTranslationOption.h" />
|
||||
<ClInclude Include="..\..\moses\src\ChartTranslationOptionCollection.h" />
|
||||
<ClInclude Include="..\..\moses\src\ChartTranslationOptionList.h" />
|
||||
<ClInclude Include="..\..\moses\src\ChartTrellisDetour.h" />
|
||||
<ClInclude Include="..\..\moses\src\ChartTrellisDetourQueue.h" />
|
||||
<ClInclude Include="..\..\moses\src\ChartTrellisNode.h" />
|
||||
<ClInclude Include="..\..\moses\src\ChartTrellisPath.h" />
|
||||
<ClInclude Include="..\..\moses\src\ChartTrellisPathList.h" />
|
||||
<ClInclude Include="..\..\moses\src\ConfusionNet.h" />
|
||||
<ClInclude Include="..\..\moses\src\DecodeFeature.h" />
|
||||
<ClInclude Include="..\..\moses\src\DecodeGraph.h" />
|
||||
<ClInclude Include="..\..\moses\src\DecodeStep.h" />
|
||||
<ClInclude Include="..\..\moses\src\DecodeStepGeneration.h" />
|
||||
<ClInclude Include="..\..\moses\src\DecodeStepTranslation.h" />
|
||||
<ClInclude Include="..\..\moses\src\Dictionary.h" />
|
||||
<ClInclude Include="..\..\moses\src\DotChart.h" />
|
||||
<ClInclude Include="..\..\moses\src\DotChartInMemory.h" />
|
||||
<ClInclude Include="..\..\moses\src\DotChartOnDisk.h" />
|
||||
<ClInclude Include="..\..\moses\src\DummyScoreProducers.h" />
|
||||
<ClInclude Include="..\..\moses\src\DynSuffixArray.h" />
|
||||
<ClInclude Include="..\..\moses\src\Factor.h" />
|
||||
<ClInclude Include="..\..\moses\src\FactorCollection.h" />
|
||||
<ClInclude Include="..\..\moses\src\FactorTypeSet.h" />
|
||||
<ClInclude Include="..\..\moses\src\FeatureFunction.h" />
|
||||
<ClInclude Include="..\..\moses\src\FFState.h" />
|
||||
<ClInclude Include="..\..\moses\src\File.h" />
|
||||
<ClInclude Include="..\..\moses\src\FilePtr.h" />
|
||||
<ClInclude Include="..\..\moses\src\FloydWarshall.h" />
|
||||
<ClInclude Include="..\..\moses\src\GenerationDictionary.h" />
|
||||
<ClInclude Include="..\..\moses\src\GlobalLexicalModel.h" />
|
||||
<ClInclude Include="..\..\moses\src\gzfilebuf.h" />
|
||||
<ClInclude Include="..\..\moses\src\hash.h" />
|
||||
<ClInclude Include="..\..\moses\src\Hypothesis.h" />
|
||||
<ClInclude Include="..\..\moses\src\HypothesisStack.h" />
|
||||
<ClInclude Include="..\..\moses\src\HypothesisStackCubePruning.h" />
|
||||
<ClInclude Include="..\..\moses\src\HypothesisStackNormal.h" />
|
||||
<ClInclude Include="..\..\moses\src\InputFileStream.h" />
|
||||
<ClInclude Include="..\..\moses\src\InputType.h" />
|
||||
<ClInclude Include="..\..\moses\src\LexicalReordering.h" />
|
||||
<ClInclude Include="..\..\moses\src\LexicalReorderingState.h" />
|
||||
<ClInclude Include="..\..\moses\src\LexicalReorderingTable.h" />
|
||||
<ClInclude Include="..\..\moses\src\LMList.h" />
|
||||
<ClInclude Include="..\..\moses\src\LM\Base.h" />
|
||||
<ClInclude Include="..\..\moses\src\LM\Factory.h" />
|
||||
<ClInclude Include="..\..\moses\src\LM\Implementation.h" />
|
||||
<ClInclude Include="..\..\moses\src\LM\Joint.h" />
|
||||
<ClInclude Include="..\..\moses\src\LM\Ken.h" />
|
||||
<ClInclude Include="..\..\moses\src\LM\MultiFactor.h" />
|
||||
<ClInclude Include="..\..\moses\src\LM\SingleFactor.h" />
|
||||
<ClInclude Include="..\..\moses\src\LVoc.h" />
|
||||
<ClInclude Include="..\..\moses\src\Manager.h" />
|
||||
<ClInclude Include="..\..\moses\src\NonTerminal.h" />
|
||||
<ClInclude Include="..\..\moses\src\ObjectPool.h" />
|
||||
<ClInclude Include="..\..\moses\src\OutputCollector.h" />
|
||||
<ClInclude Include="..\..\moses\src\Parameter.h" />
|
||||
<ClInclude Include="..\..\moses\src\PartialTranslOptColl.h" />
|
||||
<ClInclude Include="..\..\moses\src\PCNTools.h" />
|
||||
<ClInclude Include="..\..\moses\src\PDTAimp.h" />
|
||||
<ClInclude Include="..\..\moses\src\Phrase.h" />
|
||||
<ClInclude Include="..\..\moses\src\PhraseDictionary.h" />
|
||||
<ClInclude Include="..\..\moses\src\PhraseDictionaryALSuffixArray.h" />
|
||||
<ClInclude Include="..\..\moses\src\PhraseDictionaryDynSuffixArray.h" />
|
||||
<ClInclude Include="..\..\moses\src\PhraseDictionaryMemory.h" />
|
||||
<ClInclude Include="..\..\moses\src\PhraseDictionaryNode.h" />
|
||||
<ClInclude Include="..\..\moses\src\PhraseDictionaryNodeSCFG.h" />
|
||||
<ClInclude Include="..\..\moses\src\PhraseDictionaryOnDisk.h" />
|
||||
<ClInclude Include="..\..\moses\src\PhraseDictionarySCFG.h" />
|
||||
<ClInclude Include="..\..\moses\src\PhraseDictionaryTree.h" />
|
||||
<ClInclude Include="..\..\moses\src\PhraseDictionaryTreeAdaptor.h" />
|
||||
<ClInclude Include="..\..\moses\src\PrefixTree.h" />
|
||||
<ClInclude Include="..\..\moses\src\PrefixTreeMap.h" />
|
||||
<ClInclude Include="..\..\moses\src\ReorderingConstraint.h" />
|
||||
<ClInclude Include="..\..\moses\src\ReorderingStack.h" />
|
||||
<ClInclude Include="..\..\moses\src\RuleCube.h" />
|
||||
<ClInclude Include="..\..\moses\src\RuleCubeItem.h" />
|
||||
<ClInclude Include="..\..\moses\src\RuleCubeQueue.h" />
|
||||
<ClInclude Include="..\..\moses\src\RuleTable\Loader.h" />
|
||||
<ClInclude Include="..\..\moses\src\RuleTable\LoaderCompact.h" />
|
||||
<ClInclude Include="..\..\moses\src\RuleTable\LoaderFactory.h" />
|
||||
<ClInclude Include="..\..\moses\src\RuleTable\LoaderHiero.h" />
|
||||
<ClInclude Include="..\..\moses\src\RuleTable\LoaderStandard.h" />
|
||||
<ClInclude Include="..\..\moses\src\RuleTable\Trie.h" />
|
||||
<ClInclude Include="..\..\moses\src\ScoreComponentCollection.h" />
|
||||
<ClInclude Include="..\..\moses\src\ScoreIndexManager.h" />
|
||||
<ClInclude Include="..\..\moses\src\ScoreProducer.h" />
|
||||
<ClInclude Include="..\..\moses\src\Search.h" />
|
||||
<ClInclude Include="..\..\moses\src\SearchCubePruning.h" />
|
||||
<ClInclude Include="..\..\moses\src\SearchNormal.h" />
|
||||
<ClInclude Include="..\..\moses\src\Sentence.h" />
|
||||
<ClInclude Include="..\..\moses\src\SentenceStats.h" />
|
||||
<ClInclude Include="..\..\moses\src\SquareMatrix.h" />
|
||||
<ClInclude Include="..\..\moses\src\StaticData.h" />
|
||||
<ClInclude Include="..\..\moses\src\TargetPhrase.h" />
|
||||
<ClInclude Include="..\..\moses\src\TargetPhraseCollection.h" />
|
||||
<ClInclude Include="..\..\moses\src\ThreadPool.h" />
|
||||
<ClInclude Include="..\..\moses\src\Timer.h" />
|
||||
<ClInclude Include="..\..\moses\src\TranslationOption.h" />
|
||||
<ClInclude Include="..\..\moses\src\TranslationOptionCollection.h" />
|
||||
<ClInclude Include="..\..\moses\src\TranslationOptionCollectionConfusionNet.h" />
|
||||
<ClInclude Include="..\..\moses\src\TranslationOptionCollectionText.h" />
|
||||
<ClInclude Include="..\..\moses\src\TranslationOptionList.h" />
|
||||
<ClInclude Include="..\..\moses\src\TranslationSystem.h" />
|
||||
<ClInclude Include="..\..\moses\src\TreeInput.h" />
|
||||
<ClInclude Include="..\..\moses\src\TrellisPath.h" />
|
||||
<ClInclude Include="..\..\moses\src\TrellisPathCollection.h" />
|
||||
<ClInclude Include="..\..\moses\src\TrellisPathList.h" />
|
||||
<ClInclude Include="..\..\moses\src\TypeDef.h" />
|
||||
<ClInclude Include="..\..\moses\src\UniqueObject.h" />
|
||||
<ClInclude Include="..\..\moses\src\UserMessage.h" />
|
||||
<ClInclude Include="..\..\moses\src\Util.h" />
|
||||
<ClInclude Include="..\..\moses\src\Word.h" />
|
||||
<ClInclude Include="..\..\moses\src\WordLattice.h" />
|
||||
<ClInclude Include="..\..\moses\src\WordsBitmap.h" />
|
||||
<ClInclude Include="..\..\moses\src\WordsRange.h" />
|
||||
<ClInclude Include="..\..\moses\src\XmlOption.h" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="..\..\moses\src\AlignmentInfo.cpp" />
|
||||
<ClCompile Include="..\..\moses\src\AlignmentInfoCollection.cpp" />
|
||||
<ClCompile Include="..\..\moses\src\BitmapContainer.cpp" />
|
||||
<ClCompile Include="..\..\moses\src\ChartCell.cpp" />
|
||||
<ClCompile Include="..\..\moses\src\ChartCellCollection.cpp" />
|
||||
<ClCompile Include="..\..\moses\src\ChartHypothesis.cpp" />
|
||||
<ClCompile Include="..\..\moses\src\ChartHypothesisCollection.cpp" />
|
||||
<ClCompile Include="..\..\moses\src\ChartManager.cpp" />
|
||||
<ClCompile Include="..\..\moses\src\ChartRuleLookupManager.cpp" />
|
||||
<ClCompile Include="..\..\moses\src\ChartRuleLookupManagerMemory.cpp" />
|
||||
<ClCompile Include="..\..\moses\src\ChartRuleLookupManagerOnDisk.cpp" />
|
||||
<ClCompile Include="..\..\moses\src\ChartTranslationOption.cpp" />
|
||||
<ClCompile Include="..\..\moses\src\ChartTranslationOptionCollection.cpp" />
|
||||
<ClCompile Include="..\..\moses\src\ChartTranslationOptionList.cpp" />
|
||||
<ClCompile Include="..\..\moses\src\ChartTrellisDetour.cpp" />
|
||||
<ClCompile Include="..\..\moses\src\ChartTrellisDetourQueue.cpp" />
|
||||
<ClCompile Include="..\..\moses\src\ChartTrellisNode.cpp" />
|
||||
<ClCompile Include="..\..\moses\src\ChartTrellisPath.cpp" />
|
||||
<ClCompile Include="..\..\moses\src\ConfusionNet.cpp" />
|
||||
<ClCompile Include="..\..\moses\src\DecodeFeature.cpp" />
|
||||
<ClCompile Include="..\..\moses\src\DecodeGraph.cpp" />
|
||||
<ClCompile Include="..\..\moses\src\DecodeStep.cpp" />
|
||||
<ClCompile Include="..\..\moses\src\DecodeStepGeneration.cpp" />
|
||||
<ClCompile Include="..\..\moses\src\DecodeStepTranslation.cpp" />
|
||||
<ClCompile Include="..\..\moses\src\Dictionary.cpp" />
|
||||
<ClCompile Include="..\..\moses\src\DotChart.cpp" />
|
||||
<ClCompile Include="..\..\moses\src\DotChartInMemory.cpp" />
|
||||
<ClCompile Include="..\..\moses\src\DotChartOnDisk.cpp" />
|
||||
<ClCompile Include="..\..\moses\src\DummyScoreProducers.cpp" />
|
||||
<ClCompile Include="..\..\moses\src\DynSuffixArray.cpp" />
|
||||
<ClCompile Include="..\..\moses\src\Factor.cpp" />
|
||||
<ClCompile Include="..\..\moses\src\FactorCollection.cpp" />
|
||||
<ClCompile Include="..\..\moses\src\FactorTypeSet.cpp" />
|
||||
<ClCompile Include="..\..\moses\src\FeatureFunction.cpp" />
|
||||
<ClCompile Include="..\..\moses\src\FFState.cpp" />
|
||||
<ClCompile Include="..\..\moses\src\File.cpp" />
|
||||
<ClCompile Include="..\..\moses\src\FloydWarshall.cpp" />
|
||||
<ClCompile Include="..\..\moses\src\GenerationDictionary.cpp" />
|
||||
<ClCompile Include="..\..\moses\src\GlobalLexicalModel.cpp" />
|
||||
<ClCompile Include="..\..\moses\src\hash.cpp" />
|
||||
<ClCompile Include="..\..\moses\src\Hypothesis.cpp" />
|
||||
<ClCompile Include="..\..\moses\src\HypothesisStack.cpp" />
|
||||
<ClCompile Include="..\..\moses\src\HypothesisStackCubePruning.cpp" />
|
||||
<ClCompile Include="..\..\moses\src\HypothesisStackNormal.cpp" />
|
||||
<ClCompile Include="..\..\moses\src\InputFileStream.cpp" />
|
||||
<ClCompile Include="..\..\moses\src\InputType.cpp" />
|
||||
<ClCompile Include="..\..\moses\src\LexicalReordering.cpp" />
|
||||
<ClCompile Include="..\..\moses\src\LexicalReorderingState.cpp" />
|
||||
<ClCompile Include="..\..\moses\src\LexicalReorderingTable.cpp" />
|
||||
<ClCompile Include="..\..\moses\src\LMList.cpp" />
|
||||
<ClCompile Include="..\..\moses\src\LM\Base.cpp" />
|
||||
<ClCompile Include="..\..\moses\src\LM\Factory.cpp" />
|
||||
<ClCompile Include="..\..\moses\src\LM\Implementation.cpp" />
|
||||
<ClCompile Include="..\..\moses\src\LM\Joint.cpp" />
|
||||
<ClCompile Include="..\..\moses\src\LM\Ken.cpp" />
|
||||
<ClCompile Include="..\..\moses\src\LM\MultiFactor.cpp" />
|
||||
<ClCompile Include="..\..\moses\src\LM\SingleFactor.cpp" />
|
||||
<ClCompile Include="..\..\moses\src\LVoc.cpp" />
|
||||
<ClCompile Include="..\..\moses\src\Manager.cpp" />
|
||||
<ClCompile Include="..\..\moses\src\NonTerminal.cpp" />
|
||||
<ClCompile Include="..\..\moses\src\Parameter.cpp" />
|
||||
<ClCompile Include="..\..\moses\src\PartialTranslOptColl.cpp" />
|
||||
<ClCompile Include="..\..\moses\src\PCNTools.cpp" />
|
||||
<ClCompile Include="..\..\moses\src\Phrase.cpp" />
|
||||
<ClCompile Include="..\..\moses\src\PhraseDictionary.cpp" />
|
||||
<ClCompile Include="..\..\moses\src\PhraseDictionaryALSuffixArray.cpp" />
|
||||
<ClCompile Include="..\..\moses\src\PhraseDictionaryDynSuffixArray.cpp" />
|
||||
<ClCompile Include="..\..\moses\src\PhraseDictionaryMemory.cpp" />
|
||||
<ClCompile Include="..\..\moses\src\PhraseDictionaryNode.cpp" />
|
||||
<ClCompile Include="..\..\moses\src\PhraseDictionaryNodeSCFG.cpp" />
|
||||
<ClCompile Include="..\..\moses\src\PhraseDictionaryOnDisk.cpp" />
|
||||
<ClCompile Include="..\..\moses\src\PhraseDictionarySCFG.cpp" />
|
||||
<ClCompile Include="..\..\moses\src\PhraseDictionaryTree.cpp" />
|
||||
<ClCompile Include="..\..\moses\src\PhraseDictionaryTreeAdaptor.cpp" />
|
||||
<ClCompile Include="..\..\moses\src\PrefixTreeMap.cpp" />
|
||||
<ClCompile Include="..\..\moses\src\ReorderingConstraint.cpp" />
|
||||
<ClCompile Include="..\..\moses\src\ReorderingStack.cpp" />
|
||||
<ClCompile Include="..\..\moses\src\RuleCube.cpp" />
|
||||
<ClCompile Include="..\..\moses\src\RuleCubeItem.cpp" />
|
||||
<ClCompile Include="..\..\moses\src\RuleCubeQueue.cpp" />
|
||||
<ClCompile Include="..\..\moses\src\RuleTable\LoaderCompact.cpp" />
|
||||
<ClCompile Include="..\..\moses\src\RuleTable\LoaderFactory.cpp" />
|
||||
<ClCompile Include="..\..\moses\src\RuleTable\LoaderHiero.cpp" />
|
||||
<ClCompile Include="..\..\moses\src\RuleTable\LoaderStandard.cpp" />
|
||||
<ClCompile Include="..\..\moses\src\RuleTable\Trie.cpp" />
|
||||
<ClCompile Include="..\..\moses\src\ScoreComponentCollection.cpp" />
|
||||
<ClCompile Include="..\..\moses\src\ScoreIndexManager.cpp" />
|
||||
<ClCompile Include="..\..\moses\src\ScoreProducer.cpp" />
|
||||
<ClCompile Include="..\..\moses\src\Search.cpp" />
|
||||
<ClCompile Include="..\..\moses\src\SearchCubePruning.cpp" />
|
||||
<ClCompile Include="..\..\moses\src\SearchNormal.cpp" />
|
||||
<ClCompile Include="..\..\moses\src\Sentence.cpp" />
|
||||
<ClCompile Include="..\..\moses\src\SentenceStats.cpp" />
|
||||
<ClCompile Include="..\..\moses\src\SquareMatrix.cpp" />
|
||||
<ClCompile Include="..\..\moses\src\StaticData.cpp" />
|
||||
<ClCompile Include="..\..\moses\src\TargetPhrase.cpp" />
|
||||
<ClCompile Include="..\..\moses\src\TargetPhraseCollection.cpp" />
|
||||
<ClCompile Include="..\..\moses\src\ThreadPool.cpp" />
|
||||
<ClCompile Include="..\..\moses\src\Timer.cpp" />
|
||||
<ClCompile Include="..\..\moses\src\TranslationOption.cpp" />
|
||||
<ClCompile Include="..\..\moses\src\TranslationOptionCollection.cpp" />
|
||||
<ClCompile Include="..\..\moses\src\TranslationOptionCollectionConfusionNet.cpp" />
|
||||
<ClCompile Include="..\..\moses\src\TranslationOptionCollectionText.cpp" />
|
||||
<ClCompile Include="..\..\moses\src\TranslationOptionList.cpp" />
|
||||
<ClCompile Include="..\..\moses\src\TranslationSystem.cpp" />
|
||||
<ClCompile Include="..\..\moses\src\TreeInput.cpp" />
|
||||
<ClCompile Include="..\..\moses\src\TrellisPath.cpp" />
|
||||
<ClCompile Include="..\..\moses\src\TrellisPathCollection.cpp" />
|
||||
<ClCompile Include="..\..\moses\src\UserMessage.cpp" />
|
||||
<ClCompile Include="..\..\moses\src\Util.cpp" />
|
||||
<ClCompile Include="..\..\moses\src\Word.cpp" />
|
||||
<ClCompile Include="..\..\moses\src\WordLattice.cpp" />
|
||||
<ClCompile Include="..\..\moses\src\WordsBitmap.cpp" />
|
||||
<ClCompile Include="..\..\moses\src\WordsRange.cpp" />
|
||||
<ClCompile Include="..\..\moses\src\XmlOption.cpp" />
|
||||
</ItemGroup>
|
||||
<PropertyGroup Label="Globals">
|
||||
<ProjectGuid>{8122157A-0DE5-44FF-8E5B-024ED6ACE7AF}</ProjectGuid>
|
||||
<RootNamespace>moses</RootNamespace>
|
||||
@ -47,11 +295,11 @@
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
<ClCompile>
|
||||
<Optimization>Disabled</Optimization>
|
||||
<AdditionalIncludeDirectories>C:\Program Files\boost\boost_1_47;$(SolutionDir)/moses/src;$(SolutionDir)/kenlm;$(SolutionDir);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<AdditionalIncludeDirectories>C:\Program Files\boost\boost_1_47;$(SolutionDir)/../../moses/src;$(SolutionDir)/../../;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;LM_INTERNAL;TRACE_ENABLE;_CRT_SECURE_NO_DEPRECATE;_SCL_SECURE_NO_DEPRECATE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<MinimalRebuild>true</MinimalRebuild>
|
||||
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
||||
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
|
||||
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
||||
<PrecompiledHeader>
|
||||
</PrecompiledHeader>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
@ -66,9 +314,9 @@
|
||||
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
|
||||
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
|
||||
<AdditionalIncludeDirectories>C:\Program Files\boost\boost_1_47;$(SolutionDir)/moses/src;$(SolutionDir)/kenlm;$(SolutionDir);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<AdditionalIncludeDirectories>C:\Program Files\boost\boost_1_47;$(SolutionDir)/../../moses/src;$(SolutionDir)/../../;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;LM_INTERNAL;TRACE_ENABLE;_CRT_SECURE_NO_DEPRECATE;_SCL_SECURE_NO_DEPRECATE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
|
||||
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
||||
<PrecompiledHeader>
|
||||
</PrecompiledHeader>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
@ -78,250 +326,6 @@
|
||||
<OutputFile>$(OutDir)$(ProjectName).lib</OutputFile>
|
||||
</Lib>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="src\AlignmentInfo.cpp" />
|
||||
<ClCompile Include="src\AlignmentInfoCollection.cpp" />
|
||||
<ClCompile Include="src\BitmapContainer.cpp" />
|
||||
<ClCompile Include="src\ChartCell.cpp" />
|
||||
<ClCompile Include="src\ChartCellCollection.cpp" />
|
||||
<ClCompile Include="src\ChartHypothesis.cpp" />
|
||||
<ClCompile Include="src\ChartHypothesisCollection.cpp" />
|
||||
<ClCompile Include="src\ChartManager.cpp" />
|
||||
<ClCompile Include="src\ChartRuleLookupManagerMemory.cpp" />
|
||||
<ClCompile Include="src\ChartRuleLookupManagerOnDisk.cpp" />
|
||||
<ClCompile Include="src\ChartTranslationOption.cpp" />
|
||||
<ClCompile Include="src\ChartTranslationOptionCollection.cpp" />
|
||||
<ClCompile Include="src\ChartTranslationOptionList.cpp" />
|
||||
<ClCompile Include="src\ChartTrellisDetour.cpp" />
|
||||
<ClCompile Include="src\ChartTrellisDetourQueue.cpp" />
|
||||
<ClCompile Include="src\ChartTrellisNode.cpp" />
|
||||
<ClCompile Include="src\ChartTrellisPath.cpp" />
|
||||
<ClCompile Include="src\ConfusionNet.cpp" />
|
||||
<ClCompile Include="src\DecodeFeature.cpp" />
|
||||
<ClCompile Include="src\DecodeGraph.cpp" />
|
||||
<ClCompile Include="src\DecodeStep.cpp" />
|
||||
<ClCompile Include="src\DecodeStepGeneration.cpp" />
|
||||
<ClCompile Include="src\DecodeStepTranslation.cpp" />
|
||||
<ClCompile Include="src\Dictionary.cpp" />
|
||||
<ClCompile Include="src\DotChart.cpp" />
|
||||
<ClCompile Include="src\DotChartInMemory.cpp" />
|
||||
<ClCompile Include="src\DotChartOnDisk.cpp" />
|
||||
<ClCompile Include="src\DummyScoreProducers.cpp" />
|
||||
<ClCompile Include="src\Factor.cpp" />
|
||||
<ClCompile Include="src\FactorCollection.cpp" />
|
||||
<ClCompile Include="src\FactorTypeSet.cpp" />
|
||||
<ClCompile Include="src\FeatureFunction.cpp" />
|
||||
<ClCompile Include="src\FFState.cpp" />
|
||||
<ClCompile Include="src\File.cpp" />
|
||||
<ClCompile Include="src\FloydWarshall.cpp" />
|
||||
<ClCompile Include="src\GenerationDictionary.cpp" />
|
||||
<ClCompile Include="src\GlobalLexicalModel.cpp" />
|
||||
<ClCompile Include="src\hash.cpp" />
|
||||
<ClCompile Include="src\Hypothesis.cpp" />
|
||||
<ClCompile Include="src\HypothesisStack.cpp" />
|
||||
<ClCompile Include="src\HypothesisStackCubePruning.cpp" />
|
||||
<ClCompile Include="src\HypothesisStackNormal.cpp" />
|
||||
<ClCompile Include="src\InputFileStream.cpp" />
|
||||
<ClCompile Include="src\InputType.cpp" />
|
||||
<ClCompile Include="src\LexicalReordering.cpp" />
|
||||
<ClCompile Include="src\LexicalReorderingState.cpp" />
|
||||
<ClCompile Include="src\LexicalReorderingTable.cpp" />
|
||||
<ClCompile Include="src\LMList.cpp" />
|
||||
<ClCompile Include="src\LM\Base.cpp" />
|
||||
<ClCompile Include="src\LM\Factory.cpp" />
|
||||
<ClCompile Include="src\LM\Implementation.cpp" />
|
||||
<ClCompile Include="src\LM\Joint.cpp" />
|
||||
<ClCompile Include="src\LM\MultiFactor.cpp" />
|
||||
<ClCompile Include="src\LM\SingleFactor.cpp" />
|
||||
<ClCompile Include="src\LVoc.cpp" />
|
||||
<ClCompile Include="src\Manager.cpp" />
|
||||
<ClCompile Include="src\Parameter.cpp" />
|
||||
<ClCompile Include="src\PartialTranslOptColl.cpp" />
|
||||
<ClCompile Include="src\PCNTools.cpp" />
|
||||
<ClCompile Include="src\Phrase.cpp" />
|
||||
<ClCompile Include="src\PhraseDictionary.cpp" />
|
||||
<ClCompile Include="src\PhraseDictionaryMemory.cpp" />
|
||||
<ClCompile Include="src\PhraseDictionaryNode.cpp">
|
||||
<ObjectFileName Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(IntDir)%(Filename)1.obj</ObjectFileName>
|
||||
<XMLDocumentationFileName Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(IntDir)%(Filename)1.xdc</XMLDocumentationFileName>
|
||||
<ObjectFileName Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(IntDir)%(Filename)1.obj</ObjectFileName>
|
||||
<XMLDocumentationFileName Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(IntDir)%(Filename)1.xdc</XMLDocumentationFileName>
|
||||
</ClCompile>
|
||||
<ClCompile Include="src\PhraseDictionaryNodeSCFG.cpp" />
|
||||
<ClCompile Include="src\PhraseDictionaryOnDisk.cpp" />
|
||||
<ClCompile Include="src\PhraseDictionarySCFG.cpp" />
|
||||
<ClCompile Include="src\PhraseDictionaryTree.cpp" />
|
||||
<ClCompile Include="src\PhraseDictionaryTreeAdaptor.cpp" />
|
||||
<ClCompile Include="src\PrefixTreeMap.cpp" />
|
||||
<ClCompile Include="src\ReorderingConstraint.cpp" />
|
||||
<ClCompile Include="src\ReorderingStack.cpp" />
|
||||
<ClCompile Include="src\RuleCube.cpp" />
|
||||
<ClCompile Include="src\RuleCubeItem.cpp" />
|
||||
<ClCompile Include="src\RuleCubeQueue.cpp" />
|
||||
<ClCompile Include="src\RuleTableLoaderCompact.cpp" />
|
||||
<ClCompile Include="src\RuleTableLoaderFactory.cpp" />
|
||||
<ClCompile Include="src\RuleTableLoaderStandard.cpp" />
|
||||
<ClCompile Include="src\ScoreComponentCollection.cpp" />
|
||||
<ClCompile Include="src\ScoreIndexManager.cpp" />
|
||||
<ClCompile Include="src\ScoreProducer.cpp" />
|
||||
<ClCompile Include="src\Search.cpp" />
|
||||
<ClCompile Include="src\SearchCubePruning.cpp" />
|
||||
<ClCompile Include="src\SearchNormal.cpp" />
|
||||
<ClCompile Include="src\Sentence.cpp" />
|
||||
<ClCompile Include="src\SentenceStats.cpp" />
|
||||
<ClCompile Include="src\SquareMatrix.cpp" />
|
||||
<ClCompile Include="src\StaticData.cpp" />
|
||||
<ClCompile Include="src\TargetPhrase.cpp" />
|
||||
<ClCompile Include="src\TargetPhraseCollection.cpp" />
|
||||
<ClCompile Include="src\ThreadPool.cpp" />
|
||||
<ClCompile Include="src\Timer.cpp" />
|
||||
<ClCompile Include="src\TranslationOption.cpp" />
|
||||
<ClCompile Include="src\TranslationOptionCollection.cpp" />
|
||||
<ClCompile Include="src\TranslationOptionCollectionConfusionNet.cpp" />
|
||||
<ClCompile Include="src\TranslationOptionCollectionText.cpp" />
|
||||
<ClCompile Include="src\TranslationOptionList.cpp" />
|
||||
<ClCompile Include="src\TranslationSystem.cpp" />
|
||||
<ClCompile Include="src\TreeInput.cpp" />
|
||||
<ClCompile Include="src\TrellisPath.cpp" />
|
||||
<ClCompile Include="src\TrellisPathCollection.cpp" />
|
||||
<ClCompile Include="src\UserMessage.cpp" />
|
||||
<ClCompile Include="src\Util.cpp" />
|
||||
<ClCompile Include="src\Word.cpp" />
|
||||
<ClCompile Include="src\WordLattice.cpp" />
|
||||
<ClCompile Include="src\WordsBitmap.cpp" />
|
||||
<ClCompile Include="src\WordsRange.cpp" />
|
||||
<ClCompile Include="src\XmlOption.cpp" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="src\AlignmentInfo.h" />
|
||||
<ClInclude Include="src\AlignmentInfoCollection.h" />
|
||||
<ClInclude Include="src\BilingualDynSuffixArray.h" />
|
||||
<ClInclude Include="src\BitmapContainer.h" />
|
||||
<ClInclude Include="src\CellCollection.h" />
|
||||
<ClInclude Include="src\ChartCell.h" />
|
||||
<ClInclude Include="src\ChartCellCollection.h" />
|
||||
<ClInclude Include="src\ChartHypothesis.h" />
|
||||
<ClInclude Include="src\ChartHypothesisCollection.h" />
|
||||
<ClInclude Include="src\ChartManager.h" />
|
||||
<ClInclude Include="src\ChartRuleLookupManager.h" />
|
||||
<ClInclude Include="src\ChartRuleLookupManagerMemory.h" />
|
||||
<ClInclude Include="src\ChartRuleLookupManagerOnDisk.h" />
|
||||
<ClInclude Include="src\ChartTranslationOption.h" />
|
||||
<ClInclude Include="src\ChartTranslationOptionCollection.h" />
|
||||
<ClInclude Include="src\ChartTranslationOptionList.h" />
|
||||
<ClInclude Include="src\ChartTrellisDetour.h" />
|
||||
<ClInclude Include="src\ChartTrellisDetourQueue.h" />
|
||||
<ClInclude Include="src\ChartTrellisNode.h" />
|
||||
<ClInclude Include="src\ChartTrellisPath.h" />
|
||||
<ClInclude Include="src\ChartTrellisPathCollection.h" />
|
||||
<ClInclude Include="src\ChartTrellisPathList.h" />
|
||||
<ClInclude Include="src\ConfusionNet.h" />
|
||||
<ClInclude Include="src\DecodeFeature.h" />
|
||||
<ClInclude Include="src\DecodeGraph.h" />
|
||||
<ClInclude Include="src\DecodeStep.h" />
|
||||
<ClInclude Include="src\DecodeStepGeneration.h" />
|
||||
<ClInclude Include="src\DecodeStepTranslation.h" />
|
||||
<ClInclude Include="src\Dictionary.h" />
|
||||
<ClInclude Include="src\DotChart.h" />
|
||||
<ClInclude Include="src\DotChartInMemory.h" />
|
||||
<ClInclude Include="src\DotChartOnDisk.h" />
|
||||
<ClInclude Include="src\DummyScoreProducers.h" />
|
||||
<ClInclude Include="src\DynSuffixArray.h" />
|
||||
<ClInclude Include="src\Factor.h" />
|
||||
<ClInclude Include="src\FactorCollection.h" />
|
||||
<ClInclude Include="src\FactorTypeSet.h" />
|
||||
<ClInclude Include="src\FeatureFunction.h" />
|
||||
<ClInclude Include="src\FFState.h" />
|
||||
<ClInclude Include="src\File.h" />
|
||||
<ClInclude Include="src\FilePtr.h" />
|
||||
<ClInclude Include="src\FloydWarshall.h" />
|
||||
<ClInclude Include="src\GenerationDictionary.h" />
|
||||
<ClInclude Include="src\GlobalLexicalModel.h" />
|
||||
<ClInclude Include="src\gzfilebuf.h" />
|
||||
<ClInclude Include="src\hash.h" />
|
||||
<ClInclude Include="src\Hypothesis.h" />
|
||||
<ClInclude Include="src\HypothesisStack.h" />
|
||||
<ClInclude Include="src\HypothesisStackCubePruning.h" />
|
||||
<ClInclude Include="src\HypothesisStackNormal.h" />
|
||||
<ClInclude Include="src\InputFileStream.h" />
|
||||
<ClInclude Include="src\InputType.h" />
|
||||
<ClInclude Include="src\LexicalReordering.h" />
|
||||
<ClInclude Include="src\LexicalReorderingState.h" />
|
||||
<ClInclude Include="src\LexicalReorderingTable.h" />
|
||||
<ClInclude Include="src\LMList.h" />
|
||||
<ClInclude Include="src\LM\Base.h" />
|
||||
<ClInclude Include="src\LM\Factory.h" />
|
||||
<ClInclude Include="src\LM\Implementation.h" />
|
||||
<ClInclude Include="src\LM\Joint.h" />
|
||||
<ClInclude Include="src\LM\MultiFactor.h" />
|
||||
<ClInclude Include="src\LM\SingleFactor.h" />
|
||||
<ClInclude Include="src\LVoc.h" />
|
||||
<ClInclude Include="src\Manager.h" />
|
||||
<ClInclude Include="src\NGramCollection.h" />
|
||||
<ClInclude Include="src\NGramNode.h" />
|
||||
<ClInclude Include="src\NonTerminal.h" />
|
||||
<ClInclude Include="src\ObjectPool.h" />
|
||||
<ClInclude Include="src\OutputCollector.h" />
|
||||
<ClInclude Include="src\Parameter.h" />
|
||||
<ClInclude Include="src\PartialTranslOptColl.h" />
|
||||
<ClInclude Include="src\PCNTools.h" />
|
||||
<ClInclude Include="src\PDTAimp.h" />
|
||||
<ClInclude Include="src\Phrase.h" />
|
||||
<ClInclude Include="src\PhraseDictionary.h" />
|
||||
<ClInclude Include="src\PhraseDictionaryDynSuffixArray.h" />
|
||||
<ClInclude Include="src\PhraseDictionaryMemory.h" />
|
||||
<ClInclude Include="src\PhraseDictionaryNode.h" />
|
||||
<ClInclude Include="src\PhraseDictionaryNodeSCFG.h" />
|
||||
<ClInclude Include="src\PhraseDictionaryOnDisk.h" />
|
||||
<ClInclude Include="src\PhraseDictionarySCFG.h" />
|
||||
<ClInclude Include="src\PhraseDictionaryTree.h" />
|
||||
<ClInclude Include="src\PhraseDictionaryTreeAdaptor.h" />
|
||||
<ClInclude Include="src\PrefixTree.h" />
|
||||
<ClInclude Include="src\PrefixTreeMap.h" />
|
||||
<ClInclude Include="src\ReorderingConstraint.h" />
|
||||
<ClInclude Include="src\ReorderingStack.h" />
|
||||
<ClInclude Include="src\RuleCube.h" />
|
||||
<ClInclude Include="src\RuleCubeItem.h" />
|
||||
<ClInclude Include="src\RuleCubeQueue.h" />
|
||||
<ClInclude Include="src\RuleTableLoader.h" />
|
||||
<ClInclude Include="src\RuleTableLoaderCompact.h" />
|
||||
<ClInclude Include="src\RuleTableLoaderFactory.h" />
|
||||
<ClInclude Include="src\RuleTableLoaderStandard.h" />
|
||||
<ClInclude Include="src\ScoreComponentCollection.h" />
|
||||
<ClInclude Include="src\ScoreIndexManager.h" />
|
||||
<ClInclude Include="src\ScoreProducer.h" />
|
||||
<ClInclude Include="src\Search.h" />
|
||||
<ClInclude Include="src\SearchCubePruning.h" />
|
||||
<ClInclude Include="src\SearchNormal.h" />
|
||||
<ClInclude Include="src\Sentence.h" />
|
||||
<ClInclude Include="src\SentenceStats.h" />
|
||||
<ClInclude Include="src\SquareMatrix.h" />
|
||||
<ClInclude Include="src\StaticData.h" />
|
||||
<ClInclude Include="src\TargetPhrase.h" />
|
||||
<ClInclude Include="src\TargetPhraseCollection.h" />
|
||||
<ClInclude Include="src\ThreadPool.h" />
|
||||
<ClInclude Include="src\Timer.h" />
|
||||
<ClInclude Include="src\TranslationOption.h" />
|
||||
<ClInclude Include="src\TranslationOptionCollection.h" />
|
||||
<ClInclude Include="src\TranslationOptionCollectionConfusionNet.h" />
|
||||
<ClInclude Include="src\TranslationOptionCollectionText.h" />
|
||||
<ClInclude Include="src\TranslationOptionList.h" />
|
||||
<ClInclude Include="src\TranslationSystem.h" />
|
||||
<ClInclude Include="src\TreeInput.h" />
|
||||
<ClInclude Include="src\TrellisPath.h" />
|
||||
<ClInclude Include="src\TrellisPathCollection.h" />
|
||||
<ClInclude Include="src\TrellisPathList.h" />
|
||||
<ClInclude Include="src\TypeDef.h" />
|
||||
<ClInclude Include="src\UniqueObject.h" />
|
||||
<ClInclude Include="src\UserMessage.h" />
|
||||
<ClInclude Include="src\Util.h" />
|
||||
<ClInclude Include="src\Word.h" />
|
||||
<ClInclude Include="src\WordConsumed.h" />
|
||||
<ClInclude Include="src\WordLattice.h" />
|
||||
<ClInclude Include="src\WordsBitmap.h" />
|
||||
<ClInclude Include="src\WordsRange.h" />
|
||||
<ClInclude Include="src\XmlOption.h" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
<ImportGroup Label="ExtensionTargets">
|
||||
</ImportGroup>
|
||||
|
@ -58,7 +58,7 @@
|
||||
<DebugInformationFormat>EditAndContinue</DebugInformationFormat>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<AdditionalDependencies>zdll.lib;$(SolutionDir)$(Configuration)\moses.lib;$(SolutionDir)$(Configuration)\kenlm.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
<AdditionalDependencies>zdll.lib;$(SolutionDir)$(Configuration)\moses.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<SubSystem>Console</SubSystem>
|
||||
<RandomizedBaseAddress>false</RandomizedBaseAddress>
|
||||
@ -78,7 +78,7 @@
|
||||
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<AdditionalDependencies>zdll.lib;$(SolutionDir)$(Configuration)\moses.lib;$(SolutionDir)$(Configuration)\kenlm.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
<AdditionalDependencies>zdll.lib;$(SolutionDir)$(Configuration)\moses.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<SubSystem>Console</SubSystem>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
|
@ -914,6 +914,13 @@ sub check_translation_old_sge(){
|
||||
print STDERR "outputfile=${inputfile}.$splitpfx$idx.trans inputfile=${inputfile}.$splitpfx$idx\n";
|
||||
return 1;
|
||||
}
|
||||
|
||||
if ($nbestflag && )
|
||||
{???
|
||||
print STDERR "N-best list doesn't exist";
|
||||
return 1;
|
||||
}
|
||||
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
@ -19,7 +19,7 @@ if ($SCRIPTS_ROOTDIR eq '') {
|
||||
$SCRIPTS_ROOTDIR =~ s/\/training$//;
|
||||
$SCRIPTS_ROOTDIR = $ENV{"SCRIPTS_ROOTDIR"} if defined($ENV{"SCRIPTS_ROOTDIR"});
|
||||
|
||||
my($_ROOT_DIR, $_CORPUS_DIR, $_GIZA_E2F, $_GIZA_F2E, $_MODEL_DIR, $_TEMP_DIR, $_SORT_BUFFER_SIZE, $_CORPUS,
|
||||
my($_ROOT_DIR, $_CORPUS_DIR, $_GIZA_E2F, $_GIZA_F2E, $_MODEL_DIR, $_TEMP_DIR, $_SORT_BUFFER_SIZE, $_SORT_BATCH_SIZE, $_CORPUS,
|
||||
$_CORPUS_COMPRESSION, $_FIRST_STEP, $_LAST_STEP, $_F, $_E, $_MAX_PHRASE_LENGTH,
|
||||
$_LEXICAL_FILE, $_NO_LEXICAL_WEIGHTING, $_VERBOSE, $_ALIGNMENT,
|
||||
$_ALIGNMENT_FILE, $_ALIGNMENT_STEM, @_LM, $_EXTRACT_FILE, $_GIZA_OPTION, $_HELP, $_PARTS,
|
||||
@ -57,6 +57,7 @@ $_HELP = 1
|
||||
'model-dir=s' => \$_MODEL_DIR,
|
||||
'temp-dir=s' => \$_TEMP_DIR,
|
||||
'sort-buffer-size=s' => \$_SORT_BUFFER_SIZE,
|
||||
'sort-batch-size=s' => \$_SORT_BATCH_SIZE,
|
||||
'extract-file=s' => \$_EXTRACT_FILE,
|
||||
'alignment=s' => \$_ALIGNMENT,
|
||||
'alignment-file=s' => \$_ALIGNMENT_FILE,
|
||||
@ -310,6 +311,9 @@ $___TEMP_DIR = $_TEMP_DIR if $_TEMP_DIR;
|
||||
my $__SORT_BUFFER_SIZE = "";
|
||||
$__SORT_BUFFER_SIZE = "-S $_SORT_BUFFER_SIZE" if $_SORT_BUFFER_SIZE;
|
||||
|
||||
my $__SORT_BATCH_SIZE = "";
|
||||
$__SORT_BATCH_SIZE = "--batch-size $_SORT_BATCH_SIZE" if $_SORT_BATCH_SIZE;
|
||||
|
||||
my $___CONTINUE = 0;
|
||||
$___CONTINUE = $_CONTINUE if $_CONTINUE;
|
||||
|
||||
@ -1447,10 +1451,10 @@ sub score_phrase_phrase_extract {
|
||||
# sorting
|
||||
print STDERR "(6.".($substep++).") sorting $direction @ ".`date`;
|
||||
if (-e "$extract_filename.gz") {
|
||||
safesystem("gunzip < $extract_filename.gz | LC_ALL=C sort $__SORT_BUFFER_SIZE -T $___TEMP_DIR > $extract_filename.sorted") or die("ERROR");
|
||||
safesystem("gunzip < $extract_filename.gz | LC_ALL=C sort $__SORT_BUFFER_SIZE $__SORT_BATCH_SIZE -T $___TEMP_DIR > $extract_filename.sorted") or die("ERROR");
|
||||
}
|
||||
else {
|
||||
safesystem("LC_ALL=C sort $__SORT_BUFFER_SIZE -T $___TEMP_DIR $extract_filename > $extract_filename.sorted") or die("ERROR");
|
||||
safesystem("LC_ALL=C sort $__SORT_BUFFER_SIZE $__SORT_BATCH_SIZE -T $___TEMP_DIR $extract_filename > $extract_filename.sorted") or die("ERROR");
|
||||
}
|
||||
}
|
||||
|
||||
@ -1473,7 +1477,7 @@ sub score_phrase_phrase_extract {
|
||||
# sorting inverse phrase-table-half to sync up with regular one
|
||||
print STDERR "(6.5) sorting inverse e2f table@ ".`date`;
|
||||
if (! ($___CONTINUE && -e "$ttable_file.half.e2f.sorted")) {
|
||||
safesystem("LC_ALL=C sort $__SORT_BUFFER_SIZE -T $___TEMP_DIR $ttable_file.half.e2f > $ttable_file.half.e2f.sorted") or die("ERROR");
|
||||
safesystem("LC_ALL=C sort $__SORT_BUFFER_SIZE $__SORT_BATCH_SIZE -T $___TEMP_DIR $ttable_file.half.e2f > $ttable_file.half.e2f.sorted") or die("ERROR");
|
||||
if (! $debug) { safesystem("rm -f $ttable_file.half.e2f") or die("ERROR"); }
|
||||
}
|
||||
|
||||
@ -1507,7 +1511,7 @@ sub score_phrase_memscore {
|
||||
|
||||
# The output is sorted to avoid breaking scripts that rely on the
|
||||
# sorting behaviour of the previous scoring algorithm.
|
||||
my $cmd = "$MEMSCORE $options | LC_ALL=C sort $__SORT_BUFFER_SIZE -T $___TEMP_DIR | gzip >$ttable_file.gz";
|
||||
my $cmd = "$MEMSCORE $options | LC_ALL=C sort $__SORT_BUFFER_SIZE $__SORT_BATCH_SIZE -T $___TEMP_DIR | gzip >$ttable_file.gz";
|
||||
if (-e "$extract_file.gz") {
|
||||
$cmd = "$ZCAT $extract_file.gz | ".$cmd;
|
||||
} else {
|
||||
@ -1563,7 +1567,7 @@ sub get_reordering_factored {
|
||||
sub get_reordering {
|
||||
my ($extract_file,$reo_model_path) = @_;
|
||||
if (-e "$extract_file.o.gz") {
|
||||
safesystem("gunzip < $extract_file.o.gz | LC_ALL=C sort $__SORT_BUFFER_SIZE -T $___TEMP_DIR > $extract_file.o.sorted") or die("ERROR");
|
||||
safesystem("gunzip < $extract_file.o.gz | LC_ALL=C sort $__SORT_BUFFER_SIZE $__SORT_BATCH_SIZE -T $___TEMP_DIR > $extract_file.o.sorted") or die("ERROR");
|
||||
}
|
||||
else {
|
||||
safesystem("LC_ALL=C sort -T $___TEMP_DIR $extract_file.o > $extract_file.o.sorted") or die("ERROR");
|
||||
|
Loading…
Reference in New Issue
Block a user