Java-based hidden sequence recognition framework