Text this: Nanocomposites analysis through machine learning