# Neural Networks with a list of undetermined length as input

I have a list of strings and for each input (each list), there is a target that is again a string. The idea is to let the network learn to generalize from the inputs.

Here is one example:

input_1 = ['abxd', 'abyd', 'abzd']
target_1 = 'ab.d'

input_2 = ['abmdexg', 'abndexg', 'abodexg', 'abmdeyg', 'abndeyg', 'abodeyg']
target_1 = 'ab.de.g'


As you see the length of the lists is not predefined. I want to check if Neural Networks are capable of generalizing more complex structures.