Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ParaphraseModel ¶
type ParaphraseModel struct {
// contains filtered or unexported fields
}
func NewModel ¶
func NewModel(path string) *ParaphraseModel
func (*ParaphraseModel) GetSimilar ¶
func (m *ParaphraseModel) GetSimilar(positive []string, negative []string, n int) []string
GetSimilar 语义改写、近义词
Click to show internal directories.
Click to hide internal directories.