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.
Auf dieser Seite können Sie das Online-Video Text Processing Hacking - Part 2 mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Darrell Kreckel 19 August 2024 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 13 Mal angesehen und es wurde von 0 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!