Repository: incubator-joshua-site Updated Branches: refs/heads/asf-site [created] ccc928165
http://git-wip-us.apache.org/repos/asf/incubator-joshua-site/blob/ccc92816/dist/js/bootstrap.min.js ---------------------------------------------------------------------- diff --git a/dist/js/bootstrap.min.js b/dist/js/bootstrap.min.js new file mode 100644 index 0000000..d839865 --- /dev/null +++ b/dist/js/bootstrap.min.js @@ -0,0 +1,7 @@ +/*! + * Bootstrap v3.3.1 (http://getbootstrap.com) + * Copyright 2011-2014 Twitter, Inc. + * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) + */ +if("undefined"==typeof jQuery)throw new Error("Bootstrap's JavaScript requires jQuery");+function(a){var b=a.fn.jquery.split(" ")[0].split(".");if(b[0]<2&&b[1]<9||1==b[0]&&9==b[1]&&b[2]<1)throw new Error("Bootstrap's JavaScript requires jQuery version 1.9.1 or higher")}(jQuery),+function(a){"use strict";function b(){var a=document.createElement("bootstrap"),b={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var c in b)if(void 0!==a.style[c])return{end:b[c]};return!1}a.fn.emulateTransitionEnd=function(b){var c=!1,d=this;a(this).one("bsTransitionEnd",function(){c=!0});var e=function(){c||a(d).trigger(a.support.transition.end)};return setTimeout(e,b),this},a(function(){a.support.transition=b(),a.support.transition&&(a.event.special.bsTransitionEnd={bindType:a.support.transition.end,delegateType:a.support.transition.end,handle:function(b){return a(b.target).is(this)?b.handleObj.handler.apply (this,arguments):void 0}})})}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var c=a(this),e=c.data("bs.alert");e||c.data("bs.alert",e=new d(this)),"string"==typeof b&&e[b].call(c)})}var c='[data-dismiss="alert"]',d=function(b){a(b).on("click",c,this.close)};d.VERSION="3.3.1",d.TRANSITION_DURATION=150,d.prototype.close=function(b){function c(){g.detach().trigger("closed.bs.alert").remove()}var e=a(this),f=e.attr("data-target");f||(f=e.attr("href"),f=f&&f.replace(/.*(?=#[^\s]*$)/,""));var g=a(f);b&&b.preventDefault(),g.length||(g=e.closest(".alert")),g.trigger(b=a.Event("close.bs.alert")),b.isDefaultPrevented()||(g.removeClass("in"),a.support.transition&&g.hasClass("fade")?g.one("bsTransitionEnd",c).emulateTransitionEnd(d.TRANSITION_DURATION):c())};var e=a.fn.alert;a.fn.alert=b,a.fn.alert.Constructor=d,a.fn.alert.noConflict=function(){return a.fn.alert=e,this},a(document).on("click.bs.alert.data-api",c,d.prototype.close)}(jQuery),+function(a){"use strict" ;function b(b){return this.each(function(){var d=a(this),e=d.data("bs.button"),f="object"==typeof b&&b;e||d.data("bs.button",e=new c(this,f)),"toggle"==b?e.toggle():b&&e.setState(b)})}var c=function(b,d){this.$element=a(b),this.options=a.extend({},c.DEFAULTS,d),this.isLoading=!1};c.VERSION="3.3.1",c.DEFAULTS={loadingText:"loading..."},c.prototype.setState=function(b){var c="disabled",d=this.$element,e=d.is("input")?"val":"html",f=d.data();b+="Text",null==f.resetText&&d.data("resetText",d[e]()),setTimeout(a.proxy(function(){d[e](null==f[b]?this.options[b]:f[b]),"loadingText"==b?(this.isLoading=!0,d.addClass(c).attr(c,c)):this.isLoading&&(this.isLoading=!1,d.removeClass(c).removeAttr(c))},this),0)},c.prototype.toggle=function(){var a=!0,b=this.$element.closest('[data-toggle="buttons"]');if(b.length){var c=this.$element.find("input");"radio"==c.prop("type")&&(c.prop("checked")&&this.$element.hasClass("active")?a=!1:b.find(".active").removeClass("active")),a&&c.prop("checked",!this.$ele ment.hasClass("active")).trigger("change")}else this.$element.attr("aria-pressed",!this.$element.hasClass("active"));a&&this.$element.toggleClass("active")};var d=a.fn.button;a.fn.button=b,a.fn.button.Constructor=c,a.fn.button.noConflict=function(){return a.fn.button=d,this},a(document).on("click.bs.button.data-api",'[data-toggle^="button"]',function(c){var d=a(c.target);d.hasClass("btn")||(d=d.closest(".btn")),b.call(d,"toggle"),c.preventDefault()}).on("focus.bs.button.data-api blur.bs.button.data-api",'[data-toggle^="button"]',function(b){a(b.target).closest(".btn").toggleClass("focus",/^focus(in)?$/.test(b.type))})}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.carousel"),f=a.extend({},c.DEFAULTS,d.data(),"object"==typeof b&&b),g="string"==typeof b?b:f.slide;e||d.data("bs.carousel",e=new c(this,f)),"number"==typeof b?e.to(b):g?e[g]():f.interval&&e.pause().cycle()})}var c=function(b,c){this.$element=a(b),this.$indicators=thi s.$element.find(".carousel-indicators"),this.options=c,this.paused=this.sliding=this.interval=this.$active=this.$items=null,this.options.keyboard&&this.$element.on("keydown.bs.carousel",a.proxy(this.keydown,this)),"hover"==this.options.pause&&!("ontouchstart"in document.documentElement)&&this.$element.on("mouseenter.bs.carousel",a.proxy(this.pause,this)).on("mouseleave.bs.carousel",a.proxy(this.cycle,this))};c.VERSION="3.3.1",c.TRANSITION_DURATION=600,c.DEFAULTS={interval:5e3,pause:"hover",wrap:!0,keyboard:!0},c.prototype.keydown=function(a){if(!/input|textarea/i.test(a.target.tagName)){switch(a.which){case 37:this.prev();break;case 39:this.next();break;default:return}a.preventDefault()}},c.prototype.cycle=function(b){return b||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(a.proxy(this.next,this),this.options.interval)),this},c.prototype.getItemIndex=function(a){return this.$items=a.parent().children(".it em"),this.$items.index(a||this.$active)},c.prototype.getItemForDirection=function(a,b){var c="prev"==a?-1:1,d=this.getItemIndex(b),e=(d+c)%this.$items.length;return this.$items.eq(e)},c.prototype.to=function(a){var b=this,c=this.getItemIndex(this.$active=this.$element.find(".item.active"));return a>this.$items.length-1||0>a?void 0:this.sliding?this.$element.one("slid.bs.carousel",function(){b.to(a)}):c==a?this.pause().cycle():this.slide(a>c?"next":"prev",this.$items.eq(a))},c.prototype.pause=function(b){return b||(this.paused=!0),this.$element.find(".next, .prev").length&&a.support.transition&&(this.$element.trigger(a.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},c.prototype.next=function(){return this.sliding?void 0:this.slide("next")},c.prototype.prev=function(){return this.sliding?void 0:this.slide("prev")},c.prototype.slide=function(b,d){var e=this.$element.find(".item.active"),f=d||this.getItemForDirection(b,e),g=this.interval,h="next" ==b?"left":"right",i="next"==b?"first":"last",j=this;if(!f.length){if(!this.options.wrap)return;f=this.$element.find(".item")[i]()}if(f.hasClass("active"))return this.sliding=!1;var k=f[0],l=a.Event("slide.bs.carousel",{relatedTarget:k,direction:h});if(this.$element.trigger(l),!l.isDefaultPrevented()){if(this.sliding=!0,g&&this.pause(),this.$indicators.length){this.$indicators.find(".active").removeClass("active");var m=a(this.$indicators.children()[this.getItemIndex(f)]);m&&m.addClass("active")}var n=a.Event("slid.bs.carousel",{relatedTarget:k,direction:h});return a.support.transition&&this.$element.hasClass("slide")?(f.addClass(b),f[0].offsetWidth,e.addClass(h),f.addClass(h),e.one("bsTransitionEnd",function(){f.removeClass([b,h].join(" ")).addClass("active"),e.removeClass(["active",h].join(" ")),j.sliding=!1,setTimeout(function(){j.$element.trigger(n)},0)}).emulateTransitionEnd(c.TRANSITION_DURATION)):(e.removeClass("active"),f.addClass("active"),this.sliding=!1,this.$element.trig ger(n)),g&&this.cycle(),this}};var d=a.fn.carousel;a.fn.carousel=b,a.fn.carousel.Constructor=c,a.fn.carousel.noConflict=function(){return a.fn.carousel=d,this};var e=function(c){var d,e=a(this),f=a(e.attr("data-target")||(d=e.attr("href"))&&d.replace(/.*(?=#[^\s]+$)/,""));if(f.hasClass("carousel")){var g=a.extend({},f.data(),e.data()),h=e.attr("data-slide-to");h&&(g.interval=!1),b.call(f,g),h&&f.data("bs.carousel").to(h),c.preventDefault()}};a(document).on("click.bs.carousel.data-api","[data-slide]",e).on("click.bs.carousel.data-api","[data-slide-to]",e),a(window).on("load",function(){a('[data-ride="carousel"]').each(function(){var c=a(this);b.call(c,c.data())})})}(jQuery),+function(a){"use strict";function b(b){var c,d=b.attr("data-target")||(c=b.attr("href"))&&c.replace(/.*(?=#[^\s]+$)/,"");return a(d)}function c(b){return this.each(function(){var c=a(this),e=c.data("bs.collapse"),f=a.extend({},d.DEFAULTS,c.data(),"object"==typeof b&&b);!e&&f.toggle&&"show"==b&&(f.toggle=!1),e||c. data("bs.collapse",e=new d(this,f)),"string"==typeof b&&e[b]()})}var d=function(b,c){this.$element=a(b),this.options=a.extend({},d.DEFAULTS,c),this.$trigger=a(this.options.trigger).filter('[href="#'+b.id+'"], [data-target="#'+b.id+'"]'),this.transitioning=null,this.options.parent?this.$parent=this.getParent():this.addAriaAndCollapsedClass(this.$element,this.$trigger),this.options.toggle&&this.toggle()};d.VERSION="3.3.1",d.TRANSITION_DURATION=350,d.DEFAULTS={toggle:!0,trigger:'[data-toggle="collapse"]'},d.prototype.dimension=function(){var a=this.$element.hasClass("width");return a?"width":"height"},d.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var b,e=this.$parent&&this.$parent.find("> .panel").children(".in, .collapsing");if(!(e&&e.length&&(b=e.data("bs.collapse"),b&&b.transitioning))){var f=a.Event("show.bs.collapse");if(this.$element.trigger(f),!f.isDefaultPrevented()){e&&e.length&&(c.call(e,"hide"),b||e.data("bs.collapse",null));var g=this.di mension();this.$element.removeClass("collapse").addClass("collapsing")[g](0).attr("aria-expanded",!0),this.$trigger.removeClass("collapsed").attr("aria-expanded",!0),this.transitioning=1;var h=function(){this.$element.removeClass("collapsing").addClass("collapse in")[g](""),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!a.support.transition)return h.call(this);var i=a.camelCase(["scroll",g].join("-"));this.$element.one("bsTransitionEnd",a.proxy(h,this)).emulateTransitionEnd(d.TRANSITION_DURATION)[g](this.$element[0][i])}}}},d.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var b=a.Event("hide.bs.collapse");if(this.$element.trigger(b),!b.isDefaultPrevented()){var c=this.dimension();this.$element[c](this.$element[c]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse in").attr("aria-expanded",!1),this.$trigger.addClass("collapsed").attr("aria-expanded",!1),this.transitioning=1;var e=function(){this.transit ioning=0,this.$element.removeClass("collapsing").addClass("collapse").trigger("hidden.bs.collapse")};return a.support.transition?void this.$element[c](0).one("bsTransitionEnd",a.proxy(e,this)).emulateTransitionEnd(d.TRANSITION_DURATION):e.call(this)}}},d.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()},d.prototype.getParent=function(){return a(this.options.parent).find('[data-toggle="collapse"][data-parent="'+this.options.parent+'"]').each(a.proxy(function(c,d){var e=a(d);this.addAriaAndCollapsedClass(b(e),e)},this)).end()},d.prototype.addAriaAndCollapsedClass=function(a,b){var c=a.hasClass("in");a.attr("aria-expanded",c),b.toggleClass("collapsed",!c).attr("aria-expanded",c)};var e=a.fn.collapse;a.fn.collapse=c,a.fn.collapse.Constructor=d,a.fn.collapse.noConflict=function(){return a.fn.collapse=e,this},a(document).on("click.bs.collapse.data-api",'[data-toggle="collapse"]',function(d){var e=a(this);e.attr("data-target")||d.preventDefault();var f=b(e),g= f.data("bs.collapse"),h=g?"toggle":a.extend({},e.data(),{trigger:this});c.call(f,h)})}(jQuery),+function(a){"use strict";function b(b){b&&3===b.which||(a(e).remove(),a(f).each(function(){var d=a(this),e=c(d),f={relatedTarget:this};e.hasClass("open")&&(e.trigger(b=a.Event("hide.bs.dropdown",f)),b.isDefaultPrevented()||(d.attr("aria-expanded","false"),e.removeClass("open").trigger("hidden.bs.dropdown",f)))}))}function c(b){var c=b.attr("data-target");c||(c=b.attr("href"),c=c&&/#[A-Za-z]/.test(c)&&c.replace(/.*(?=#[^\s]*$)/,""));var d=c&&a(c);return d&&d.length?d:b.parent()}function d(b){return this.each(function(){var c=a(this),d=c.data("bs.dropdown");d||c.data("bs.dropdown",d=new g(this)),"string"==typeof b&&d[b].call(c)})}var e=".dropdown-backdrop",f='[data-toggle="dropdown"]',g=function(b){a(b).on("click.bs.dropdown",this.toggle)};g.VERSION="3.3.1",g.prototype.toggle=function(d){var e=a(this);if(!e.is(".disabled, :disabled")){var f=c(e),g=f.hasClass("open");if(b(),!g){"ontouchstart "in document.documentElement&&!f.closest(".navbar-nav").length&&a('<div class="dropdown-backdrop"/>').insertAfter(a(this)).on("click",b);var h={relatedTarget:this};if(f.trigger(d=a.Event("show.bs.dropdown",h)),d.isDefaultPrevented())return;e.trigger("focus").attr("aria-expanded","true"),f.toggleClass("open").trigger("shown.bs.dropdown",h)}return!1}},g.prototype.keydown=function(b){if(/(38|40|27|32)/.test(b.which)&&!/input|textarea/i.test(b.target.tagName)){var d=a(this);if(b.preventDefault(),b.stopPropagation(),!d.is(".disabled, :disabled")){var e=c(d),g=e.hasClass("open");if(!g&&27!=b.which||g&&27==b.which)return 27==b.which&&e.find(f).trigger("focus"),d.trigger("click");var h=" li:not(.divider):visible a",i=e.find('[role="menu"]'+h+', [role="listbox"]'+h);if(i.length){var j=i.index(b.target);38==b.which&&j>0&&j--,40==b.which&&j<i.length-1&&j++,~j||(j=0),i.eq(j).trigger("focus")}}}};var h=a.fn.dropdown;a.fn.dropdown=d,a.fn.dropdown.Constructor=g,a.fn.dropdown.noConflict=function(){ return a.fn.dropdown=h,this},a(document).on("click.bs.dropdown.data-api",b).on("click.bs.dropdown.data-api",".dropdown form",function(a){a.stopPropagation()}).on("click.bs.dropdown.data-api",f,g.prototype.toggle).on("keydown.bs.dropdown.data-api",f,g.prototype.keydown).on("keydown.bs.dropdown.data-api",'[role="menu"]',g.prototype.keydown).on("keydown.bs.dropdown.data-api",'[role="listbox"]',g.prototype.keydown)}(jQuery),+function(a){"use strict";function b(b,d){return this.each(function(){var e=a(this),f=e.data("bs.modal"),g=a.extend({},c.DEFAULTS,e.data(),"object"==typeof b&&b);f||e.data("bs.modal",f=new c(this,g)),"string"==typeof b?f[b](d):g.show&&f.show(d)})}var c=function(b,c){this.options=c,this.$body=a(document.body),this.$element=a(b),this.$backdrop=this.isShown=null,this.scrollbarWidth=0,this.options.remote&&this.$element.find(".modal-content").load(this.options.remote,a.proxy(function(){this.$element.trigger("loaded.bs.modal")},this))};c.VERSION="3.3.1",c.TRANSITION_DURATI ON=300,c.BACKDROP_TRANSITION_DURATION=150,c.DEFAULTS={backdrop:!0,keyboard:!0,show:!0},c.prototype.toggle=function(a){return this.isShown?this.hide():this.show(a)},c.prototype.show=function(b){var d=this,e=a.Event("show.bs.modal",{relatedTarget:b});this.$element.trigger(e),this.isShown||e.isDefaultPrevented()||(this.isShown=!0,this.checkScrollbar(),this.setScrollbar(),this.$body.addClass("modal-open"),this.escape(),this.resize(),this.$element.on("click.dismiss.bs.modal",'[data-dismiss="modal"]',a.proxy(this.hide,this)),this.backdrop(function(){var e=a.support.transition&&d.$element.hasClass("fade");d.$element.parent().length||d.$element.appendTo(d.$body),d.$element.show().scrollTop(0),d.options.backdrop&&d.adjustBackdrop(),d.adjustDialog(),e&&d.$element[0].offsetWidth,d.$element.addClass("in").attr("aria-hidden",!1),d.enforceFocus();var f=a.Event("shown.bs.modal",{relatedTarget:b});e?d.$element.find(".modal-dialog").one("bsTransitionEnd",function(){d.$element.trigger("focus").trigge r(f)}).emulateTransitionEnd(c.TRANSITION_DURATION):d.$element.trigger("focus").trigger(f)}))},c.prototype.hide=function(b){b&&b.preventDefault(),b=a.Event("hide.bs.modal"),this.$element.trigger(b),this.isShown&&!b.isDefaultPrevented()&&(this.isShown=!1,this.escape(),this.resize(),a(document).off("focusin.bs.modal"),this.$element.removeClass("in").attr("aria-hidden",!0).off("click.dismiss.bs.modal"),a.support.transition&&this.$element.hasClass("fade")?this.$element.one("bsTransitionEnd",a.proxy(this.hideModal,this)).emulateTransitionEnd(c.TRANSITION_DURATION):this.hideModal())},c.prototype.enforceFocus=function(){a(document).off("focusin.bs.modal").on("focusin.bs.modal",a.proxy(function(a){this.$element[0]===a.target||this.$element.has(a.target).length||this.$element.trigger("focus")},this))},c.prototype.escape=function(){this.isShown&&this.options.keyboard?this.$element.on("keydown.dismiss.bs.modal",a.proxy(function(a){27==a.which&&this.hide()},this)):this.isShown||this.$element.off ("keydown.dismiss.bs.modal")},c.prototype.resize=function(){this.isShown?a(window).on("resize.bs.modal",a.proxy(this.handleUpdate,this)):a(window).off("resize.bs.modal")},c.prototype.hideModal=function(){var a=this;this.$element.hide(),this.backdrop(function(){a.$body.removeClass("modal-open"),a.resetAdjustments(),a.resetScrollbar(),a.$element.trigger("hidden.bs.modal")})},c.prototype.removeBackdrop=function(){this.$backdrop&&this.$backdrop.remove(),this.$backdrop=null},c.prototype.backdrop=function(b){var d=this,e=this.$element.hasClass("fade")?"fade":"";if(this.isShown&&this.options.backdrop){var f=a.support.transition&&e;if(this.$backdrop=a('<div class="modal-backdrop '+e+'" />').prependTo(this.$element).on("click.dismiss.bs.modal",a.proxy(function(a){a.target===a.currentTarget&&("static"==this.options.backdrop?this.$element[0].focus.call(this.$element[0]):this.hide.call(this))},this)),f&&this.$backdrop[0].offsetWidth,this.$backdrop.addClass("in"),!b)return;f?this.$backdrop.one(" bsTransitionEnd",b).emulateTransitionEnd(c.BACKDROP_TRANSITION_DURATION):b()}else if(!this.isShown&&this.$backdrop){this.$backdrop.removeClass("in");var g=function(){d.removeBackdrop(),b&&b()};a.support.transition&&this.$element.hasClass("fade")?this.$backdrop.one("bsTransitionEnd",g).emulateTransitionEnd(c.BACKDROP_TRANSITION_DURATION):g()}else b&&b()},c.prototype.handleUpdate=function(){this.options.backdrop&&this.adjustBackdrop(),this.adjustDialog()},c.prototype.adjustBackdrop=function(){this.$backdrop.css("height",0).css("height",this.$element[0].scrollHeight)},c.prototype.adjustDialog=function(){var a=this.$element[0].scrollHeight>document.documentElement.clientHeight;this.$element.css({paddingLeft:!this.bodyIsOverflowing&&a?this.scrollbarWidth:"",paddingRight:this.bodyIsOverflowing&&!a?this.scrollbarWidth:""})},c.prototype.resetAdjustments=function(){this.$element.css({paddingLeft:"",paddingRight:""})},c.prototype.checkScrollbar=function(){this.bodyIsOverflowing=document.body. scrollHeight>document.documentElement.clientHeight,this.scrollbarWidth=this.measureScrollbar()},c.prototype.setScrollbar=function(){var a=parseInt(this.$body.css("padding-right")||0,10);this.bodyIsOverflowing&&this.$body.css("padding-right",a+this.scrollbarWidth)},c.prototype.resetScrollbar=function(){this.$body.css("padding-right","")},c.prototype.measureScrollbar=function(){var a=document.createElement("div");a.className="modal-scrollbar-measure",this.$body.append(a);var b=a.offsetWidth-a.clientWidth;return this.$body[0].removeChild(a),b};var d=a.fn.modal;a.fn.modal=b,a.fn.modal.Constructor=c,a.fn.modal.noConflict=function(){return a.fn.modal=d,this},a(document).on("click.bs.modal.data-api",'[data-toggle="modal"]',function(c){var d=a(this),e=d.attr("href"),f=a(d.attr("data-target")||e&&e.replace(/.*(?=#[^\s]+$)/,"")),g=f.data("bs.modal")?"toggle":a.extend({remote:!/#/.test(e)&&e},f.data(),d.data());d.is("a")&&c.preventDefault(),f.one("show.bs.modal",function(a){a.isDefaultPrevente d()||f.one("hidden.bs.modal",function(){d.is(":visible")&&d.trigger("focus")})}),b.call(f,g,this)})}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.tooltip"),f="object"==typeof b&&b,g=f&&f.selector;(e||"destroy"!=b)&&(g?(e||d.data("bs.tooltip",e={}),e[g]||(e[g]=new c(this,f))):e||d.data("bs.tooltip",e=new c(this,f)),"string"==typeof b&&e[b]())})}var c=function(a,b){this.type=this.options=this.enabled=this.timeout=this.hoverState=this.$element=null,this.init("tooltip",a,b)};c.VERSION="3.3.1",c.TRANSITION_DURATION=150,c.DEFAULTS={animation:!0,placement:"top",selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,container:!1,viewport:{selector:"body",padding:0}},c.prototype.init=function(b,c,d){this.enabled=!0,this.type=b,this.$element=a(c),this.options=this.getOptions(d),this.$viewport=this.options.viewport &&a(this.options.viewport.selector||this.options.viewport);for(var e=this.options.trigger.split(" "),f=e.length;f--;){var g=e[f];if("click"==g)this.$element.on("click."+this.type,this.options.selector,a.proxy(this.toggle,this));else if("manual"!=g){var h="hover"==g?"mouseenter":"focusin",i="hover"==g?"mouseleave":"focusout";this.$element.on(h+"."+this.type,this.options.selector,a.proxy(this.enter,this)),this.$element.on(i+"."+this.type,this.options.selector,a.proxy(this.leave,this))}}this.options.selector?this._options=a.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},c.prototype.getDefaults=function(){return c.DEFAULTS},c.prototype.getOptions=function(b){return b=a.extend({},this.getDefaults(),this.$element.data(),b),b.delay&&"number"==typeof b.delay&&(b.delay={show:b.delay,hide:b.delay}),b},c.prototype.getDelegateOptions=function(){var b={},c=this.getDefaults();return this._options&&a.each(this._options,function(a,d){c[a]!=d&&(b[a]=d)}),b},c.prototype.enter =function(b){var c=b instanceof this.constructor?b:a(b.currentTarget).data("bs."+this.type);return c&&c.$tip&&c.$tip.is(":visible")?void(c.hoverState="in"):(c||(c=new this.constructor(b.currentTarget,this.getDelegateOptions()),a(b.currentTarget).data("bs."+this.type,c)),clearTimeout(c.timeout),c.hoverState="in",c.options.delay&&c.options.delay.show?void(c.timeout=setTimeout(function(){"in"==c.hoverState&&c.show()},c.options.delay.show)):c.show())},c.prototype.leave=function(b){var c=b instanceof this.constructor?b:a(b.currentTarget).data("bs."+this.type);return c||(c=new this.constructor(b.currentTarget,this.getDelegateOptions()),a(b.currentTarget).data("bs."+this.type,c)),clearTimeout(c.timeout),c.hoverState="out",c.options.delay&&c.options.delay.hide?void(c.timeout=setTimeout(function(){"out"==c.hoverState&&c.hide()},c.options.delay.hide)):c.hide()},c.prototype.show=function(){var b=a.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){this.$element.trigger(b);var d=a. contains(this.$element[0].ownerDocument.documentElement,this.$element[0]);if(b.isDefaultPrevented()||!d)return;var e=this,f=this.tip(),g=this.getUID(this.type);this.setContent(),f.attr("id",g),this.$element.attr("aria-describedby",g),this.options.animation&&f.addClass("fade");var h="function"==typeof this.options.placement?this.options.placement.call(this,f[0],this.$element[0]):this.options.placement,i=/\s?auto?\s?/i,j=i.test(h);j&&(h=h.replace(i,"")||"top"),f.detach().css({top:0,left:0,display:"block"}).addClass(h).data("bs."+this.type,this),this.options.container?f.appendTo(this.options.container):f.insertAfter(this.$element);var k=this.getPosition(),l=f[0].offsetWidth,m=f[0].offsetHeight;if(j){var n=h,o=this.options.container?a(this.options.container):this.$element.parent(),p=this.getPosition(o);h="bottom"==h&&k.bottom+m>p.bottom?"top":"top"==h&&k.top-m<p.top?"bottom":"right"==h&&k.right+l>p.width?"left":"left"==h&&k.left-l<p.left?"right":h,f.removeClass(n).addClass(h)}var q=this .getCalculatedOffset(h,k,l,m);this.applyPlacement(q,h);var r=function(){var a=e.hoverState;e.$element.trigger("shown.bs."+e.type),e.hoverState=null,"out"==a&&e.leave(e)};a.support.transition&&this.$tip.hasClass("fade")?f.one("bsTransitionEnd",r).emulateTransitionEnd(c.TRANSITION_DURATION):r()}},c.prototype.applyPlacement=function(b,c){var d=this.tip(),e=d[0].offsetWidth,f=d[0].offsetHeight,g=parseInt(d.css("margin-top"),10),h=parseInt(d.css("margin-left"),10);isNaN(g)&&(g=0),isNaN(h)&&(h=0),b.top=b.top+g,b.left=b.left+h,a.offset.setOffset(d[0],a.extend({using:function(a){d.css({top:Math.round(a.top),left:Math.round(a.left)})}},b),0),d.addClass("in");var i=d[0].offsetWidth,j=d[0].offsetHeight;"top"==c&&j!=f&&(b.top=b.top+f-j);var k=this.getViewportAdjustedDelta(c,b,i,j);k.left?b.left+=k.left:b.top+=k.top;var l=/top|bottom/.test(c),m=l?2*k.left-e+i:2*k.top-f+j,n=l?"offsetWidth":"offsetHeight";d.offset(b),this.replaceArrow(m,d[0][n],l)},c.prototype.replaceArrow=function(a,b,c){this.arr ow().css(c?"left":"top",50*(1-a/b)+"%").css(c?"top":"left","")},c.prototype.setContent=function(){var a=this.tip(),b=this.getTitle();a.find(".tooltip-inner")[this.options.html?"html":"text"](b),a.removeClass("fade in top bottom left right")},c.prototype.hide=function(b){function d(){"in"!=e.hoverState&&f.detach(),e.$element.removeAttr("aria-describedby").trigger("hidden.bs."+e.type),b&&b()}var e=this,f=this.tip(),g=a.Event("hide.bs."+this.type);return this.$element.trigger(g),g.isDefaultPrevented()?void 0:(f.removeClass("in"),a.support.transition&&this.$tip.hasClass("fade")?f.one("bsTransitionEnd",d).emulateTransitionEnd(c.TRANSITION_DURATION):d(),this.hoverState=null,this)},c.prototype.fixTitle=function(){var a=this.$element;(a.attr("title")||"string"!=typeof a.attr("data-original-title"))&&a.attr("data-original-title",a.attr("title")||"").attr("title","")},c.prototype.hasContent=function(){return this.getTitle()},c.prototype.getPosition=function(b){b=b||this.$element;var c=b[0],d= "BODY"==c.tagName,e=c.getBoundingClientRect();null==e.width&&(e=a.extend({},e,{width:e.right-e.left,height:e.bottom-e.top}));var f=d?{top:0,left:0}:b.offset(),g={scroll:d?document.documentElement.scrollTop||document.body.scrollTop:b.scrollTop()},h=d?{width:a(window).width(),height:a(window).height()}:null;return a.extend({},e,g,h,f)},c.prototype.getCalculatedOffset=function(a,b,c,d){return"bottom"==a?{top:b.top+b.height,left:b.left+b.width/2-c/2}:"top"==a?{top:b.top-d,left:b.left+b.width/2-c/2}:"left"==a?{top:b.top+b.height/2-d/2,left:b.left-c}:{top:b.top+b.height/2-d/2,left:b.left+b.width}},c.prototype.getViewportAdjustedDelta=function(a,b,c,d){var e={top:0,left:0};if(!this.$viewport)return e;var f=this.options.viewport&&this.options.viewport.padding||0,g=this.getPosition(this.$viewport);if(/right|left/.test(a)){var h=b.top-f-g.scroll,i=b.top+f-g.scroll+d;h<g.top?e.top=g.top-h:i>g.top+g.height&&(e.top=g.top+g.height-i)}else{var j=b.left-f,k=b.left+f+c;j<g.left?e.left=g.left-j:k>g.w idth&&(e.left=g.left+g.width-k)}return e},c.prototype.getTitle=function(){var a,b=this.$element,c=this.options;return a=b.attr("data-original-title")||("function"==typeof c.title?c.title.call(b[0]):c.title)},c.prototype.getUID=function(a){do a+=~~(1e6*Math.random());while(document.getElementById(a));return a},c.prototype.tip=function(){return this.$tip=this.$tip||a(this.options.template)},c.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},c.prototype.enable=function(){this.enabled=!0},c.prototype.disable=function(){this.enabled=!1},c.prototype.toggleEnabled=function(){this.enabled=!this.enabled},c.prototype.toggle=function(b){var c=this;b&&(c=a(b.currentTarget).data("bs."+this.type),c||(c=new this.constructor(b.currentTarget,this.getDelegateOptions()),a(b.currentTarget).data("bs."+this.type,c))),c.tip().hasClass("in")?c.leave(c):c.enter(c)},c.prototype.destroy=function(){var a=this;clearTimeout(this.timeout),this.hide(function(){a.$elemen t.off("."+a.type).removeData("bs."+a.type)})};var d=a.fn.tooltip;a.fn.tooltip=b,a.fn.tooltip.Constructor=c,a.fn.tooltip.noConflict=function(){return a.fn.tooltip=d,this}}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.popover"),f="object"==typeof b&&b,g=f&&f.selector;(e||"destroy"!=b)&&(g?(e||d.data("bs.popover",e={}),e[g]||(e[g]=new c(this,f))):e||d.data("bs.popover",e=new c(this,f)),"string"==typeof b&&e[b]())})}var c=function(a,b){this.init("popover",a,b)};if(!a.fn.tooltip)throw new Error("Popover requires tooltip.js");c.VERSION="3.3.1",c.DEFAULTS=a.extend({},a.fn.tooltip.Constructor.DEFAULTS,{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-title"></h3><div class="popover-content"></div></div>'}),c.prototype=a.extend({},a.fn.tooltip.Constructor.prototype),c.prototype.constructor=c,c.prototype.getDefaults=function(){return c.DEFAULTS},c.pro totype.setContent=function(){var a=this.tip(),b=this.getTitle(),c=this.getContent();a.find(".popover-title")[this.options.html?"html":"text"](b),a.find(".popover-content").children().detach().end()[this.options.html?"string"==typeof c?"html":"append":"text"](c),a.removeClass("fade top bottom left right in"),a.find(".popover-title").html()||a.find(".popover-title").hide()},c.prototype.hasContent=function(){return this.getTitle()||this.getContent()},c.prototype.getContent=function(){var a=this.$element,b=this.options;return a.attr("data-content")||("function"==typeof b.content?b.content.call(a[0]):b.content)},c.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")},c.prototype.tip=function(){return this.$tip||(this.$tip=a(this.options.template)),this.$tip};var d=a.fn.popover;a.fn.popover=b,a.fn.popover.Constructor=c,a.fn.popover.noConflict=function(){return a.fn.popover=d,this}}(jQuery),+function(a){"use strict";function b(c,d){var e=a.proxy(this.process ,this);this.$body=a("body"),this.$scrollElement=a(a(c).is("body")?window:c),this.options=a.extend({},b.DEFAULTS,d),this.selector=(this.options.target||"")+" .nav li > a",this.offsets=[],this.targets=[],this.activeTarget=null,this.scrollHeight=0,this.$scrollElement.on("scroll.bs.scrollspy",e),this.refresh(),this.process()}function c(c){return this.each(function(){var d=a(this),e=d.data("bs.scrollspy"),f="object"==typeof c&&c;e||d.data("bs.scrollspy",e=new b(this,f)),"string"==typeof c&&e[c]()})}b.VERSION="3.3.1",b.DEFAULTS={offset:10},b.prototype.getScrollHeight=function(){return this.$scrollElement[0].scrollHeight||Math.max(this.$body[0].scrollHeight,document.documentElement.scrollHeight)},b.prototype.refresh=function(){var b="offset",c=0;a.isWindow(this.$scrollElement[0])||(b="position",c=this.$scrollElement.scrollTop()),this.offsets=[],this.targets=[],this.scrollHeight=this.getScrollHeight();var d=this;this.$body.find(this.selector).map(function(){var d=a(this),e=d.data("target")| |d.attr("href"),f=/^#./.test(e)&&a(e);return f&&f.length&&f.is(":visible")&&[[f[b]().top+c,e]]||null}).sort(function(a,b){return a[0]-b[0]}).each(function(){d.offsets.push(this[0]),d.targets.push(this[1])})},b.prototype.process=function(){var a,b=this.$scrollElement.scrollTop()+this.options.offset,c=this.getScrollHeight(),d=this.options.offset+c-this.$scrollElement.height(),e=this.offsets,f=this.targets,g=this.activeTarget;if(this.scrollHeight!=c&&this.refresh(),b>=d)return g!=(a=f[f.length-1])&&this.activate(a);if(g&&b<e[0])return this.activeTarget=null,this.clear();for(a=e.length;a--;)g!=f[a]&&b>=e[a]&&(!e[a+1]||b<=e[a+1])&&this.activate(f[a])},b.prototype.activate=function(b){this.activeTarget=b,this.clear();var c=this.selector+'[data-target="'+b+'"],'+this.selector+'[href="'+b+'"]',d=a(c).parents("li").addClass("active");d.parent(".dropdown-menu").length&&(d=d.closest("li.dropdown").addClass("active")),d.trigger("activate.bs.scrollspy")},b.prototype.clear=function(){a(this.selec tor).parentsUntil(this.options.target,".active").removeClass("active")};var d=a.fn.scrollspy;a.fn.scrollspy=c,a.fn.scrollspy.Constructor=b,a.fn.scrollspy.noConflict=function(){return a.fn.scrollspy=d,this},a(window).on("load.bs.scrollspy.data-api",function(){a('[data-spy="scroll"]').each(function(){var b=a(this);c.call(b,b.data())})})}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.tab");e||d.data("bs.tab",e=new c(this)),"string"==typeof b&&e[b]()})}var c=function(b){this.element=a(b)};c.VERSION="3.3.1",c.TRANSITION_DURATION=150,c.prototype.show=function(){var b=this.element,c=b.closest("ul:not(.dropdown-menu)"),d=b.data("target");if(d||(d=b.attr("href"),d=d&&d.replace(/.*(?=#[^\s]*$)/,"")),!b.parent("li").hasClass("active")){var e=c.find(".active:last a"),f=a.Event("hide.bs.tab",{relatedTarget:b[0]}),g=a.Event("show.bs.tab",{relatedTarget:e[0]});if(e.trigger(f),b.trigger(g),!g.isDefaultPrevented()&&!f.isDefaultPrevented()){var h=a(d);this.activate(b.closest("li"),c),this.activate(h,h.parent(),function(){e.trigger({type:"hidden.bs.tab",relatedTarget:b[0]}),b.trigger({type:"shown.bs.tab",relatedTarget:e[0]}) +})}}},c.prototype.activate=function(b,d,e){function f(){g.removeClass("active").find("> .dropdown-menu > .active").removeClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!1),b.addClass("active").find('[data-toggle="tab"]').attr("aria-expanded",!0),h?(b[0].offsetWidth,b.addClass("in")):b.removeClass("fade"),b.parent(".dropdown-menu")&&b.closest("li.dropdown").addClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!0),e&&e()}var g=d.find("> .active"),h=e&&a.support.transition&&(g.length&&g.hasClass("fade")||!!d.find("> .fade").length);g.length&&h?g.one("bsTransitionEnd",f).emulateTransitionEnd(c.TRANSITION_DURATION):f(),g.removeClass("in")};var d=a.fn.tab;a.fn.tab=b,a.fn.tab.Constructor=c,a.fn.tab.noConflict=function(){return a.fn.tab=d,this};var e=function(c){c.preventDefault(),b.call(a(this),"show")};a(document).on("click.bs.tab.data-api",'[data-toggle="tab"]',e).on("click.bs.tab.data-api",'[data-toggle="pill"]',e)}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.affix"),f="object"==typeof b&&b;e||d.data("bs.affix",e=new c(this,f)),"string"==typeof b&&e[b]()})}var c=function(b,d){this.options=a.extend({},c.DEFAULTS,d),this.$target=a(this.options.target).on("scroll.bs.affix.data-api",a.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",a.proxy(this.checkPositionWithEventLoop,this)),this.$element=a(b),this.affixed=this.unpin=this.pinnedOffset=null,this.checkPosition()};c.VERSION="3.3.1",c.RESET="affix affix-top affix-bottom",c.DEFAULTS={offset:0,target:window},c.prototype.getState=function(a,b,c,d){var e=this.$target.scrollTop(),f=this.$element.offset(),g=this.$target.height();if(null!=c&&"top"==this.affixed)return c>e?"top":!1;if("bottom"==this.affixed)return null!=c?e+this.unpin<=f.top?!1:"bottom":a-d>=e+g?!1:"bottom";var h=null==this.affixed,i=h?e:f.top,j=h?g:b;return null!=c&&c>=i?"top":null!=d&&i+j>=a-d?"bottom":!1},c.prototype.getPinnedOffset=function( ){if(this.pinnedOffset)return this.pinnedOffset;this.$element.removeClass(c.RESET).addClass("affix");var a=this.$target.scrollTop(),b=this.$element.offset();return this.pinnedOffset=b.top-a},c.prototype.checkPositionWithEventLoop=function(){setTimeout(a.proxy(this.checkPosition,this),1)},c.prototype.checkPosition=function(){if(this.$element.is(":visible")){var b=this.$element.height(),d=this.options.offset,e=d.top,f=d.bottom,g=a("body").height();"object"!=typeof d&&(f=e=d),"function"==typeof e&&(e=d.top(this.$element)),"function"==typeof f&&(f=d.bottom(this.$element));var h=this.getState(g,b,e,f);if(this.affixed!=h){null!=this.unpin&&this.$element.css("top","");var i="affix"+(h?"-"+h:""),j=a.Event(i+".bs.affix");if(this.$element.trigger(j),j.isDefaultPrevented())return;this.affixed=h,this.unpin="bottom"==h?this.getPinnedOffset():null,this.$element.removeClass(c.RESET).addClass(i).trigger(i.replace("affix","affixed")+".bs.affix")}"bottom"==h&&this.$element.offset({top:g-b-f})}};var d =a.fn.affix;a.fn.affix=b,a.fn.affix.Constructor=c,a.fn.affix.noConflict=function(){return a.fn.affix=d,this},a(window).on("load",function(){a('[data-spy="affix"]').each(function(){var c=a(this),d=c.data();d.offset=d.offset||{},null!=d.offsetBottom&&(d.offset.bottom=d.offsetBottom),null!=d.offsetTop&&(d.offset.top=d.offsetTop),b.call(c,d)})})}(jQuery); \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-joshua-site/blob/ccc92816/dist/js/npm.js ---------------------------------------------------------------------- diff --git a/dist/js/npm.js b/dist/js/npm.js new file mode 100644 index 0000000..bf6aa80 --- /dev/null +++ b/dist/js/npm.js @@ -0,0 +1,13 @@ +// This file is autogenerated via the `commonjs` Grunt task. You can require() this file in a CommonJS environment. +require('../../js/transition.js') +require('../../js/alert.js') +require('../../js/button.js') +require('../../js/carousel.js') +require('../../js/collapse.js') +require('../../js/dropdown.js') +require('../../js/modal.js') +require('../../js/tooltip.js') +require('../../js/popover.js') +require('../../js/scrollspy.js') +require('../../js/tab.js') +require('../../js/affix.js') \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-joshua-site/blob/ccc92816/fisher-callhome-corpus/index.html ---------------------------------------------------------------------- diff --git a/fisher-callhome-corpus/index.html b/fisher-callhome-corpus/index.html new file mode 100644 index 0000000..996f83e --- /dev/null +++ b/fisher-callhome-corpus/index.html @@ -0,0 +1 @@ +<meta http-equiv="refresh" content="0; url=/data/fisher-callhome-corpus/" /> http://git-wip-us.apache.org/repos/asf/incubator-joshua-site/blob/ccc92816/images/desert.jpg ---------------------------------------------------------------------- diff --git a/images/desert.jpg b/images/desert.jpg new file mode 100644 index 0000000..0950879 Binary files /dev/null and b/images/desert.jpg differ http://git-wip-us.apache.org/repos/asf/incubator-joshua-site/blob/ccc92816/images/joshua-logo-small.png ---------------------------------------------------------------------- diff --git a/images/joshua-logo-small.png b/images/joshua-logo-small.png new file mode 100644 index 0000000..17f4ae4 Binary files /dev/null and b/images/joshua-logo-small.png differ http://git-wip-us.apache.org/repos/asf/incubator-joshua-site/blob/ccc92816/images/joshua-logo.jpg ---------------------------------------------------------------------- diff --git a/images/joshua-logo.jpg b/images/joshua-logo.jpg new file mode 100644 index 0000000..588ccc3 Binary files /dev/null and b/images/joshua-logo.jpg differ http://git-wip-us.apache.org/repos/asf/incubator-joshua-site/blob/ccc92816/images/joshua-logo.pdf ---------------------------------------------------------------------- diff --git a/images/joshua-logo.pdf b/images/joshua-logo.pdf new file mode 100644 index 0000000..d2ca2e1 Binary files /dev/null and b/images/joshua-logo.pdf differ http://git-wip-us.apache.org/repos/asf/incubator-joshua-site/blob/ccc92816/images/joshua-logo.png ---------------------------------------------------------------------- diff --git a/images/joshua-logo.png b/images/joshua-logo.png new file mode 100644 index 0000000..9ad2332 Binary files /dev/null and b/images/joshua-logo.png differ http://git-wip-us.apache.org/repos/asf/incubator-joshua-site/blob/ccc92816/images/logo-credits.txt ---------------------------------------------------------------------- diff --git a/images/logo-credits.txt b/images/logo-credits.txt new file mode 100644 index 0000000..acb21cf --- /dev/null +++ b/images/logo-credits.txt @@ -0,0 +1 @@ +The original photo used to create the Joshua logo is credited to Marcus Frieze (http://www.flickr.com/photos/marcusfrieze/). It is used under a Creative Commons License (http://creativecommons.org/licenses/by-nc-nd/2.0/). It was transformed to a vector image by Vector Magic (http://vectormagic.com/home). \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-joshua-site/blob/ccc92816/images/sponsors/NSF-logo.jpg ---------------------------------------------------------------------- diff --git a/images/sponsors/NSF-logo.jpg b/images/sponsors/NSF-logo.jpg new file mode 100644 index 0000000..d14652a Binary files /dev/null and b/images/sponsors/NSF-logo.jpg differ http://git-wip-us.apache.org/repos/asf/incubator-joshua-site/blob/ccc92816/images/sponsors/darpa-logo.jpg ---------------------------------------------------------------------- diff --git a/images/sponsors/darpa-logo.jpg b/images/sponsors/darpa-logo.jpg new file mode 100644 index 0000000..07ebaf1 Binary files /dev/null and b/images/sponsors/darpa-logo.jpg differ http://git-wip-us.apache.org/repos/asf/incubator-joshua-site/blob/ccc92816/images/sponsors/euromatrix.png ---------------------------------------------------------------------- diff --git a/images/sponsors/euromatrix.png b/images/sponsors/euromatrix.png new file mode 100644 index 0000000..347c9f7 Binary files /dev/null and b/images/sponsors/euromatrix.png differ http://git-wip-us.apache.org/repos/asf/incubator-joshua-site/blob/ccc92816/images/sponsors/hltcoe-logo1.jpg ---------------------------------------------------------------------- diff --git a/images/sponsors/hltcoe-logo1.jpg b/images/sponsors/hltcoe-logo1.jpg new file mode 100644 index 0000000..d2f39ba Binary files /dev/null and b/images/sponsors/hltcoe-logo1.jpg differ http://git-wip-us.apache.org/repos/asf/incubator-joshua-site/blob/ccc92816/images/sponsors/hltcoe-logo1.png ---------------------------------------------------------------------- diff --git a/images/sponsors/hltcoe-logo1.png b/images/sponsors/hltcoe-logo1.png new file mode 100644 index 0000000..dbc7211 Binary files /dev/null and b/images/sponsors/hltcoe-logo1.png differ http://git-wip-us.apache.org/repos/asf/incubator-joshua-site/blob/ccc92816/images/sponsors/hltcoe-logo2.jpg ---------------------------------------------------------------------- diff --git a/images/sponsors/hltcoe-logo2.jpg b/images/sponsors/hltcoe-logo2.jpg new file mode 100644 index 0000000..7770483 Binary files /dev/null and b/images/sponsors/hltcoe-logo2.jpg differ http://git-wip-us.apache.org/repos/asf/incubator-joshua-site/blob/ccc92816/images/sponsors/hltcoe-logo2.png ---------------------------------------------------------------------- diff --git a/images/sponsors/hltcoe-logo2.png b/images/sponsors/hltcoe-logo2.png new file mode 100644 index 0000000..1660817 Binary files /dev/null and b/images/sponsors/hltcoe-logo2.png differ http://git-wip-us.apache.org/repos/asf/incubator-joshua-site/blob/ccc92816/images/sponsors/hltcoe-logo3.png ---------------------------------------------------------------------- diff --git a/images/sponsors/hltcoe-logo3.png b/images/sponsors/hltcoe-logo3.png new file mode 100644 index 0000000..8c7f3c5 Binary files /dev/null and b/images/sponsors/hltcoe-logo3.png differ http://git-wip-us.apache.org/repos/asf/incubator-joshua-site/blob/ccc92816/index.md ---------------------------------------------------------------------- diff --git a/index.md b/index.md new file mode 100644 index 0000000..b9a9644 --- /dev/null +++ b/index.md @@ -0,0 +1,43 @@ +--- +layout: default6 +twitter: true +title: Welcome to Joshua +--- + +Joshua is an open-source statistical machine translation decoder for +phrase-based (*new* in 6.0), hierarchical, and syntax-based machine +translation, written in Java. It is developed at the +[Human Language Technology Center of Excellence](http://hltcoe.jhu.edu/) +at [Johns Hopkins University](http://www.jhu.edu/). + +### Latest Release + +The latest release of Joshua is version {{ site.data.joshua.release_version }} +({{ site.data.joshua.release_date }}). Information about downloading and using Joshua can be found +[in the Joshua documentation](/6.0/). You can [download it here](releases/6.0/) (tarball). + +### Features + +Joshua 6.0 has the following features, among many others: + +- Both phrase-based and hierarchical decoding +- Sparse feature implementation with support for millions of features +- Support for lattice decoding +- Fast decoding speed (on par with [Moses](http://statmt.org/moses) + and [mtplz](https://github.com/kpu/mtplz)) + +### Version History + +The latest version of Joshua is version 6.0. You might also be +interested in older papers describing Joshua +[1.0](http://aclweb.org/anthology/W/W09/W09-0424.pdf), +[the Joshua demo paper](http://aclweb.org/anthology-new/P/P09/P09-4007.pdf), +and versions [2.0](http://aclweb.org/anthology-new/W/W10/W10-1718.pdf), +[3.0](http://aclweb.org/anthology-new/W/W11/W11-2160.pdf), +[4.0](http://aclweb.org/anthology-new/W/W12/W12-3134.pdf), and +[5.0](http://aclweb.org/anthology-new/W/W13/W13-2226.pdf). + +### License + +Joshua is released under the +[BSD 2-clause license](https://github.com/joshua-decoder/joshua/blob/master/LICENSE). http://git-wip-us.apache.org/repos/asf/incubator-joshua-site/blob/ccc92816/index5.html ---------------------------------------------------------------------- diff --git a/index5.html b/index5.html new file mode 100644 index 0000000..dee4361 --- /dev/null +++ b/index5.html @@ -0,0 +1,237 @@ +<!DOCTYPE html> +<html lang="en"> + <head> + <meta charset="utf-8"> + <title>Joshua Machine Translation Toolkit</title> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> + <meta name="description" content=""> + <meta name="author" content=""> + + <!-- Le styles --> + <link href="/bootstrap/css/bootstrap.css" rel="stylesheet" /> + <link href="/joshua.css" rel="stylesheet" /> + <style> + body { + padding-top: 60px; /* 60px to make the container go all the way to the bottom of the topbar */ + } + </style> + <link href="bootstrap/css/bootstrap-responsive.css" rel="stylesheet"> + + <!-- HTML5 shim, for IE6-8 support of HTML5 elements --> + <!--[if lt IE 9]> + <script src="bootstrap/js/html5shiv.js"></script> + <![endif]--> + + <!-- Fav and touch icons --> + <link rel="apple-touch-icon-precomposed" sizes="144x144" href="bootstrap/ico/apple-touch-icon-144-precomposed.png"> + <link rel="apple-touch-icon-precomposed" sizes="114x114" href="bootstrap/ico/apple-touch-icon-114-precomposed.png"> + <link rel="apple-touch-icon-precomposed" sizes="72x72" href="bootstrap/ico/apple-touch-icon-72-precomposed.png"> + <link rel="apple-touch-icon-precomposed" href="bootstrap/ico/apple-touch-icon-57-precomposed.png"> + <link rel="shortcut icon" href="bootstrap/ico/favicon.png"> + </head> + + <body> + + <div class="navbar navbar-inverse navbar-fixed-top"> + <div class="navbar-inner"> + <div class="container"> + <button type="button" class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse"> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + </button> + <a class="brand" href="/">Joshua</a> + <div class="nav-collapse collapse"> + <ul class="nav"> + <li class="active"><a href="/">Home</a></li> + <li><a href="6.0/index.html">Documentation</a></li> + <!-- <li><a href="#support">Support</a></li> --> + <li><a href="data/">Datasets</a></li> + <li><a href="http://cs.jhu.edu/~post/joshua-docs/index.html">Developer</a></li> + <!-- <li><a href="#contributors">Contributors</a></li> --> + <!-- <li><a href="#sponsors">Sponsors</a></li> --> + </ul> + </div><!--/.nav-collapse --> + </div> + </div> + </div> + + <div class="container"> + + <div class="row"> + <div class="span2"> + <img src="images/joshua-logo-small.png" + alt="Joshua logo (picture of a Joshua tree)" /> + </div> + <div class="span10"> + <h1>Joshua Machine Translation Toolkit</h1> + <p> + <b>Stable version</b>: 6.0 (Released 1 November 2014) + </p> + <span id="download"> + <a href="http://joshua-decoder.org/downloads/joshua-6.0.tgz">Download</a> + </span> + </div> + </div> + + <hr /> + + <div class="row"> + <div class="span8"> + + <p> + Joshua is an open-source statistical machine translation decoder for hierarchical and + syntax-based machine translation, written in Java. It is developed as a research + collaboration between the <a href="http://hltcoe.jhu.edu/">Human Language Technology + Center of Excellence</a> at Johns Hopkins University + and <a href="http://www.cs.jhu.edu/~ccb/">Chris Callison-Burch</a>'s research group at + the <a href="http://www.cis.upenn.edu">University of Pennsylvania</a>. + </p> + + <h2 id="support">What's New in 6.0</h2> + <p> + <ul> + <li>Joshua now contains <a href="whatsnew.html#phrase"> + a fast phrase-based decoder</a>, in addition to its + syntax-based and hierarchical components + <li>Lots more documentation, including overviews of the + main components of Joshua, typical use cases + </ul> + </p> + + <h2 id="support">Technical Support</h2> + <p> + Support is provided in two + forms: <a href="https://groups.google.com/forum/#!forum/joshua_support">Technical + support</a> for end-users of Joshua, + and <a href="https://groups.google.com/forum/#!forum/joshua_developers">Developer + support</a> for contributors. + </p> + + <h2 id="contributors">Contributors</h2> + <p> + Joshua was originally ported from <a href="http://www.isi.edu/~chiang/">David Chiang's</a> + Python implementation of Hiero by <a href="http://www.cs.jhu.edu/~zfli/">Zhifei Li</a>. + Since then, there have been a number of contributors to the project (listed here in + alphabetical order). + <ul> + <li><a href="http://www.cs.cmu.edu/~aphillips/">Aaron Phillips</a> (Carnegie Mellon)</li> + <li><a href="http://www.eecs.berkeley.edu/~adpauls/">Adam Pauls</a> (Berkeley)</li> + <li><a href="http://cs.jhu.edu/~ccb/">Chris Callison-Burch</a> (Penn)</li> + <li><a href="http://www.cs.cmu.edu/~cdyer/">Chris Dyer</a> (Carnegie Mellon)</li> + <li><a href="http://comp.ling.utexas.edu/~bannard/">Colin Bannard</a> (UT Austin)</li> + <li><a href="http://cs.jhu.edu/~jonny/">Jonathan Weese</a> (Johns Hopkins)</li> + <li>Josh Schroeder (Edinburgh)</li> + <li><a href="http://cs.jhu.edu/~juri/">Juri Ganitkevitch</a> (Johns Hopkins)</li> + <li><a href="http://kheafield.com/">Kenneth Heafield</a> (Carnegie Mellon)</li> + <li><a href="http://dowobeha.github.com">Lane Schwartz</a> (Minnesota)</li> + <li><a href="https://plus.google.com/107547504293849335564">Luke</a> <a href="https://github.com/lukeorland">Orland</a> (Johns Hopkins)</li> + <li><a href="http://cs.jhu.edu/~post/">Matt Post</a> (Johns Hopkins)</li> + <li><a href="http://cs.jhu.edu/~ozaidan/">Omar F. Zaidan</a> (Johns Hopkins)</li> + <li><a href="http://llama.freegeek.org/~wren/research.html">Wren Ng Thornton</a> (Indiana University)</li> + <li>Yuan Cao (Johns Hopkins)</li> + </ul> + + Please email if you know of anyone who has been left off this list. + </p> + + <h2>Version history</h2> + + <p> + The latest version of Joshua is version 6.0. + <!-- Its changes are described in the paper --> + </p> + + <!-- + <blockquote> + <a href="http://aclweb.org/anthology-new/W/W13//W13-2226.pdf">Joshua + 5.0: Sparser, better, faster, server</a> + <a class="bibtex" href="http://aclweb.org/anthology/W/W13/W13-2226.bib">BibTeX</a> <br /> + Matt Post, Juri Ganitkevitch, Luke Orland, Jonathan Weese, Yuan Cao, and Chris + Callison-Burch<br /> + <a href="http://statmt.org/wmt13/">WMT 2013</a>. Sofia, Bulgaria. August.<br/> + </blockquote> + --> + + <p> + You might also be interested in older papers describing Joshua + <a href="http://aclweb.org/anthology/W/W09/W09-0424.pdf">1.0</a>, + <a href="http://aclweb.org/anthology-new/P/P09/P09-4007.pdf">the Joshua demo paper</a>, + <a href="http://aclweb.org/anthology-new/W/W10/W10-1718.pdf">2.0</a>, + <a href="http://aclweb.org/anthology-new/W/W11/W11-2160.pdf">3.0</a>, + <a href="http://aclweb.org/anthology-new/W/W12/W12-3134.pdf">4.0</a>, and + <a href="http://aclweb.org/anthology-new/W/W13/W13-2226.pdf">5.0</a>. + </p> + + </div> + <div class="span4"> + <div id="twitterbar"> + <a class="twitter-timeline" href="https://twitter.com/joshuadecoder" data-widget-id="367380700124569600">Tweets by @joshuadecoder</a> + <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script> + </div> + + <h2 id="sponsors">Acknowledgments</h2> + + We gratefully acknowledge support provided by the following institutions. + + <div> + <a href="http://darpa.mil/"> + <img class="sponsor" alt="DARPA logo" src="images/sponsors/darpa-logo.jpg" /> + </a> + <a href="http://nsf.gov/"> + <img class="sponsor" alt="NSF logo" src="images/sponsors/NSF-logo.jpg" /> + </a> + <a href="http://www.euromatrixplus.org/"> + <img class="sponsor" alt="EuroMatrix+" src="images/sponsors/euromatrix.png" /> + </a> + </div> + <div> + <a href="http://hltcoe.jhu.edu"> + <img alt="Human Language Technology Center of Excellence logo" + style="width: 240px" + src="images/sponsors/hltcoe-logo3.png" /> + </a> + </div> + </div> + </div> + </div> <!-- /container --> + + <!-- Le javascript + ================================================== --> + <!-- Placed at the end of the document so the pages load faster --> + <script src="bootstrap/js/jquery.js"></script> + <script src="bootstrap/js/bootstrap-transition.js"></script> + <script src="bootstrap/js/bootstrap-alert.js"></script> + <script src="bootstrap/js/bootstrap-modal.js"></script> + <script src="bootstrap/js/bootstrap-dropdown.js"></script> + <script src="bootstrap/js/bootstrap-scrollspy.js"></script> + <script src="bootstrap/js/bootstrap-tab.js"></script> + <script src="bootstrap/js/bootstrap-tooltip.js"></script> + <script src="bootstrap/js/bootstrap-popover.js"></script> + <script src="bootstrap/js/bootstrap-button.js"></script> + <script src="bootstrap/js/bootstrap-collapse.js"></script> + <script src="bootstrap/js/bootstrap-carousel.js"></script> + <script src="bootstrap/js/bootstrap-typeahead.js"></script> + + <!-- Start of StatCounter Code for Default Guide --> + <script type="text/javascript"> + var sc_project=8264132; + var sc_invisible=1; + var sc_security="4b97fe2d"; + </script> + <script type="text/javascript" src="http://www.statcounter.com/counter/counter.js"></script> + <noscript> + <div class="statcounter"> + <a title="hit counter joomla" + href="http://statcounter.com/joomla/" + target="_blank"> + <img class="statcounter" + src="http://c.statcounter.com/8264132/0/4b97fe2d/1/" + alt="hit counter joomla" /> + </a> + </div> + </noscript> + <!-- End of StatCounter Code for Default Guide --> + + </body> +</html> http://git-wip-us.apache.org/repos/asf/incubator-joshua-site/blob/ccc92816/indian-parallel-corpora/index.html ---------------------------------------------------------------------- diff --git a/indian-parallel-corpora/index.html b/indian-parallel-corpora/index.html new file mode 100644 index 0000000..7874b02 --- /dev/null +++ b/indian-parallel-corpora/index.html @@ -0,0 +1 @@ +<meta http-equiv="refresh" content="0; url=/data/indian-parallel-corpora/" /> http://git-wip-us.apache.org/repos/asf/incubator-joshua-site/blob/ccc92816/joshua.bib ---------------------------------------------------------------------- diff --git a/joshua.bib b/joshua.bib new file mode 100644 index 0000000..69f9ab5 --- /dev/null +++ b/joshua.bib @@ -0,0 +1,12 @@ +@InProceedings{Joshua-Decoder, + author = {Zhifei Li and Chris Callison-Burch and Chris Dyer and Sanjeev Khudanpur + and Lane Schwartz and Wren Thornton and Jonathan Weese and Omar Zaidan}, + title = {Joshua: An Open Source Toolkit for Parsing-Based Machine Translation}, + booktitle = {Proceedings of the Fourth Workshop on Statistical Machine Translation}, + month = {March}, + year = {2009}, + address = {Athens, Greece}, + publisher = {Association for Computational Linguistics}, + pages = {135--139}, + url = {http://www.aclweb.org/anthology/W/W09/W09-0x24} +} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-joshua-site/blob/ccc92816/joshua.css ---------------------------------------------------------------------- diff --git a/joshua.css b/joshua.css new file mode 100644 index 0000000..77b01a2 --- /dev/null +++ b/joshua.css @@ -0,0 +1,44 @@ +#download { + background-color: green; + font-size: 14pt; + font-weight: bold; + text-align: center; + color: white; + border-radius: 5px; + padding: 4px; +} + +#download a:link { + color: white; +} + +#download a:hover { + color: lightgrey; +} + +#download a:visited { + color: white; +} + +a.pdf { + font-variant: small-caps; + /* font-weight: bold; */ + font-size: 10pt; + color: white; + background: brown; + padding: 2px; +} + +a.bibtex { + font-variant: small-caps; + /* font-weight: bold; */ + font-size: 10pt; + color: white; + background: orange; + padding: 2px; +} + +img.sponsor { + width: 120px; + margin: 5px; +} http://git-wip-us.apache.org/repos/asf/incubator-joshua-site/blob/ccc92816/joshua4.css ---------------------------------------------------------------------- diff --git a/joshua4.css b/joshua4.css new file mode 100644 index 0000000..2781f85 --- /dev/null +++ b/joshua4.css @@ -0,0 +1,184 @@ +html { + font-family: George, sans-serif; + font-size: 12pt; +} + +body { +// background-image: url('images/desert.jpg'); +// -webkit-background-size: cover; +// -moz-background-size: cover; +// -o-background-size: cover; +// background-size: cover; +// background-repeat: no-repeat; +// background-position: top; +} + +div { + float: left; +} + +h1 { + font-family: Verdana; + font-weight: bold; + font-size: 24pt; +} + +#title { + padding: 5px; + margin: 5px; +} + +div#navbar { + width: 150px; + clear: both; +} + +.infobox { + /* border-radius: 5px; */ + background-color: LightBlue; + padding: 5px; + margin-bottom: 10px; + width: 140px; +} + +div#twitterbar { + /* border-radius: 5px; */ + background-color: LightBlue; + padding: 5px; + width: 250px; + margin-top: 150px; +} + +div#content { + float: left; + width: 600px; + margin: 5px; + padding: 5px; + clear: both; +} + +pre { + font-size: 10pt; +} + +img { + display: block; + margin-left: auto; + margin-right: auto; +} + +img.sponsor { + height: 120px; + margin: 5px; +} + +a:link { + text-decoration: none; + color: MediumBlue; +} + +a:visited { + text-decoration: none; + color: Gray; +} + +table { + border: 1px solid black; +} + +table#results td { + padding: 3px; + text-align: right; +} + +table#results td.system { + text-align: left; +} + +#download { + background-color: green; + font-size: 14pt; + font-weight: bold; + text-align: center; + color: white; + /* border-radius: 5px; */ + padding: 5px; + padding-top: 10px; + padding-bottom: 10px; + width: 140px; +} + +#download a:link { + color: white; +} + +#download a:hover { + color: lightgrey; +} + +#download a:visited { + color: white; +} + +a.pdf { + font-variant: small-caps; + /* font-weight: bold; */ + font-size: 10pt; + color: white; + background: brown; + padding: 2px; +} + +a.bibtex { + font-variant: small-caps; + /* font-weight: bold; */ + font-size: 10pt; + color: white; + background: orange; + padding: 2px; +} + +div#content p { + padding: 0px; + padding-bottom: 10px; + margin: 0px; +} + +ul { + list-style-type: square; + list-style-position: inside; + margin: 5px; + padding: 5px; +} + +.infobox ul { + list-style-type: none; + list-style-position: outside; + margin: 3px; + padding: 1px; + font-size: 90%; +} + +.infobox a:hover { + color: black; +} + + +.footer { + font-style: italic; + font-size: 80%; + color: #666; + border-top: 4px solid #eee; + margin-top: 2em; + overflow: hidden; + clear: both; + } + +.warning { + background-color: rgba(255,192,203,.5); + border: 2px dashed red; + margin: 10px; + margin-left: 30px; + padding: 3px; +} + http://git-wip-us.apache.org/repos/asf/incubator-joshua-site/blob/ccc92816/joshua6.css ---------------------------------------------------------------------- diff --git a/joshua6.css b/joshua6.css new file mode 100644 index 0000000..7cb6edd --- /dev/null +++ b/joshua6.css @@ -0,0 +1,220 @@ +/* + * Globals + */ + +body { + font-family: Georgia, "Times New Roman", Times, serif; + color: #555; +} + +h1, .h1, +h2, .h2, +h3, .h3, +h4, .h4, +h5, .h5, +h6, .h6 { + margin-top: 0; + font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; + font-weight: normal; + color: #333; +} + +h1 { + font-size: 22pt; +} + +h2 { + text-decoration: underline; + font-size: 18pt; +} + +h3 { + font-size: 14pt; + font-weight: bold; +} + +/* + * Override Bootstrap's default container. + */ + +@media (min-width: 1200px) { + .container { + /* width: 970px; */ + width: 100%; + } +} + + +/* + * Masthead for nav + */ + +.blog-masthead { + background-color: #007777; + -webkit-box-shadow: inset 0 -2px 5px rgba(0,0,0,.1); + box-shadow: inset 0 -2px 5px rgba(0,0,0,.1); +} + +/* Nav links */ +.blog-nav-item { + position: relative; + display: inline-block; + padding: 10px; + font-weight: 500; + color: #cdddeb; +} +.blog-nav-item:hover, +.blog-nav-item:focus { + color: #fff; + text-decoration: none; +} + +/* Active state gets a caret at the bottom */ +.blog-nav .active { + color: #fff; +} +.blog-nav .active:after { + position: absolute; + bottom: 0; + left: 50%; + width: 0; + height: 0; + margin-left: -5px; + vertical-align: middle; + content: " "; + border-right: 5px solid transparent; + border-bottom: 5px solid; + border-left: 5px solid transparent; +} + + +/* + * Blog name and description + */ + +.blog-header { + padding-top: 20px; + padding-bottom: 20px; +} +.blog-title { + margin-top: 30px; + margin-bottom: 0; + font-size: 60px; + font-weight: normal; +} +.blog-description { + font-size: 20px; + color: #999; +} + + +/* + * Main column and sidebar layout + */ + +.blog-main { + font-size: 14px; + +} + +/* Sidebar modules for boxing content */ +.sidebar-module { + padding: 3px; + margin-top: 1px; + margin-left: 0px; + margin-right: 5px; + margin-bottom: 5px; +} +.sidebar-module-inset { + padding: 0px; + background-color: #f5f5f5; + border-radius: 0px; +} +.sidebar-module-inset p:last-child, +.sidebar-module-inset ul:last-child, +.sidebar-module-inset ol:last-child { + margin-bottom: 0; +} + + +/* Pagination */ +.pager { + margin-bottom: 60px; + text-align: left; +} +.pager > li > a { + width: 140px; + padding: 10px 20px; + text-align: center; + border-radius: 30px; +} + + +/* + * Blog posts + */ + +.blog-post { + margin-bottom: 60px; +} +.blog-post-title { + margin-top: 10px; + margin-bottom: 5px; + font-size: 24px; +} +.blog-post-meta { + margin-bottom: 20px; + color: #999; +} + + +/* + * Footer + */ + +.blog-footer { + padding: 40px 0; + color: #999; + text-align: center; + background-color: #f9f9f9; + border-top: 1px solid #e5e5e5; +} +.blog-footer p:last-child { + margin-bottom: 0; +} + +#download { + background-color: green; + font-size: 14pt; + font-weight: bold; + text-align: center; + color: white; + border-radius: 5px; + padding: 4px; +} + +#download a:link { + color: white; +} + +#download a:hover { + color: lightgrey; +} + +#download a:visited { + color: white; +} + +.twitter { + margin-top: 70px; +} + +.button { + background-color: green; + font-size: 14pt; + font-weight: bold; + text-align: center; + color: white; + border-radius: 5px; + padding: 4px; +} http://git-wip-us.apache.org/repos/asf/incubator-joshua-site/blob/ccc92816/language-packs.csv ---------------------------------------------------------------------- diff --git a/language-packs.csv b/language-packs.csv new file mode 100644 index 0000000..bbfd05d --- /dev/null +++ b/language-packs.csv @@ -0,0 +1,2 @@ +Description,size,source,target,url,release_date +Spanish-English conversational speech,small,spa,eng,http://cs.jhu.edu/~post/language-packs/es-en-fisher-callhome.tgz,2015-01-17 http://git-wip-us.apache.org/repos/asf/incubator-joshua-site/blob/ccc92816/language-packs/ar-en-phrase/index.html ---------------------------------------------------------------------- diff --git a/language-packs/ar-en-phrase/index.html b/language-packs/ar-en-phrase/index.html new file mode 100644 index 0000000..c1cc932 --- /dev/null +++ b/language-packs/ar-en-phrase/index.html @@ -0,0 +1,16 @@ +<!DOCTYPE HTML> +<html lang="en-US"> + <head> + <meta charset="UTF-8"> + <meta http-equiv="refresh" content="1;url=http://example.com"> + <script type="text/javascript"> + window.location.href = "http://cs.jhu.edu/~post/language-packs/language-pack-ar-en-phrase-2015-03-18.tgz" + </script> + <title>Page Redirection</title> + </head> + <body> + If you are not redirected automatically, follow + <a href='http://cs.jhu.edu/~post/language-packs/language-pack-ar-en-phrase-2015-03-18.tgz'>this link</a> + to download Joshua directly. + </body> +</html> http://git-wip-us.apache.org/repos/asf/incubator-joshua-site/blob/ccc92816/language-packs/es-en-phrase/index.html ---------------------------------------------------------------------- diff --git a/language-packs/es-en-phrase/index.html b/language-packs/es-en-phrase/index.html new file mode 100644 index 0000000..9c3be26 --- /dev/null +++ b/language-packs/es-en-phrase/index.html @@ -0,0 +1,16 @@ +<!DOCTYPE HTML> +<html lang="en-US"> + <head> + <meta charset="UTF-8"> + <meta http-equiv="refresh" content="1;url=http://example.com"> + <script type="text/javascript"> + window.location.href = "http://cs.jhu.edu/~post/language-packs/language-pack-es-en-phrase-2015-03-06.tgz" + </script> + <title>Page Redirection</title> + </head> + <body> + If you are not redirected automatically, follow + <a href='http://cs.jhu.edu/~post/language-packs/language-pack-es-en-phrase-2015-03-06.tgz'>this link</a> + to download Joshua directly. + </body> +</html> http://git-wip-us.apache.org/repos/asf/incubator-joshua-site/blob/ccc92816/language-packs/index.md ---------------------------------------------------------------------- diff --git a/language-packs/index.md b/language-packs/index.md new file mode 100644 index 0000000..24b2f74 --- /dev/null +++ b/language-packs/index.md @@ -0,0 +1,69 @@ +--- +layout: default6 +title: Language packs +--- + +The simplest way to use Joshua is to use the provided "language packs", which are pre-built models +that enable translation in for particular language pairs. You can download and unpack each model and +then run the included script to translate new sentences. + +It is important to note the assumptions underlying the translation engine: + +- Joshua takes input on STDIN and outputs translations to STDOUT. + +- Joshua expects its input to be one plain-text, UTF-8 encoded sentence per UNIX-delimited line. If + you are translating documents, you must perform sentence segmentation yourself. + +- Additionally, the input must be tokenized. To tokenize your data, you can use the script provided + in each language pack. + +## Runtime decoder + +The default release version of Joshua includes hundreds of megabytes of dependencies used +for building models from your own language pairs. If you only wish to run language packs +(effectively using Joshua as a black-box translation engine), you can install a "light" version +of Joshua that includes only dependencies needed to run the translation piece. See the notes +on [the installation page](../6.0/install.html). + +## Available language packs + +For information about English Paraphrase Language packs, please see [this page](paraphrase/). + +<table class="table table-condensed"> + <tr> + <th>Language pair</th> + <th>Type</th> + <th>Size</th> + <th>Details</th> + <th>Link</th> + </tr> + <tr> + <td>Spanish--English</td> + <td>phrase</td> + <td>1.9 GB</td> + <td>Built on <a href="http://www.statmt.org/europarl/">Europarl</a> and the <a href="https://catalog.ldc.upenn.edu/LDC2014T23">Fisher and CALLHOME parallel dataset</a>.</td> + <td><a href="es-en-phrase/">Download</a></td> + </tr> + <tr> + <td>Arabic--English</td> + <td>phrase</td> + <td>2.1 GB</td> + <td>Built from + <a href="https://catalog.ldc.upenn.edu/LDC2012T09">the LDC Arabic-Dialect/English parallel text</a>, + <a href="https://catalog.ldc.upenn.edu/LDC2007T08">the ISI Arabic--English automatically extracted parallel text</a>, + and <a href="https://catalog.ldc.upenn.edu/LDC97T19">translations of the Arabic CALLHOME transcripts</a>, and with an English Gigaword language model. + </td> + <td><a href="ar-en-phrase/">Download</a></td> + </tr> + <tr> + <td>Chinese--English</td> + <td>hiero</td> + <td>2.4 GB</td> + <td>Built from about 2 million sentences of parallel news. Contains the Joshua runtime, + so there are no external dependencies (including Joshua). + </td> + <td><a href="zh-en-hiero/">Download</a></td> + </tr> +</table> + +Have a request? Please email [Matt Post](http://cs.jhu.edu/~post/). http://git-wip-us.apache.org/repos/asf/incubator-joshua-site/blob/ccc92816/language-packs/paraphrase/index.md ---------------------------------------------------------------------- diff --git a/language-packs/paraphrase/index.md b/language-packs/paraphrase/index.md new file mode 100644 index 0000000..b1d92ae --- /dev/null +++ b/language-packs/paraphrase/index.md @@ -0,0 +1,8 @@ +--- +layout: default6 +title: Paraphrase Packs +--- + +# Joshua English Paraphrase Language Packs + +Coming soon... http://git-wip-us.apache.org/repos/asf/incubator-joshua-site/blob/ccc92816/language-packs/zh-en-hiero/index.html ---------------------------------------------------------------------- diff --git a/language-packs/zh-en-hiero/index.html b/language-packs/zh-en-hiero/index.html new file mode 100644 index 0000000..44ef883 --- /dev/null +++ b/language-packs/zh-en-hiero/index.html @@ -0,0 +1,16 @@ +<!DOCTYPE HTML> +<html lang="en-US"> + <head> + <meta charset="UTF-8"> + <meta http-equiv="refresh" content="1;url=http://example.com"> + <script type="text/javascript"> + window.location.href = "http://cs.jhu.edu/~post/language-packs/zh-en-hiero-2016-01-13.tgz" + </script> + <title>Page Redirection</title> + </head> + <body> + If you are not redirected automatically, follow + <a href='http://cs.jhu.edu/~post/language-packs/zh-en-hiero-2016-01-13.tgz'>this link</a> + to download Joshua directly. + </body> +</html> http://git-wip-us.apache.org/repos/asf/incubator-joshua-site/blob/ccc92816/publications/joshua-2.0.pdf ---------------------------------------------------------------------- diff --git a/publications/joshua-2.0.pdf b/publications/joshua-2.0.pdf new file mode 100644 index 0000000..e42a103 Binary files /dev/null and b/publications/joshua-2.0.pdf differ http://git-wip-us.apache.org/repos/asf/incubator-joshua-site/blob/ccc92816/publications/joshua-3.0.pdf ---------------------------------------------------------------------- diff --git a/publications/joshua-3.0.pdf b/publications/joshua-3.0.pdf new file mode 100644 index 0000000..5385ae1 Binary files /dev/null and b/publications/joshua-3.0.pdf differ http://git-wip-us.apache.org/repos/asf/incubator-joshua-site/blob/ccc92816/publications/joshua-open-source-toolkit-for-statistical-machine-translation.pdf ---------------------------------------------------------------------- diff --git a/publications/joshua-open-source-toolkit-for-statistical-machine-translation.pdf b/publications/joshua-open-source-toolkit-for-statistical-machine-translation.pdf new file mode 100644 index 0000000..17d787d Binary files /dev/null and b/publications/joshua-open-source-toolkit-for-statistical-machine-translation.pdf differ http://git-wip-us.apache.org/repos/asf/incubator-joshua-site/blob/ccc92816/releases.md ---------------------------------------------------------------------- diff --git a/releases.md b/releases.md new file mode 100644 index 0000000..3c5a861 --- /dev/null +++ b/releases.md @@ -0,0 +1,61 @@ +--- +layout: default +category: help +title: Releases +--- + + +# [5.0](5.0/index.html) + +2012 June 7 + +[download](http://cs.jhu.edu/~post/files/joshua-5.0.tgz) + +[documentation](5.0/index.html) + + +## [5.0](5.0/index.html) Release Notes + +- Packed grammar + +- TCP Server + +- Configured decoder bundler + + +# [4.0](4.0/index.html) + +2012 July 2 + +[download](http://cs.jhu.edu/~post/files/joshua-4.0.tgz) + +[documentation](4.0/index.html) + + +## [4.0](http://joshua-decoder.org/4.0/index.html) Release Notes + +- Significantly improved and extended documentation. + + We have extensively documented many of Joshua's features, focusing especially on parameters affecting (1) the experimental pipeline and (2) the decoder itself. We plan to continue updating this regularly and believe it will be very useful to end-users of Joshua. + +- An official tarball download. + + We have separated the end-user version of Joshua (available through a tarball release) from the development version of Joshua (available through github). This saves users from downloading many (hundreds of) megabytes of commit history that aren't relevant to people who mostly want to use Joshua as a black box. + +- Grammar packing. + + Joshua contains a new grammar representation based on packed tries that increases end-to-end decoding speed and reduces the amount of memory needed store grammars. At the moment, this is not automatically enabled in the pipeline, but usage instructions are available in the documentation. + +- PRO. + + Joshua contains an implementation of Pairwise Ranking Optimization (Hopkins & May, EMNLP 2011). This can be enabled from the pipeline by passing '--tuner pro'. + +- Synchronous parsing. + + Joshua now supports synchronous parsing via two monolingual parses, as described in Dyer (NAACL 2010: http://www.aclweb.org/anthology/N/N10/N10-1033 ). + +- Paraphrases. + + Thrax, Joshua's SCFG-based grammar extractor, now supports pivot-based extraction of syntactically-informed paraphrases. + +These are in addition to many bugfixes and other small improvements. http://git-wip-us.apache.org/repos/asf/incubator-joshua-site/blob/ccc92816/releases/5.0/index.html ---------------------------------------------------------------------- diff --git a/releases/5.0/index.html b/releases/5.0/index.html new file mode 100644 index 0000000..acdc714 --- /dev/null +++ b/releases/5.0/index.html @@ -0,0 +1,16 @@ +<!DOCTYPE HTML> +<html lang="en-US"> + <head> + <meta charset="UTF-8"> + <meta http-equiv="refresh" content="1;url=http://example.com"> + <script type="text/javascript"> + window.location.href = "http://cs.jhu.edu/~post/files/joshua-v5.0.tgz" + </script> + <title>Page Redirection</title> + </head> + <body> + If you are not redirected automatically, follow + <a href='http://cs.jhu.edu/~post/files/joshua-v5.0.tgz'>this link</a> + to download Joshua directly. + </body> +</html> http://git-wip-us.apache.org/repos/asf/incubator-joshua-site/blob/ccc92816/releases/6.0/index.html ---------------------------------------------------------------------- diff --git a/releases/6.0/index.html b/releases/6.0/index.html new file mode 100644 index 0000000..e845624 --- /dev/null +++ b/releases/6.0/index.html @@ -0,0 +1,4 @@ +--- +redirect_to: + - http://cs.jhu.edu/~post/files/joshua-{{ site.data.joshua.release_version }}.tgz +--- http://git-wip-us.apache.org/repos/asf/incubator-joshua-site/blob/ccc92816/releases/current/index.html ---------------------------------------------------------------------- diff --git a/releases/current/index.html b/releases/current/index.html new file mode 100644 index 0000000..e845624 --- /dev/null +++ b/releases/current/index.html @@ -0,0 +1,4 @@ +--- +redirect_to: + - http://cs.jhu.edu/~post/files/joshua-{{ site.data.joshua.release_version }}.tgz +--- http://git-wip-us.apache.org/repos/asf/incubator-joshua-site/blob/ccc92816/releases/index.md ---------------------------------------------------------------------- diff --git a/releases/index.md b/releases/index.md new file mode 100644 index 0000000..c44b676 --- /dev/null +++ b/releases/index.md @@ -0,0 +1,11 @@ +--- +layout: default6 +title: Joshua releases +--- + +The current release of Joshua is version {{ site.data.joshua.release_version }}, which can be [downloaded +here](current/). It was released on {{ site.data.joshua.release_date }}. + +Older versions are also available: + +- [Version 5.0](5.0/) was released on November 1, 2014. http://git-wip-us.apache.org/repos/asf/incubator-joshua-site/blob/ccc92816/releases/runtime/index.html ---------------------------------------------------------------------- diff --git a/releases/runtime/index.html b/releases/runtime/index.html new file mode 100644 index 0000000..7e254fe --- /dev/null +++ b/releases/runtime/index.html @@ -0,0 +1,4 @@ +--- +redirect_to: + - http://cs.jhu.edu/~post/files/joshua-runtime-{{ site.data.joshua.release_version }}.tgz +--- http://git-wip-us.apache.org/repos/asf/incubator-joshua-site/blob/ccc92816/style.css ---------------------------------------------------------------------- diff --git a/style.css b/style.css new file mode 100644 index 0000000..1de3f94 --- /dev/null +++ b/style.css @@ -0,0 +1,237 @@ + @import "all.css"; + + * {margin: 0; padding: 0;} + + body { + text-align:center; + font-family:Arial, Helvetica, sans-serif; + font-size:9pt; + } + + #frame { + margin-right:auto; + margin-left:auto; + margin-top:0px; + padding:0px; + text-align:left; + } + + #contentleft { + padding:0px; + float:left; + } + + #contentcenter { + width:550px; + padding:0px; + border: 1px dotted #000000; + float:left; + } + + #contentright { + padding:0px; + float:left; + } + + #leftnav { + width:150px; + padding:0px; + float:right; + margin-top:30px; + } + + #news { + width:150px; + padding:0px; + float:left; + margin-top:65px; + } + + #leftnav p { + font-family:Arial, Helvetica, sans-serif; + font-size:9pt; + } + + #leftnav a:link { + color: #333333; text-decoration: none; + } + + #leftnav a:visited { + color: #333333; text-decoration: none; + } + + #leftnav a:hover { + color:#FFFFFF; + background-color: #dd592e; + } + + leftnav a:active { + color: #333333; text-decoration: none; + } + + #news a:link { + color: #333333; text-decoration: none; + } + + #news a:visited { + color: #333333; text-decoration: none; + } + + #news a:hover { + color:#FFFFFF; + background-color: #dd592e; + } + + #news a:active { + color: #333333; text-decoration: none; + } + + #contentheader { + background-color: #333333; + align: center; + } + + #contentheader p { + font-family:Arial, Helvetica, sans-serif; + font-size:9pt; + margin:0px 15px 10px 25px; + line-height: 140%; + color:#FFFFFF; + } + + #contentcenter h1 { + font-family:Arial, Helvetica, sans-serif; + font-size:13pt; + color:#333333; + background:#EEEEEE; + } + + + #contentcenter h2 { + font-family:Arial, Helvetica, sans-serif; + font-size:13pt; + color:#333333; + padding:4px; + } + + #contentcenter h3 { + font-family:Arial, Helvetica, sans-serif; + color:#333333; + padding:4px; + font-size:11pt; + background:#EEEEEE; + } + + + #contentcenter p { + font-family:Arial, Helvetica, sans-serif; + font-size:9pt; + color:#333333; + } + + + + #contentcenter li, ul, ol { + font-family:Arial, Helvetica, sans-serif; + font-size:9pt; + margin:0px 15px 10px 25px; + color:#333333; + line-height: 140%; + } + + + + #contentcenter a:link { + text-decoration: none + } + + #contentcenter a:visited { + text-decoration: none + } + + #contentcenter a:hover { + background-color: yellow; + } + + #contentcenter a:active { + color:#006600; text-decoration: none + } + + p ,pre { + font-family:Arial, Helvetica, sans-serif; + font-size:9pt; + margin:15px 15px 15px 15px; + color:#333333; + } + + #navigation-left { + font-family:Arial, Helvetica, sans-serif; + font-size:9pt; + margin:10px 10px 10px 10px; + text-align:right; + background:#fff; + } + + #navigation-left a:link { + color: #000099; text-decoration: none + } + + #navigation-left a:visited { + color: #000099; text-decoration: none + } + + #navigation-left a:hover { + color: #000099; text-decoration: none + } + + #navigation-left a:active { + color: #000099; text-decoration: none + } + + #navigation-right { + font-family:Arial, Helvetica, sans-serif; + font-size:9pt; + margin:10px 10px 10px 10px; + text-align:center; + background:#fff; + } + + #navigation-right a:link { + color: #333333; text-decoration: none + } + + #navigation-right a:visited { + color: #333333; text-decoration: none + } + + #navigation-right a:hover { + color: #990000; text-decoration: none + } + + #navigation-right a:active { + color: #333333; text-decoration: none + } + + h1 { + font-size:14pt; + padding-top:10px; + } + + #contentheader h1 { + font-size:22pt; + padding:10px; + margin:0px; + } + + h3 { + font-size:14pt; + padding:10px; + margin:0px; + } + + #searchform{ + margin-left:10px; + margin-top:10px; + margin-bottom:15px; + } + http://git-wip-us.apache.org/repos/asf/incubator-joshua-site/blob/ccc92816/support/index.md ---------------------------------------------------------------------- diff --git a/support/index.md b/support/index.md new file mode 100644 index 0000000..4f05939 --- /dev/null +++ b/support/index.md @@ -0,0 +1,25 @@ +--- +layout: default6 +title: Support +--- + +You can +[join the Joshua users group](https://groups.google.com/forum/?fromgroups#!forum/joshua_support) +for user-oriented techical support, or the +[developer's list](https://groups.google.com/forum/?fromgroups#!forum/joshua_developers) +for developer support. You can also use the form below. + +<iframe id="forum_embed" + src="javascript:void(0)" + scrolling="no" + frameborder="0" + width="900" + height="700"> +</iframe> + +<script type="text/javascript"> + document.getElementById("forum_embed").src = + "https://groups.google.com/forum/embed/?place=forum/joshua_support" + + "&showsearch=true&showpopout=true&parenturl=" + + encodeURIComponent(window.location.href); +</script>
