aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbicatali <bicatali@32389bae-6d03-0410-99cf-db05cde120eb>2008-03-17 16:21:32 +0000
committerbicatali <bicatali@32389bae-6d03-0410-99cf-db05cde120eb>2008-03-17 16:21:32 +0000
commit76ffb781ed7a917f23b67454e9f950e5e3b83527 (patch)
tree94fa8e1ddc7cb9ef80b78ea7896a5845f074f95b /sci-misc/stanford-parser
parentmove stuff to root (diff)
downloadsci-76ffb781ed7a917f23b67454e9f950e5e3b83527.tar.gz
sci-76ffb781ed7a917f23b67454e9f950e5e3b83527.tar.bz2
sci-76ffb781ed7a917f23b67454e9f950e5e3b83527.zip
moved overlay to new directory
git-svn-id: http://overlays.gentoo.org/svn/proj/science/overlay@979 32389bae-6d03-0410-99cf-db05cde120eb
Diffstat (limited to 'sci-misc/stanford-parser')
-rw-r--r--sci-misc/stanford-parser/ChangeLog9
-rw-r--r--sci-misc/stanford-parser/Manifest4
-rw-r--r--sci-misc/stanford-parser/metadata.xml12
-rw-r--r--sci-misc/stanford-parser/stanford-parser-1.6.ebuild45
4 files changed, 70 insertions, 0 deletions
diff --git a/sci-misc/stanford-parser/ChangeLog b/sci-misc/stanford-parser/ChangeLog
new file mode 100644
index 000000000..260cf432f
--- /dev/null
+++ b/sci-misc/stanford-parser/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for sci-misc/stanford-parser
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+*stanford-parser-1.6 (03 Jan 2008)
+
+ 03 Jan 2008; Flammie Pirinen <flammie@gentoo.org>
+ +stanford-parser-1.6.ebuild :
+ Initial import.
diff --git a/sci-misc/stanford-parser/Manifest b/sci-misc/stanford-parser/Manifest
new file mode 100644
index 000000000..5ca528479
--- /dev/null
+++ b/sci-misc/stanford-parser/Manifest
@@ -0,0 +1,4 @@
+DIST stanford-parser-2007-08-19.tar.gz 60783166 RMD160 8cc8b766356737c9d8482712339cc587c9c5961f SHA1 81adc099f7ee928ce95b5f5c2dfb5710f5b65fbf SHA256 e84d5db529c25c4833e1c30abf8fd66e576b7afa92ecbb570a0c709a39364081
+EBUILD stanford-parser-1.6.ebuild 1150 RMD160 2222f217f430ffc570efe4ed6226c1eaf4250f3c SHA1 f750b37615f6b8bae6fcba9865fd9f9d7024702c SHA256 580f03bc30c3f771952aaba49cb619d44e6a9570533ce867c8995f7cc0a75f0d
+MISC ChangeLog 264 RMD160 5d285d47545db0d5a338bdc1a40f9dc025184ce6 SHA1 2972624a04c1ae373101a656aebd3dab6ab3f84f SHA256 5384239b1b07f9178f8940b152630026ccd131f19f62f1d40680bf69004d1c42
+MISC metadata.xml 401 RMD160 a0fd5739d3cad5d20412c49812ead1a1ab123423 SHA1 cab979da21ff40d36d324b8b7d040193d656f059 SHA256 e93fa704c4bd88bf37eae0563f71c0a03daca546b34fd1be503da16753eb0eff
diff --git a/sci-misc/stanford-parser/metadata.xml b/sci-misc/stanford-parser/metadata.xml
new file mode 100644
index 000000000..62254343f
--- /dev/null
+++ b/sci-misc/stanford-parser/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>no-herd</herd>
+<maintainer>
+ <email>flammie@gentoo.org</email>
+</maintainer>
+<longdescription>
+ Stanford parser is a natural language parser implemented in Java and using
+ statistical methods. It includes PCFG and dependency parsers.
+</longdescription>
+</pkgmetadata>
diff --git a/sci-misc/stanford-parser/stanford-parser-1.6.ebuild b/sci-misc/stanford-parser/stanford-parser-1.6.ebuild
new file mode 100644
index 000000000..82cbcf4c7
--- /dev/null
+++ b/sci-misc/stanford-parser/stanford-parser-1.6.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+JAVA_PKG_IUSE="doc source"
+inherit eutils java-pkg-2 java-ant-2
+
+MY_PV=2007-08-19
+MY_P=${PN}-${MY_PV}
+DESCRIPTION="Stanford’s statistical natural language parsers"
+HOMEPAGE="http://www-nlp.stanford.edu/software/"
+SRC_URI="http://www-nlp.stanford.edu/software/${MY_P}.tar.gz"
+LICENSE="GPL-2"
+
+SLOT="0"
+KEYWORDS="~x86"
+
+IUSE="${IUSE}"
+
+COMMON_DEP=""
+DEPEND=">=virtual/jdk-1.5
+ ${COMMON_DEP}"
+RDEPEND=">=virtual/jre-1.5
+ ${COMMON_DEP}"
+
+S="${WORKDIR}/${MY_P}"
+EANT_BUILD_TARGET="compile"
+
+src_install() {
+ java-pkg_dojar stanford-parser.jar
+ if use doc ; then
+ java-pkg_dojavadoc javadoc
+ fi
+ if use source ; then
+ java-pkg_dosrc src
+ fi
+ dodoc README.txt README_dependencies.txt cedict_readme.txt
+ dodir /usr/share/${PN}
+ insinto /usr/share/${PN}
+ for f in *ser.gz ; do
+ doins ${f}
+ done
+ java-pkg_dolauncher stanford-lexparser --java_args -Xmx200m --main edu.stanford.nlp.parser.lexparser.LexicalizedParser
+ java-pkg_dolauncher stanford-lexparser-gui --java_args "-server -Xmx600m" --main edu.stanford.nlp.parser.ui.Parser
+}