如何建立模型以区分关于Apple(Inc.)的推文和关于Apple(fruit)的推文?


请参阅以下有关“苹果”的50条推文。我亲手写了有关Apple Inc.的正面匹配。它们在下面标记为1。

以下是几行:

1|“@chrisgilmer: Apple targets big business with new iOS 7 features http://bit.ly/15F9JeF ”. Finally.. A corp iTunes account!
0|“@Zach_Paull: When did green skittles change from lime to green apple? #notafan” @Skittles
1|@dtfcdvEric: @MaroneyFan11 apple inc is searching for people to help and tryout all their upcoming tablet within our own net page No.
0|@STFUTimothy have you tried apple pie shine?
1|#SuryaRay #India Microsoft to bring Xbox and PC games to Apple, Android phones: Report: Microsoft Corp... http://dlvr.it/3YvbQx  @SuryaRay

这是总数据集:http : //pastebin.com/eJuEb4eB

我需要建立一个对“ Apple”(Inc)分类的模型。从其余的。

我不是在寻找机器学习的一般概述,而是在寻找代码中的实际模型(首选Python)。

转载请注明出处:http://www.xx-qdn.com/article/20230315/867520.html