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 610 B

6 years ago
6 years ago
6 years ago
123456789101112131415161718192021222324252627
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Text;
  4. using Tensorflow;
  5. namespace TensorFlowNET.Examples
  6. {
  7. /// <summary>
  8. /// https://github.com/guillaumegenthial/tf_ner
  9. /// </summary>
  10. public class NamedEntityRecognition : Python, IExample
  11. {
  12. public int Priority => 100;
  13. public bool Enabled { get; set; } = false;
  14. public string Name => "NER";
  15. public bool Run()
  16. {
  17. throw new NotImplementedException();
  18. }
  19. public void PrepareData()
  20. {
  21. throw new NotImplementedException();
  22. }
  23. }
  24. }

tensorflow框架的.NET版本,提供了丰富的特性和API,可以借此很方便地在.NET平台下搭建深度学习训练与推理流程。