Motifclass: Weakly supervised text classification with higher-order metadata information