Feature selection for Named entity using SVM

后端 未结 1 1444
别跟我提以往
别跟我提以往 2021-01-14 07:05

I have some user comments data from which I want to find the name of consumer electronic brands. For instance consider these ne_chinked example sentence which talk about \"P

相关标签:
1条回答
  • 2021-01-14 08:01

    What I would do is add all entries of electronic brands you care in a list, and then in order for each entry to be unique I would use its entry's index in the list as a feature.

    e.g. ['Nokia', 'Apple', 'Microsoft']

    then: Nokia => 1 Microsoft => 2 etc

    This could help having a unique representation per brand as as a result a feature for SVM amongst others I pressume.

    0 讨论(0)
提交回复
热议问题