Skip to content

Commit

Permalink
BM25の計算をTorchSharpで仮実装
Browse files Browse the repository at this point in the history
program.csのテストコードをexampleへ移動
  • Loading branch information
HarugumoFM committed Jun 23, 2024
1 parent 18ba6f5 commit acc0b80
Show file tree
Hide file tree
Showing 11 changed files with 412 additions and 308 deletions.
24 changes: 22 additions & 2 deletions ConsoleML/ConsoleML.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,38 @@

<ItemGroup>
<None Remove="eng-fra.txt" />
<None Remove="ipadic\char.bin" />
<None Remove="ipadic\dicrc" />
<None Remove="ipadic\matrix.bin" />
<None Remove="ipadic\sys.dic" />
<None Remove="ipadic\unk.dic" />
</ItemGroup>

<ItemGroup>
<Content Include="eng-fra.txt">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
<Content Include="ipadic\char.bin">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="ipadic\dicrc">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="ipadic\matrix.bin">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="ipadic\sys.dic">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="ipadic\unk.dic">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
</ItemGroup>

<ItemGroup>
<PackageReference Include="LibNMeCab" Version="0.10.2" />
<PackageReference Include="libtorch-cpu" Version="2.2.1.1" />
<PackageReference Include="TorchSharp" Version="0.102.2" />
<PackageReference Include="TorchVision" Version="0.102.2" />
<PackageReference Include="TorchSharp" Version="0.102.6" />
</ItemGroup>

<ItemGroup>
Expand Down
Loading

0 comments on commit acc0b80

Please sign in to comment.