1
0
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:
Wang Bin
2015-02-28 18:08:57 +08:00
parent a43924173d
commit d06ba85b0b
5 changed files with 22 additions and 17 deletions

View File

@@ -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 {