mirror of
https://github.com/fumiama/jieba.git
synced 2026-06-27 15:40:32 +08:00
make some public variable/function to private
This commit is contained in:
@@ -42,6 +42,8 @@ func init() {
|
||||
}
|
||||
}
|
||||
|
||||
// Set the stop words file path, could be absolute path of stop words file, or
|
||||
// file name in current directory.
|
||||
func SetStopWords(stopWordsFileName string) error {
|
||||
stopWordsFilePath, err := jiebago.DictPath(stopWordsFileName)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user