Monthly Archives: January 2015

How to access file resources in JUnit tests

In maven, any file under src/test/resources is copied to target/test-classes. How to access these resource files in JUnit? Using the class’s resource. It will locate the file in the test’s classpath /target/test-classes.

URL url = this.getClass().getResource("/" + TEST_FILENAME);
File file = new File(url.getFile());

Referee’ quotes published by Environmental Microbiology

I recently read a series of referee’ quotes published by Environmental Microbiology. As stated in every article, the referees are busy, serious individuals who give selflesslyof their precious time to improve manuscript. But, once in a while, their humour (or admiration) gets the better of them. Here are some quotes that I like most.

2007

  • I recommend the authors to get in contact with, e.g. sanitary engineers or fermentation/process engineersand not to try and invent the wheel again.
  • I only am willing to read this again if it has less than 20pages (Ed.: the original submission had 54)!

read more

Video recordings of CLSP JHU summer workshop 2014

The Summer Workshop brought together three recurring themes: improved recognition of conversational speech, probabilistic representations of linguistic meaning, and abstract meaning representations for machine translation.

Some highlights

  • Martha Palmer – Designing Abstract Meaning Representations for Machine Translation
  • Percy Liang – The State of the Art in Semantic Parsing
  • Shalom Lappin – A Rich Probabilistic Type Theory for the Semantics of Natural Language
  • David McAllester – The Problem of Reference
  • Stephan Oepen – Broad-Coverage Semantic Dependency Parsing
  • Giorgio Satta – Synchronous Rewriting for Natural Language Processing

read more