<commit_before>= zip-code-info

This gem returns the state and city of the Sectional Center Facility for a given zip code. It does not use an external service.

The zip code data has been taken from http://en.wikipedia.org/wiki/ZIP_code_prefixes

== Usage

In your Gemfile

	gem zip-code-info

The code runs out of a Singleton class. Right now you can call these two methods.

	ZipCodeInfo.instance.state_for "99163"
	#=> WA

	ZipCodeInfo.instance.scf_city_for "99163"
	#=> Spokane<commit_msg>Fixed typo in the readme file.<commit_after>= zip-code-info

This gem returns the state and city of the Sectional Center Facility for a given zip code. It does not use an external service.

The zip code data has been taken from http://en.wikipedia.org/wiki/ZIP_code_prefixes

== Usage

In your Gemfile

	gem "zip-code-info"

The code runs out of a Singleton class. Right now you can call these two methods.

	ZipCodeInfo.instance.state_for "99163"
	#=> WA

	ZipCodeInfo.instance.scf_city_for "99163"
	#=> Spokane
{'fraction_non_alphanumeric': 0.07263681592039802, 'fraction_numerical': 0.01990049751243781, 'mean_word_length': 4.055276381909548, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, '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': '3333958', 'n_tokens_mistral': 342, 'n_tokens_neox': 315, 'n_words': 130}