extract hooking word - python