Question: I need help with this question using python please: You will write a program train.py that takes texts from two languages to train a system
I need help with this question using python please:


You will write a program train.py that takes texts from two languages to train a system that will recognise the individual languages when a stream of 'unclassified' text is input to the system. The recogniser will be based on counts of characters, i.e. you will build a probability distribution of characters for each language. Input: a file containing the filenames of the languages - one filename per line. For example the input file might be called language_input_files.txt and contain the following two lines: english_training.txt french_training.txt The training text files should be in the format:
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
