This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<interfaces> | |
<interface name="management"> | |
<inet-address value="${jboss.bind.address.management:127.0.0.1}"/> | |
</interface> | |
<interface name="public"> | |
<nic name="eth0"/> | |
</interface> | |
<interface name="unsecure"> | |
<inet-address value="${jboss.bind.address.unsecure:127.0.0.1}"/> | |
</interface> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20:57:17,031 INFO [org.jboss.modules] (main) JBoss Modules version 1.2.0.CR1 | |
20:57:17,295 INFO [org.jboss.msc] (main) JBoss MSC version 1.0.4.GA | |
20:57:17,407 INFO [org.jboss.as] (MSC service thread 1-1) JBAS015899: JBoss AS 7.x.incremental.673 "TBD" starting | |
20:57:17,444 DEBUG [org.jboss.as.config] (MSC service thread 1-1) Configured system properties: | |
[Standalone] = | |
awt.toolkit = sun.awt.X11.XToolkit | |
file.encoding = UTF-8 | |
file.encoding.pkg = sun.io | |
file.separator = / | |
java.awt.graphicsenv = sun.awt.X11GraphicsEnvironment |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19:03:13,785 INFO [org.jboss.modules] (main) JBoss Modules version 1.2.0.CR1 | |
19:03:14,067 INFO [org.jboss.msc] (main) JBoss MSC version 1.0.4.GA | |
19:03:14,165 INFO [org.jboss.as] (MSC service thread 1-1) JBAS015899: JBoss AS 7.x.incremental.673 "TBD" starting | |
19:03:14,200 DEBUG [org.jboss.as.config] (MSC service thread 1-1) Configured system properties: | |
[Standalone] = | |
awt.toolkit = sun.awt.X11.XToolkit | |
file.encoding = UTF-8 | |
file.encoding.pkg = sun.io | |
file.separator = / | |
java.awt.graphicsenv = sun.awt.X11GraphicsEnvironment |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<subsystem xmlns="urn:jboss:domain:jgroups:1.1" default-stack="tcp"> | |
<stack name="tcp"> | |
<transport type="TCP" socket-binding="jgroups-tcp"/> | |
<!-- Use S3_Ping because we need to discover the IPs of | |
the other nodes, and AWS doesn't have multicast. --> | |
<protocol type="S3_PING"> | |
<property name="secret_access_key">topsy</property> | |
<property name="access_key">krets</property> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<broadcast-groups> | |
<broadcast-group name="bg-group2"> | |
<jgroups-stack>${jgroups.stack:tcp}</jgroups-stack> | |
<jgroups-channel>${jgroups.channel:hq-cluster}</jgroups-channel> | |
<broadcast-period>2000</broadcast-period> | |
<connector-ref>netty</connector-ref> | |
</broadcast-group> | |
</broadcast-groups> | |
<discovery-groups> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
({:country "Argentina", | |
:embersId "9008611e531ff5e88d6d0b4ca4fc4fe680fb4f9d", | |
:date "2012-01-01", | |
:holidayName "New Year's Day", | |
:stockIndex "MERVAL"} | |
{:country "Argentina", | |
:embersId "e150af6d32ac8a222d8d83438e0329c9fab99ca6", | |
:date "2012-02-20", | |
:holidayName "Carnival", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(let [parts 11 ; Pre-computed, based on target ABV of 43%. | |
ml-target 30 | |
;; Part/Ratios | |
tomatin (/ 7.5 parts) | |
cs (/ 2.5 parts) | |
dw (/ 1.0 parts) | |
;; Prices | |
t-ml-p (/ 19.99 750) | |
cs-ml-p (/ 79.99 750) | |
m12-ml-p (/ 53.99 750) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(ns wujuko.nlp.fmt-read | |
(:require [clojure.java.io :as io]) | |
(:import [java.util Properties] | |
[edu.stanford.nlp.sequences | |
SeqClassifierFlags | |
CoNLLDocumentReaderAndWriter | |
ColumnDocumentReaderAndWriter] | |
[edu.stanford.nlp.ling CoreLabel])) | |
(defn corelabel->map |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(ns wsd.semfind | |
(:require [clojure.java.io :as io] | |
[clojure.string :as s]) | |
(:import [java.net URL] | |
[edu.mit.jsemcor.main IConcordance IConcordanceSet Semcor] | |
[edu.mit.jsemcor.element IWordform ISentence])) | |
(defn noun? | |
"Checks to see if the Wordform is a NN or NNS, and additionally has |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(ns ptreader | |
(:require [clojure.java.io :as io] | |
[clojure.string :as s]) | |
(:import [edu.stanford.nlp.ling Word WordTag] | |
[edu.stanford.nlp.trees PennTreeReader])) | |
(defn get-sentence | |
[words] | |
(s/join " "(map (fn [w] (.word w)) words))) |