Text Processing Hacking - Part 2

Publicado el: 19 agosto 2024
en el canal de: Darrell Kreckel
13
0

Now that we have our 73 records it’s time to pull the actual data from those records. And we need specific code to process each type of data. We’ll start with the event location.

First thing we need to do is search each of our “found” records to find the unique key word that will get us our data. For most of the event locations that key word is “event-place d-block”.

Once that record is found we determine where in the string it begins. This will be our starting point. And knowing how long the key word is we can determine where the event location is in the string.

The next thing we need to do is find where a unique key word can be found that will help us determine where the end of the event location is in the string.

Since we know where the event location begins and where it ends, we can subtract the ending position from the starting position to get the length of the event location. This will be different for each event location.


En esta página del sitio puede ver el video en línea Text Processing Hacking - Part 2 de Duración hora minuto segunda en buena calidad , que subió el usuario Darrell Kreckel 19 agosto 2024, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 13 veces y le gustó 0 a los espectadores. Disfruta viendo!