<commit_before>PHPGPX is an easy to use GPX Parser written in PHP.

## Example Usage

    $gpx = GPX::fromXML($xml);

    foreach ($gpx->getTracks() as $track) {
        foreach ($track->getTrackSegments() as $trackSegment) {
            foreach ($trackSegment->getTrackPoints() as $waypoint) {
                echo 'Lat: ' . $waypoint->getLatitude() . ', Lon:' . $waypoint->getLongitude();
            }
        }
    }

The above example will list the latitude and longitude of all the waypoints in all of the tracks.<commit_msg>Fix readme<commit_after>PHPGPX is an easy to use GPX Parser written in PHP.

## Example Usage

    $GPXParser = new GPXParser();

    $gpx = GPXParser->parseXML($xml);

    foreach ($gpx->getTracks() as $track) {
        foreach ($track->getTrackSegments() as $trackSegment) {
            foreach ($trackSegment->getTrackPoints() as $waypoint) {
                echo 'Lat: ' . $waypoint->getLatitude() . ', Lon:' . $waypoint->getLongitude();
            }
        }
    }

The above example will list the latitude and longitude of all the waypoints in all of the tracks.
{'fraction_non_alphanumeric': 0.12443233424159855, 'fraction_numerical': 0.0, 'mean_word_length': 2.6733333333333333, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 14, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5461067', 'n_tokens_mistral': 338, 'n_tokens_neox': 322, 'n_words': 103}