<commit_before>services
========

Services API for ott.view (gtfs / trasnit web service)
@see http://opentransittools.com/view

build:
  0. install python 2.7, along easy_install, zc.buildout ("zc.buildout==1.5.2") and git
  1. git clone https://github.com/OpenTransitTools/services.git
  2. cd services
  3. buildout
  4. git update-index --assume-unchanged .pydevproject

run:
  1. rm nohup.out; nohup bin/pserve config/development.ini --reload SERVICES=1 &
  2. http://localhost:44444/stop?stop_id=2&full

test:
  0. run the server (see above)
  1. bin/test
  3. bin/geocode PDX  ## run/test the geocoder via the command line


load gtfs
  0. install python 2.7, along with zc.buildout and easy_install, git
  1. git clone https://github.com/OpenTransitTools/service.git
  2. cd service
  3. buildout
  4. git update-index --assume-unchanged .pydevproject
  5. SQL LITE: bin/gtfsdb-load --database_url sqlite://gtfs.db http://developer.trimet.org/schedule/gtfs.zip
     - or -
     PostGIS: bin/gtfsdb-load --database_url postgresql://postgres@127.0.0.1:5432/postgres --is_geospatial --schema ott http://developer.trimet.org/schedule/gtfs.zip
<commit_msg>initial add / copy of youtube stuff<commit_after>services
========

Services API for ott.view (gtfs / trasnit web service)
@see http://opentransittools.com/view

build:
  0. install python 2.7, along easy_install, zc.buildout ("zc.buildout==1.5.2") and git
  1. git clone https://github.com/OpenTransitTools/services.git
  2. cd services
  3. buildout
  4. git update-index --assume-unchanged .pydevproject

run:
  1. rm nohup.out; nohup bin/pserve config/development.ini --reload SERVICES=1 &
  2. http://localhost:44444/stop?stop_id=2&full

test:
  0. run the server (see above)
  1. bin/test
  3. bin/geocode PDX  ## run/test the geocoder via the command line


load gtfs
  0. install python 2.7, along with zc.buildout and easy_install, git
  1. git clone https://github.com/OpenTransitTools/service.git
  2. cd service
  3. buildout
  4. git update-index --assume-unchanged .pydevproject
  5. SQL LITE: bin/gtfsdb-load --database_url sqlite://gtfs.db http://developer.trimet.org/schedule/gtfs.zip
     - or -
     PostGIS: bin/gtfsdb-load --database_url postgresql://postgres@127.0.0.1:5432/postgres --is_geospatial --schema ott http://developer.trimet.org/schedule/gtfs.zip

Nov 26, 2016

{'fraction_non_alphanumeric': 0.1284013605442177, 'fraction_numerical': 0.036564625850340135, 'mean_word_length': 3.37360594795539, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, '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': '5636867', 'n_tokens_mistral': 888, 'n_tokens_neox': 844, 'n_words': 224}