發生向量 Incidence vectors

  • 文件少、相似度高時較有效率

  • Incidence vetors顧名思義就是以向量(0與1)表示文件的有無

Exercise1-4:

(1): Brutus AND Caesar but NOT Brutrs

solution:
Brutus => 110100 Caesar => 110111 !Brutrs => !(010000)=>101111

(2):Calpurnia OR mercy but NOT Brutus

solution:
Calpurnia => 010000 Mercy => 10111 !Brutrs => !(010000)=>101111

results matching ""

    No results matching ""