Skip to content
This repository was archived by the owner on Mar 4, 2026. It is now read-only.

elleobrien/typo_test

Repository files navigation

Typo test

Check how robust a sentiment classifier is to random typos in our dataset.

Example

Given sentence A:

I just love the new Honda I bought from Crystal.

we can introduce a random typo to get sentence A':

I jpst love the new Honda I bought from Crystal.

Now we test whether our sentiment classifer S gives the same answer for S(A) and S(A'). If S(A) == S(A'), that's good! We can do this over hundreds or thousands of example sentences and estimate what percent of examples S(A) == S(A').

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages