baidu / baidu/lac

增量训练出来的分词模型分词输出是二维的

Open
#209 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
4k
Forks
592
PR merge metrics
No merged PRs in 30d

Description

In [7]: my_lac.run('福建厦门')
Out[7]: [['福建', '厦门'], ['', '']]

In [8]: lac.run('福建厦门')
Out[8]: ['福建', '厦门']

Contributor guide

No contributing guide indexed for this repository

Research direction

The report only provides Python examples comparing my_lac.run('福建厦门') with lac.run('福建厦门'); it names no source file, test, or entry point. Start by locating the incremental-training implementation and the run method, then reproduce the shown output and verify that incremental training returns the same one-dimensional segmentation format.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, python
Domain
machine-learning
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.