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

Customized brat tool to include support for Right to Left languages. #1150

Open
wants to merge 10 commits into
base: master
Choose a base branch
from
20 changes: 20 additions & 0 deletions RTL-README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# RTL Support for brat #

To fix the highlight issues brat has for the RTL languages, we made changes to the scripts to make the
RTL text flow from right margin instead of just look like a LTR text with RTL words. We made use of the
client side scripts of the user @fsalotaibi and his brat [implementation][website].

[website]: http://www.ebsar.com/brat/#/FGANER/109-out

Though this version of brat is not compatible with the master that supports LTR text, we wanted to push it to
help people still looking for a fix to this issue.

## Files with changes from @fsalotaibi ##
/client/src/ajax.js
/client/src/annotator_ui.js
/client/src/dispatcher.js
/client/src/util.js
/client/src/visualizer.js
/client/src/visualizer_ui.js

All the files with changes are still under MIT License.
8,269 changes: 8,256 additions & 13 deletions client/lib/jquery-ui.min.js

Large diffs are not rendered by default.

19 changes: 18 additions & 1 deletion client/lib/jquery.ba-bbq.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions client/lib/jquery.min.js

Large diffs are not rendered by default.

17 changes: 14 additions & 3 deletions client/lib/jquery.svg.min.js

Large diffs are not rendered by default.