Skip to content

How to calculate TER in Javascript #10

Description

@atikaakmal

Hi ,

I don't have much experience in java and I want to calculate TER once we will give ref and hyp sentence. I ran the github code but it reads file and then give scoring etc. But I dont want to give any file etc.

I want to write a function that will calculate TER by give ref and hyp sentence in javascript.
I try to understand the section number 6 (compute TER) but did not understand very well.

Can anyboday help me how we can compute TER using this algorithm in javasript.

Thanks

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions