You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+28-3
Original file line number
Diff line number
Diff line change
@@ -72,9 +72,9 @@ The project offers a solution as both a Golang module and a simple command-line
72
72
73
73
### Pre-requisites
74
74
75
-
A dynamically linked library is required for the CGO bridge to integrate with Max Fomichev's word2vec C++ library. Ensure that the necessary C++ libraries are installed and properly configured on your system to use this functionality.
75
+
A static linked library is required for the CGO bridge to integrate with Max Fomichev's word2vec C++ library. Ensure that the necessary C++ libraries are installed and properly configured on your system to use this functionality.
76
76
77
-
To build the required dynamically linked library, use a C++11 compatible compiler and CMake 3.1 or higher. This step is essential before proceeding with the installation and usage of the Golang module.
77
+
To build the required static linked library, use a C++11 compatible compiler and CMake 3.10 or higher. This step is essential before proceeding with the installation and usage of the Golang module.
**Note**: The project does not currently distribute library binaries, though this feature is planned for a future version. You will need to build the binaries yourself for your target runtime. If you need assistance, please [raise an issue](https://github.com/fogfish/word2vec/issues).
87
+
**Note**: The static linked libraries are distributed as binary, download them from [releases](https://github.com/fogfish/word2vec/releases) and extract it to `libw2v` dir.
88
88
89
89
90
90
## Usage Command line utility
@@ -172,6 +172,31 @@ Use `go get` to retrieve the library and add it as dependency to your applicatio
172
172
go get -u github.com/fogfish/word2vec
173
173
```
174
174
175
+
However, the availability of static library for the target platform (linux, darwin) is the primary requirement. There are two options finishing the installation the module.
0 commit comments