Browse Source

Init bi-LSTM + CRF NER

tags/v0.9
Oceania2018 6 years ago
parent
commit
503b7816cf
2 changed files with 28 additions and 1 deletions
  1. +1
    -1
      src/TensorFlowNET.Core/TensorFlowNET.Core.csproj
  2. +27
    -0
      test/TensorFlowNET.Examples/Text/NER/BiLstmCrfNer.cs

+ 1
- 1
src/TensorFlowNET.Core/TensorFlowNET.Core.csproj View File

@@ -49,7 +49,7 @@ Add Word2Vec example.</PackageReleaseNotes>

<ItemGroup>
<PackageReference Include="Google.Protobuf" Version="3.7.0" />
<PackageReference Include="NumSharp" Version="0.10.0-beta" />
<PackageReference Include="NumSharp" Version="0.10.0" />
</ItemGroup>

<ItemGroup>


+ 27
- 0
test/TensorFlowNET.Examples/Text/NER/BiLstmCrfNer.cs View File

@@ -0,0 +1,27 @@
using System;
using System.Collections.Generic;
using System.Text;
using Tensorflow;

namespace TensorFlowNET.Examples
{
public class BiLstmCrfNer : Python, IExample
{
public int Priority => 13;

public bool Enabled { get; set; } = true;
public bool ImportGraph { get; set; } = false;

public string Name => "bi-LSTM + CRF NER";

public void PrepareData()
{
}

public bool Run()
{
return true;
}
}
}

Loading…
Cancel
Save