Skip to content

Commit

Permalink
[submodule] using dict in submodules/cppjieba
Browse files Browse the repository at this point in the history
  • Loading branch information
yanyiwu committed Jul 15, 2024
1 parent e589cab commit 5fc2255
Show file tree
Hide file tree
Showing 12 changed files with 7 additions and 609,387 deletions.
3 changes: 0 additions & 3 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
[submodule "submodules/limonp"]
path = submodules/limonp
url = https://github.com/yanyiwu/limonp.git
[submodule "submodules/cppjieba"]
path = submodules/cppjieba
url = https://github.com/yanyiwu/cppjieba.git
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
#OPTION(BENCHMARK "Build benchmarking library" ON)

INCLUDE_DIRECTORIES(${PROJECT_SOURCE_DIR}/submodules/cppjieba/include
${PROJECT_SOURCE_DIR}/submodules/limonp/include
${PROJECT_SOURCE_DIR}/submodules/cppjieba/deps/limonp/include
${PROJECT_SOURCE_DIR}/include)

ADD_DEFINITIONS(-O3 -Wall -g)
Expand Down
2 changes: 1 addition & 1 deletion ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## Next

+ [submodule] add submodules/cppjieba, and remove deps/cppjieba
+ [submodule] add submodules/cppjieba, and remove deps/cppjieba/ and remove dict/

## v1.1.0

Expand Down
4 changes: 2 additions & 2 deletions benchmark/lib/vals.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ namespace simhash_benchmark {


Simhasher simhasher(
"../dict/jieba.dict.utf8", "../dict/hmm_model.utf8",
"../dict/idf.utf8", "../dict/stop_words.utf8");
"../submodules/cppjieba/dict/jieba.dict.utf8", "../submodules/cppjieba/dict/hmm_model.utf8",
"../submodules/cppjieba/dict/idf.utf8", "../submodules/cppjieba/dict/stop_words.utf8");


/// Text with length 50 chars.
Expand Down
34 changes: 0 additions & 34 deletions dict/hmm_model.utf8

This file was deleted.

Loading

0 comments on commit 5fc2255

Please sign in to comment.