New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Split sentence into array of arrays of syllables of each word #28
Comments
Good idea, but currently not available. It should be quite possible to add a If you'd like to contribute such a method, it would be highly appreciated. Otherwise it might take a while for me to get to it, as I'm currently focussing on different projects. |
Yeah, sure |
How do I get write permission? |
Just submit a pull request from your forked repository through Github. |
I've made a function that works without symbols now, but I would probably need some help to make it work with symbols |
I also added a testSplitWords() function in SyllableTest.php |
When I try to push the changes to my fork, it says that I don't have permission to do that:
|
Thanks for the effort! The error is probably either a wrong repository name (you have to push to your own fork, not this main repository) or you have not set your public key (I'm assuming this is not the case, considering what you wrote earlier). Please let me know if this is getting too much work for you, and we could just copy+paste the code but if you want to contribute to other github projects in the future, the process will be the same. |
I haven't worked that much with Git, so I would like to learn how the process works 😄 |
Exactly right! With Git, you basically only work directly with your own repository and create pull requests. Github manages the pull requests (PR's) and makes it easy to work this way. |
So the only problem is that I don't have permission to push to my own fork. Does this have anything to do with the public key that I haven't set? |
Very likely. You'll need to set up a private/public key pair, install the private key locally and upload the public key pair to github. |
Is this the same as an SSH key or deploy key? |
Yes, the SSH key |
I've created a pull request now 😄 |
That doesn't take into account word boundaries or hyphens already in the text. |
PR #30 is probably related to related to this issue. The PR had been approved but not merged: is there anything missing? |
PR #30 has some merge conflicts. I'm pretty short on time at the moment but will try to take a look at it next week. |
Hi @Vicedivic , to understand your use case in general and specifically: What do you expect should be returned by
? How should punctuations be handled? Greetings |
Hi Van der Lee,
Is it possible for any of your functions to return an array of arrays of syllables of each word?
Example: "I am working".
Output:
The text was updated successfully, but these errors were encountered: