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
+20-11Lines changed: 20 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,13 @@
1
1
# Pynini for Windows
2
2
3
+
This repository is a fork of Pynini and will be updated when new release versions of Pynini are published, until Pynini decides to support Windows.
4
+
5
+
**Don't open a new Issue to request a specific commit build. Wait for a new stable release.**
6
+
7
+
**Don't open Issues for general Pynini questions or non Windows related problems. Only Windows specific issues.** Any Issue opened that is not Windows specific will be closed automatically.
8
+
9
+
**Don't request a wheel for your specific environment.**
10
+
3
11
This project is maintained by [@SystemPanic](https://github.com/SystemPanic)
4
12
5
13
If you use Pynini in your research, we would appreciate if you cite the
@@ -12,22 +20,23 @@ following paper:
12
20
(Note that some of the code samples in the paper are now out of date and not
13
21
expected to work.)
14
22
15
-
## Windows Dependencies
16
-
17
-
- Microsoft Visual Studio 2019 or newer
18
-
-[Python 3.6+](https://www.python.org) and headers
23
+
### Windows instructions:
19
24
20
-
##Installation instructions
25
+
#### Installing an existing release wheel:
21
26
22
-
Clone the repository and install as a normal python project. For example:
27
+
1. Ensure that you have the correct Python version of the wheel. The Python version of the wheel is specified in the release version
28
+
2. Download the wheel from the release version of your preference
29
+
3. Install it with ```pip install DOWNLOADED_WHEEL_PATH```
A Visual Studio 2019 or newer is required to launch the compiler x64 environment. The installation path is referred in the instructions as VISUAL_STUDIO_INSTALL_PATH. For example, for Visual Studio 2022 default installation, replace VISUAL_STUDIO_INSTALL_PATH with C:\Program Files\Microsoft Visual Studio\2022\Community
27
34
28
-
To confirm successful installation, run `pip install -r requirements`, then
29
-
`python tests/pynini_test.py`. If all tests pass, the final line will read `OK`;
30
-
a successful run will log some errors to STDERR (this is working as expected).
35
+
1. Open a Command Line (cmd.exe)
36
+
2. Clone the Pynini for Windows repository: `cd C:\ & git clone https://github.com/SystemPanic/pynini-windows.git`
37
+
3. Execute (in cmd) `VISUAL_STUDIO_INSTALL_PATH\VC\Auxiliary\Build\vcvarsall.bat x64`
38
+
4. Change the working directory to the cloned repository path, for example: `cd C:\pynini-windows`
0 commit comments