Information extraction by local density analysis