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

How to use it #33

Open
wants to merge 18 commits into
base: master
Choose a base branch
from
Open

How to use it #33

wants to merge 18 commits into from

Conversation

KaiKangSDU
Copy link

Hi, thanks for your modifying code to suit python3. It really works. But I have a question. How do I use it ?How can I install it? Or I just add it to my code folder? Thanks in advance.

@flauted
Copy link

flauted commented Jul 24, 2018

Consider using my fork from PR#32. The code is packaged so you can either clone it and set your PYTHONPATH appropriately, or you can pip install it from Github.

salaniz and others added 13 commits July 24, 2019 18:37
Allow a parameter in compute score method to turn off verbose in Bleu_scorer compute_score method
Allow verbose off for Bleu score
PTBTokenizer logs tokenization details by default (ex. `PTBTokenizer tokenized 2 tokens at 33.87 tokens per second`).
This becomes noisy when you have run tokenization iteratively.
I redirect stderr to `subprocess.DEVNULL` to suppress this.
Enable verbosity control of PTBTokenizer
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

Successfully merging this pull request may close these issues.

5 participants