Comments (2)
Oh. This kind of problem again. For now I use quote from shlex's quote
which works perfectly on Unix systems. Maybe you should try to find a shell-escaping function that works well on windows. I found this: http://stackoverflow.com/questions/967443/python-module-to-shellquote-unshellquote , but maybe you'll find something better.
As a side question: why using python on windows? (I'm genuinely asking)
from voxpopuli.
Replacing text
with '"%s"' % text
in phoneme_synth_args
seems to fix this problem, but I feel like it's a hackish solution. I'll submit a patch shortly.
As for your side question - Python supports Windows quite well and most of the time there are no bigger compatibility issues. Even TensorFlow got ported to Windows recently. Honestly, the biggest quirk with using Python on Windows is to remember to escape or use proper slashes in paths. Python is a really flexible and versatile language and I'm not a huge fan of JavaScript.
If you're asking why not use Python on Linux - I do use both, Mostly Linux for server-side apps, but sometimes I need to make an app that runs on Windows.
from voxpopuli.
Related Issues (8)
- Find a way to make the audio player stop after playing the file HOT 1
- ImportError: cannot import name 'EnglishPhonemes' from 'voxpopuli' HOT 2
- Mandarin no output HOT 2
- Add tests to PyPi package HOT 8
- The Voxpopuli Documentation is empty! HOT 2
- mbrola languages (Windows support) HOT 19
- Can't generate English phonemes from some words containing letter N HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from voxpopuli.