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

Error \ #72

Open
gabays opened this issue Nov 12, 2024 · 3 comments
Open

Error \ #72

gabays opened this issue Nov 12, 2024 · 3 comments

Comments

@gabays
Copy link

gabays commented Nov 12, 2024

Avec mac, on a un problème avec le caractère \

https://github.com/SupervisedStylometry/SuperStyl/blob/0dd1143c80874f574fed34c4028312d75c7ac9ee/load_corpus.py#L25C78-L25C82

(env) gabays@Simons-MacBook-Pro-3 SuperStyl % python load_corpus.py -s ../train/balanced/* -t chars -n 3 --sampling --sample_units words --sample_size 1000
/Users/gabays/github/Rimbaud/Rimbaud_vers_revuJB/SuperStyl/load_corpus.py:25: SyntaxWarning: invalid escape sequence '\ '
  parser.add_argument('-x', action='store', help="format (txt, xml or tei) /!\ only txt is fully implemented",
@Jean-Baptiste-Camps
Copy link
Member

Pu***rée de mac. OK, facile à corriger

@Jean-Baptiste-Camps
Copy link
Member

Should be fixed in #74

@Jean-Baptiste-Camps
Copy link
Member

@gabays

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

2 participants