Reading files of the opposite endianness

The CLAIR machines were upgraded two or so years ago, and since then, some scripts and tools have not been working. I am in the process of fixing NSIR, a question-answering system. It relies on quite a few binary files that haven’t been stored in an architecture-independent manner, so I manually have to update files like Storable objects of stopwords.

This page has some code helpful for this task.

Advertisements