You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

NamedEntityRecognition.cs 1.2 kB

6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Text;
  4. using Tensorflow;
  5. using static Tensorflow.Python;
  6. namespace TensorFlowNET.Examples
  7. {
  8. /// <summary>
  9. /// https://github.com/guillaumegenthial/tf_ner
  10. /// </summary>
  11. public class NamedEntityRecognition : IExample
  12. {
  13. public bool Enabled { get; set; } = false;
  14. public string Name => "NER";
  15. public bool IsImportingGraph { get; set; } = false;
  16. public void Train(Session sess)
  17. {
  18. throw new NotImplementedException();
  19. }
  20. public void PrepareData()
  21. {
  22. throw new NotImplementedException();
  23. }
  24. public Graph ImportGraph()
  25. {
  26. throw new NotImplementedException();
  27. }
  28. public Graph BuildGraph()
  29. {
  30. throw new NotImplementedException();
  31. }
  32. public bool Run()
  33. {
  34. throw new NotImplementedException();
  35. }
  36. public void Predict(Session sess)
  37. {
  38. throw new NotImplementedException();
  39. }
  40. public void Test(Session sess)
  41. {
  42. throw new NotImplementedException();
  43. }
  44. }
  45. }