@Override
        public Detection detect(String input, Hint hint) {
            lastDetectionText = input;
            return super.detect(input, hint);
        }
A linguistics instance which records the last language detection text passed to it
container-search/src/test/java/com/yahoo/search/test/QueryTestCase.java