baidu / baidu/lac

Why not split line by delimiter '\t', just like the method 'load_kv_dict'

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

Description

https://github.com/baidu/lac/blob/69286a9e51d7eec0dcbf38064e41f3668ac88b81/python/LAC/reader.py#L103

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at python/LAC/reader.py around line 103 and compare its delimiter handling with the load_kv_dict method referenced in the issue. Confirm the expected tab-separated input behavior and check whether an existing test covers this reader path; done means the two parsing paths handle the delimiter consistently.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.