<commit_before>h1. Voxeo Labs Moho

h2. Overview

h2. How to Install

p. Moho projects are built using Maven. To build it, simply follow these steps:

* Verify that Maven has been installed in your box. you can do this by running the command <code>mvn --version</code> in a terminal. 
* If Maven has been installed, it should print out your installed version of Maven. If not, please install Maven first, refer to "Maven site":http://maven.apache.org/index.html.
* Now you can run Maven to build Moho projects. Run <code>mvn package</code> to build the project and package the jars.

h2. How to Use

p. Moho is designed to run on any platform that supports JSR 289 and JSR 309. "Voxeo Prism":http://voxeo.com/prism is recommended and has Moho included by default.

p. To run Moho applications on "Voxeo Prism":http://voxeo.com/prism, simply deploy any Moho application package to Prism's app directory. Please note that unless you deploy a custom application router to "Voxeo Prism":http://voxeo.com/prism, only one Moho application can be deployed and run at any time.

h2. License

p. Moho is released under Apache 2 license. Please refer to "Apache 2.0 License":http://www.apache.org/licenses/LICENSE-2.0 for details.

h2. About Voxeo Corporation

p. Voxeo unlocks communications. We loathe the locks that make voice, SMS, instant messaging, Twitter, web chat, and mobile web unified communication and self-service applications difficult to create, manage, analyze, optimize and afford. Every day we work to unlock the neglected value of these communications solutions with open standards, disruptive innovation and a passion for problem solving--fueled by a company-wide obsession with customer success. We do so for more than 100,000 developers, 45,000 companies and half of the Fortune 100 from our headquarters in Orlando, Beijing, Cologne, and London. 

p. Visit us or join our conversations on the web at "blogs.voxeo.com":http://blogs.voxeo.com or on Twitter "@voxeo":http://twitter.com/voxeo.
<commit_msg>Added overview to the README.textile for the frontpage of Github<commit_after>h1. Voxeo Labs Moho

!http://dl.dropbox.com/u/25511/Voxeo/images/moho_vert_FULL%20COLOR.jpg!

h2. Overview

p. Moho is an open source Java framework for developing multi-channel communications applications. Today, building communications apps in Java requires that you write to several different standards and cobble together multiple technologies. Moho unifies real time communications under a single API, allowing developers to write better applications faster, with less code. Moho’s unified API for connecting to communications standards is shipping today with drivers for SIP Servlets and Media Control (JSR 289 and JSR 309) allowing developers to rapidly build SIP applications. The platform supports the creation of drivers for other protocols like XMPP, Jingle, SNMP, and other voice, IM, and SMS standards.

p. Moho runs on any application server that supports SIP servlets, including "Voxeo Prism":http://www.voxeo.com/prism/, "Sailfin":https://sailfin.dev.java.net/, and "Mobicents":http://www.mobicents.org/. It features an asynchronous programming model and comes with many commonly-needed concepts for telephony applications built in, including conferencing, muting, answering machine detection, transcoding, and call queues.

p. Building an IVR system can be as simple as answering the call and playing a prompt.

<pre>
   MediaService media;
   ApplicationContext context;
   CallableEndpoint salesEndpoint;

   @State
   public void start(final InviteEvent invite) throws Exception {
     final Call call = invite.acceptCall(this);
     call.join().get();
     call.setApplicationState("main menu");
     media = call.getMediaService(false);
     salesEndpoint = (CallableEndpoint) context.getEndpoint("tel:18005551212");
     media.prompt("Press 1 for sales or 2 for support", "1,2", 0);
   }

   @State("main menu")
   public void mainMenu(final InputCompleteEvent event) {
       switch (event.getCause()) {
       case MATCH:
           final Call call = (call) event.getSource();
           if (event.getConcept().equals("1")) {
               call.setApplicationState("sales");
               media.prompt("Who would you like to speak with?", SALES_GUYS, 0);
           }
           else {
               call.setApplicationState("support");
               final Call outgoingCall = salesEndpoint.call(null, null, this);
               call.join(
                  outgoingCall, 
                  JoinType.DIRECT, 
                  Joinable.Direction.DUPLEX
               );
           }
           break;
       }
   }
</pre>

p. The repository also includes a series of Moho code samples.

h2. How to Install

p. Moho projects are built using Maven. To build it, simply follow these steps:

* Verify that Maven has been installed in your box. you can do this by running the command <code>mvn --version</code> in a terminal. 
* If Maven has been installed, it should print out your installed version of Maven. If not, please install Maven first, refer to "Maven site":http://maven.apache.org/index.html.
* Now you can run Maven to build Moho projects. Run <code>mvn package</code> to build the project and package the jars.

h2. How to Use

p. Moho is designed to run on any platform that supports JSR 289 and JSR 309. "Voxeo Prism":http://voxeo.com/prism is recommended and has Moho included by default.

p. To run Moho applications on "Voxeo Prism":http://voxeo.com/prism, simply deploy any Moho application package to Prism's app directory. Please note that unless you deploy a custom application router to "Voxeo Prism":http://voxeo.com/prism, only one Moho application can be deployed and run at any time.

h2. License

p. Moho is released under Apache 2 license. Please refer to "Apache 2.0 License":http://www.apache.org/licenses/LICENSE-2.0 for details.

h2. About Voxeo Corporation

p. Voxeo unlocks communications. We loathe the locks that make voice, SMS, instant messaging, Twitter, web chat, and mobile web unified communication and self-service applications difficult to create, manage, analyze, optimize and afford. Every day we work to unlock the neglected value of these communications solutions with open standards, disruptive innovation and a passion for problem solving--fueled by a company-wide obsession with customer success. We do so for more than 100,000 developers, 45,000 companies and half of the Fortune 100 from our headquarters in Orlando, Beijing, Cologne, and London. 

p. Visit us or join our conversations on the web at "blogs.voxeo.com":http://blogs.voxeo.com or on Twitter "@voxeo":http://twitter.com/voxeo.

{'fraction_non_alphanumeric': 0.07395739573957395, 'fraction_numerical': 0.01395139513951395, 'mean_word_length': 3.7418207681365576, 'pattern_counts': {'":': 17, '<': 13, '<?xml version=': 0, '>': 13, 'https://': 1, 'lorem ipsum': 0, 'www.': 4, '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': '3339716', 'n_tokens_mistral': 1908, 'n_tokens_neox': 1777, 'n_words': 844}