<commit_before>= PhysicalQuantifier

Classes for representing and manipulating physical quantities (numbers with units).

Written by <NAME> (<EMAIL>).


== Summary

In scientific and engineering applications there is often a need to work with numbers that represent actual real-world things. Quantities (like 42) become "physical" when we attach units to them (like meters or pounds). They then represent properties of real objects like time, mass, length, temperature, etc. PhysicalQuantifier allows your numbers to retain their "physicality" whether they're stored in a database, loaded into memory, or manipulated mathematically and combined with other quantities of like and unlike units. It also facilitates easy conversion between units of different measurement systems.


== Installation

Install PhysicalQuantifier from the Git repository with the Rails plugin script:

  script/plugin install git://github.com/alexreisner/physical_quantifier.git 

or outside of Rails without the plugin script:

  git clone git://github.com/alexreisner/physical_quantifier.git 


== Calculations and Conversions

Examples of basic usage:

  # Define some physical quantities.
  dist = PhysicalQuantity.new(53.125, :m) # 53.125 meters
  time = PhysicalQuantity.new( 4.25,  :s) #  4.250 seconds
  <commit_msg>Add 'No Longer Maintained' message.<commit_after>= PhysicalQuantifier

Classes for representing and manipulating physical quantities (numbers with units).

Written by <NAME> (<EMAIL>).


== Summary

In scientific and engineering applications there is often a need to work with numbers that represent actual real-world things. Quantities (like 42) become "physical" when we attach units to them (like meters or pounds). They then represent properties of real objects like time, mass, length, temperature, etc. PhysicalQuantifier allows your numbers to retain their "physicality" whether they're stored in a database, loaded into memory, or manipulated mathematically and combined with other quantities of like and unlike units. It also facilitates easy conversion between units of different measurement systems.

<b>PhysicalQuantifier is no longer actively maintained.</b>


== Installation

Install PhysicalQuantifier from the Git repository with the Rails plugin script:

  script/plugin install git://github.com/alexreisner/physical_quantifier.git 

or outside of Rails without the plugin script:

  git clone git://github.com/alexreisner/physical_quantifier.git 


== Calculations and Conversions

Examples of basic usage:

  # Define some physical quantities.
  dist = PhysicalQuantity.new(53.125, :m) # 53.125 meters
  time = PhysicalQuantity.new( 4.25,  :s) #  4.250 seconds
  
{'fraction_non_alphanumeric': 0.06224375698844577, 'fraction_numerical': 0.014163250093179277, 'mean_word_length': 4.898901098901099, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, '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': '1586449', 'n_tokens_mistral': 715, 'n_tokens_neox': 629, 'n_words': 316}