parameters: (self, partial_parses)
return_statement: return [("RA" if pp.stack[1] is "right" else "LA") if len(pp.buffer) == 0 else "S"
                  for pp in partial_parses]
docstring: First shifts everything onto the stack and then does exclusively right arcs if the first word of
          the sentence is "right", "left" if otherwise.
docstring_summary: First shifts everything onto the stack and then does exclusively right arcs if the first word of
          the sentence is "right", "left" if otherwise.
docstring_tokens: First shifts everything onto the stack and then does exclusively right arcs if the first word of the sentence is right left if otherwise .
function: def unidirectional_predict(self, partial_parses):
          """First shifts everything onto the stack and then does exclusively right arcs if the first word of
          the sentence is "right", "left" if otherwise.
          """
          return [("RA" if pp.stack[1] is "right" else "LA") if len(pp.buffer) == 0 else "S"
                  for pp in partial_parses]
function_tokens: def unidirectional_predict ( self , partial_parses ) : return [ ( "RA" if pp . stack [ 1 ] is "right" else "LA" ) if len ( pp . buffer ) == 0 else "S" for pp in partial_parses ]