



"""simple docstring"""





from dataclasses import dataclass, field
from typing import ClassVar, Dict

from ..features import Features, Sequence, Value
from .base import TaskTemplate



@dataclass(frozen=SCREAMING_SNAKE_CASE__		)
class    _lowerCAmelCase    (				SCREAMING_SNAKE_CASE__		):





		"""simple docstring"""






		_lowerCamelCase			  =       field(default='''question-answering-extractive'''  ,				metadata={'''include_in_asdict_even_if_is_default''': True}		)
		_lowerCamelCase			  =       Features({'''question''': Value('''string'''		), '''context''': Value('''string'''		)}		)
		_lowerCamelCase			  =       Features(
		    {
		        '''answers''': Sequence(
		            {
		                '''text''': Value('''string'''		),
		                '''answer_start''': Value('''int32'''		),
		            }		)
		    }		)
		_lowerCamelCase			  =       "question"
		_lowerCamelCase			  =       "context"
		_lowerCamelCase			  =       "answers"





		@property
		def    UpperCAmelCase__							(					self   ) ->						Dict[str, str]:







								'''simple docstring'''

								return {self.question_column: "question", self.context_column: "context", self.answers_column: "answers"}






"""simple docstring"""





def 	__lowerCAmelCase						(		__UpperCamelCase      :			str    ):


						'''simple docstring'''






						return " ".join(input_str.split()[::-1]    )


if __name__ == "__main__":
					import doctest

					doctest.testmod()

