<commit_before>= 0.1 release of Wolfram|Alpha Client for ruby

This is extreme alpha code!

gem is coming soon, as are features and tests

== get going

  make sure nokogiri and active_support are installed as gems

  $ git clone git://github.com/ianwhite/wac.git
  $ cd wac
  $ irb
  
  > require 'rubygems'
  > require 'lib/wac'
  
  > Wac.appid = "YOURAPIKEY"
  
  
  # grab a query result straight away
  
  > r = Wac.fetch 'pi'
  
      => a: MathematicalFunctionIdentity (assumptions: Clash)
        - Input: pi 
        - Decimal approximation: 3.1415926535897932384626433832795028841971693993751058209749... [More digits...]
        - Property: pi is a transcendental number 
        - Continued fraction: [3; 7, 15, 1, 292, 1, 1, 1, 2, 1, 3, 1, 14, 2, 1, 1, 2, 2, 2, 2, 1, 84, 2, 1, 1, 15, ...] [Fraction form...], [More terms...]
        - Alternative representations: pi = 180 deg  [More...]
        - Series representations: pi = 4 sum_(k=0)^infinity(-1)^k/(2 k+1) [More...]<commit_msg>Words<commit_after>= 0.1 release of Wolfram|Alpha Client for ruby

This is extreme alpha code!

gem is coming soon, as are features and tests

== get going

  make sure nokogiri and active_support are installed as gems

  $ git clone git://github.com/ianwhite/wac.git
  $ cd wac
  $ irb
  
  > require 'rubygems' # or similar, to load up the deps
  
  > require 'lib/wac'  
  
  > Wac.appid = "YOURAPIKEY"
  
  
  # grab a query result straight away
  
  > r = Wac.fetch 'pi'
  
      => a: MathematicalFunctionIdentity (assumptions: Clash)
        - Input: pi 
        - Decimal approximation: 3.1415926535897932384626433832795028841971693993751058209749... [More digits...]
        - Property: pi is a transcendental number 
        - Continued fraction: [3; 7, 15, 1, 292, 1, 1, 1, 2, 1, 3, 1, 14, 2, 1, 1, 2, 2, 2, 2, 1, 84, 2, 1, 1, 15, ...] [Fraction form...], [More terms...]
        - Alternative representations: pi = 180 deg  [More...]
        - Series representations: pi = 4 sum_(k=0)^infinity(-1)^k/(2 k+1) [More...]
{'fraction_non_alphanumeric': 0.1302417365564874, 'fraction_numerical': 0.09965466206216082, 'mean_word_length': 2.608540925266904, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 13, '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': '7093932', 'n_tokens_mistral': 876, 'n_tokens_neox': 705, 'n_words': 238}