19 lines
416 B
C#
19 lines
416 B
C#
using CloudBuilder.Core.DatabaseAccessor.Entity;
|
|
using CloudBuilder.Topshelf.Python;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace CloudBuilder.Topshelf.Utility
|
|
{
|
|
public class SegmenterHelper
|
|
{
|
|
public List<string> Cut(string text, Hanlp2 hanlp)
|
|
{
|
|
return hanlp.GetTokFine(text);
|
|
}
|
|
}
|
|
}
|