E
E
EminH2013-08-30 15:14:04
PHP
EminH, 2013-08-30 15:14:04

Text categorization

Good afternoon.
I would be grateful for a tip on solving such a problem:
a news database with a title and text, it is necessary to determine the category of each news using only content (PHP & MySQL)
I understand that a dictionary is needed, is there something ready somewhere?

Thanks

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Dmitry, 2013-08-30
@Dimitriys

maybe a simple bike on pure mysql without tricks is enough?

update `news` set `category`='disaster' where `content` like '%катастрофа%' or `content` like '%трагедия%';

V
Viktor Kuznetsov, 2013-08-30
@janitor

In general, this is a Machine Learning topic if you want to distribute content into categories with sufficient quality.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question