Skip to content
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

Problems with Greek text #55

Open
andreash22 opened this issue Mar 28, 2023 · 4 comments
Open

Problems with Greek text #55

andreash22 opened this issue Mar 28, 2023 · 4 comments

Comments

@andreash22
Copy link

I am analyzing (Biblical) Greek text with stylo. Everything works fine with stylo(), but oppose() does not work - even if I set the slice size to very low levels, I get an error message "this text is too short". I have used load.corpus.and.parse and then used oppose() on the stylo corpus thus prepared (the preparation seemed to work according to what I could see in R), but then I received the error message "wrong corpus format". Do you have an idea what might be the problem?

@locusclassicus
Copy link

Same problem with Ancient Greek; have you found a solution?

@andreash22
Copy link
Author

A colleague who is working with cyrillic letters has written to me how she solved the problem. It is rather complicated; I hope to get to try it by next week and will then post again.

@computationalstylistics
Copy link
Owner

Well, the thing is the oppose() function so far goes with a very simple GUI, which doesn't provide a direct access to many settings. The user needs, then, to set these options manually. In the case of Greek/Cyrylic/Arabic please run the function with an additional parameter:

oppose(corpus.lang = "Other")

@locusclassicus
Copy link

Thank you for your reply; corpus.lang = "Other" did not work for me, by splitting.rule = "[ \t\n]+" eventually did the trick.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants