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

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s