code: def __query(self, input_string):
          # type: (text_type)->text_type
          
          signal.signal(signal.SIGALRM, self.__notify_handler)
          signal.alarm(self.timeout_second)
          self.process_analyzer.sendline(input_string)
          buffer = ""
          while True:
              line_string = self.process_analyzer.readline()  # type: text_type
              if line_string.strip() == input_string:
                  """Skip if process returns the same input string"""
                  continue
              elif line_string.strip() == self.pattern:
                  buffer += line_string
                  signal.alarm(0)
                  return buffer
              else:
                  buffer += line_string
docs: * What you can do
          - It takes the result of Juman++
          - This function monitors time which takes for getting the result.