Three-way multi-granularity learning towards open topic classification