neurlang commited on
Commit
099202e
verified
1 Parent(s): 2c4a06d

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +13 -1
README.md CHANGED
@@ -12,7 +12,19 @@ language:
12
 
13
  ## Hebrew3
14
 
15
- ### Instructions
 
 
 
 
 
 
 
 
 
 
 
 
16
 
17
  1. Clone `https://github.com/neurlang/goruut/` master branch
18
  2. Compile goruut: `cd cmd/goruut` ; `go build`
 
12
 
13
  ## Hebrew3
14
 
15
+ ### PYTHON - Instructions
16
+
17
+ 1. Download the model: `wget https://huggingface.co/neurlang/goruut_extra_models/resolve/main/hebrew3.zip -O /tmp/hebrew3.zip`
18
+ 2. Run it in pygoruut pip version >= 0.6.5:
19
+ ```python
20
+ from pygoruut.pygoruut import Pygoruut
21
+
22
+ pygoruut = Pygoruut(models={"Hebrew3": "/home/john/Downloads/hebrew3.zip"})
23
+
24
+ print(str(pygoruut.phonemize(language="Hebrew3", sentence="讜讻诇讛 讘讗讬讱 诇注砖讜转 砖讬讜讜拽 谞讻讜谉 驻专讟 诇注爪讜转 讜诇转讜讘谞讜转 砖诇讬.")))
25
+ ```
26
+
27
+ ### GOLANG - Instructions
28
 
29
  1. Clone `https://github.com/neurlang/goruut/` master branch
30
  2. Compile goruut: `cd cmd/goruut` ; `go build`