<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def extract_from_directory(path_in, path_out):
 """Run Eidos on a set of text files in a folder. The output is produced in the specified output folder but the output files aren't processed by this function. Parameters path_in : str Path to an input folder with some text files path_out : str Path to an output folder in which Eidos places the output JSON-LD files """

    path_in = os.path.realpath(os.path.expanduser(path_in))
    path_out = os.path.realpath(os.path.expanduser(path_out))
    logger.info('Running Eidos on input folder %s' % path_in)
    run_eidos('apps.ExtractFromDirectory', path_in, path_out)