Oren Tsur's Homepage
Code & Data
This is a new experiment. I have decided to start releasing my code (and data) for a number of reasons. The 3 main reasons are:
  • Enough with messy-unreadable code. Publishing it will force me to document and maintain my code properly and eventually I'll be able to reuse my code.
  • Some ppl might find the bits of scripts useful
  • ppl will find it easier to repeat my experiment.

  • Each released script has 2 related entries - the source file(s) and a documentation file. The documentation file plus the comments in the source code should be suffice to use the scripts.
    Having that said - although I try to keep the code elegant and efficient, the nature of academic coding is sometimes fast and ugly with no code reviews - do forgive me for these slacks and feel free to email me re bugs or suggested improvements. I'll try to answer your emails and update the code as time allows.
    Copyrights and Liability Disclaimer: the scripts published here are free for use and could be distributed for no charge, however, I'll not be held responsible for any damage to software or hardware, any loss of data and any that was caused by the use of these scripts. I'll also not be held responsible for the global warming being excelerated by heavy CPU activity.
    And one final thing - if you do happen to use one of my scripts - please email me, this will make me happy.
    • Annotated data for both sarcasm papers (Amazon, Twitter): data

    • This script dumps tables from Oracle DB to csv files. "So what?" you say. Well, it handles correctly even the CLOB fields and that's more than sqldeveloper does... the script is extremely easy to extend if needed.:
      (OraDump.py) (Documentation check the source file for that.)

    • This small python script generates the authentication signature for Amazon Web Services as specified by Amazon:
      (AWS_SignatureGenerator.py) (Documentation check the source file for that.)

    • Coming Soon: A small python script to Bulk Load a directory of XML files into a data base. I wrote the script in order to upload the amazon reviews into an Oracle XE data-base but with small changes it could be adopted to upload any XML file into any DB (see documentation):
      (SimpleXmlBulkLoader.py) (Documentation)



















    Home
    My CV (PDF)
    Interests
    Publications
    Useful Links
    Code & Data
    Pictures
    the Blog