ctakes-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vjapa...@apache.org
Subject svn commit: r1555298 - in /ctakes/branches/ytex/ctakes-ytex: README scripts/build-nonasf.xml
Date Sat, 04 Jan 2014 00:28:30 GMT
Author: vjapache
Date: Sat Jan  4 00:28:30 2014
New Revision: 1555298

URL: http://svn.apache.org/r1555298
Log:
readme

Modified:
    ctakes/branches/ytex/ctakes-ytex/README
    ctakes/branches/ytex/ctakes-ytex/scripts/build-nonasf.xml

Modified: ctakes/branches/ytex/ctakes-ytex/README
URL: http://svn.apache.org/viewvc/ctakes/branches/ytex/ctakes-ytex/README?rev=1555298&r1=1555297&r2=1555298&view=diff
==============================================================================
--- ctakes/branches/ytex/ctakes-ytex/README (original)
+++ ctakes/branches/ytex/ctakes-ytex/README Sat Jan  4 00:28:30 2014
@@ -1,12 +1,29 @@
-Contents
+############
+Overview
+############
+Contains the following components:
+* Semantic Similarity - compute the similarity between concepts
+* Word Sense Disambiguation - use semantic similarity to disambiguate terms that have multiple
meanings
+* Bag-of-Words exporter - export sparse matrices from a database
+* YTEX Database setup scripts
+* Java Data Loader - simple utility for loading delimited files into database tables
 
 ############
-Introduction
+Cheat Sheet
 ############
+To get started, do the following:
+* Create ytex.properties: create src\main\resources\org\apache\ctakes\ytex\ytex.properties
(see examples in ctakes-ytex-res/src/main/resources/org/apache/ctakes/ytex)
+* Add jdbc drivers to maven repo: if you are using ms sql server / or oracle, add the jdbc
driver(s) to your local maven repo (see comments in dependencies section of pom.xml)
+* Add ms sql auth dlls to path: if you are using ms sql server with integrated auth, make
sure the ms sql jdbc auth directory is in your system PATH (sqljdbc_4.0\enu\auth\x64)
+* Unzip ctakes-ytex-resources.zip: extract to  ctakes-ytex-res/src/main
+* run the maven build from the command line for ctakes-ytex-res, ctakes-ytex, ctakes-ytex-uima
projects.  From the ctakes root directory:
+mvn -pl ctakes-ytex-res,ctakes-ytex,ctakes-ytex-uima -DskipTests
 
-Need buildhelper m2e plugin
+You should be all set now
 
-== Developing ==
+############
+Developing
+############
 We have currently tested mysql and ms sql server, oracle is pending.  HSQL is used only for
unit testing.  
 
 YTEX is driven by a property file, ytex.properties.  The property file used when running
ytex java programs 
@@ -52,16 +69,9 @@ Override this by:
  \src\test\resources\org\apache\ctakes\ytex.
  
 
-
 ############
-Creating the ctakes-ytex-resources-3.1.2-SNAPSHOT.zip 
+Creating the ctakes-ytex-resources.zip 
 ############
-* Create the v_snomed_fword_lookup.txt file
-Install umls in mysql, run ytex db setup - will create v_snomed_fword_lookup table.
-Export the file:
-  - set permissions: grant FILE on *.* to 'ytex'@'localhost'
-  - export: mysqldump --user=ytex --password=ytex --tab=c:\temp ytex v_snomed_fword_lookup
-  - replace \N with empty string in c:\temp\v_snomed_fword_lookup.txt
-* Create the concept graph
+See scripts/build-nonasf.xml
 
 

Modified: ctakes/branches/ytex/ctakes-ytex/scripts/build-nonasf.xml
URL: http://svn.apache.org/viewvc/ctakes/branches/ytex/ctakes-ytex/scripts/build-nonasf.xml?rev=1555298&r1=1555297&r2=1555298&view=diff
==============================================================================
--- ctakes/branches/ytex/ctakes-ytex/scripts/build-nonasf.xml (original)
+++ ctakes/branches/ytex/ctakes-ytex/scripts/build-nonasf.xml Sat Jan  4 00:28:30 2014
@@ -1,6 +1,6 @@
 <project name="build-nonasf" default="all">
-<description>
-<![CDATA[
+	<description>
+		<![CDATA[
 Create the ctakes-ytex-resources.zip that contains the following:
 * umls dictionary lookup table 
 * umls concept graphs
@@ -11,17 +11,22 @@ Before running this:
 * need db with umls installed
 * run the data/build.xml (so we can generate the v_snomed_fword_lookup table)
 ]]>
-</description>
+	</description>
 	<import file="build-classpath.xml" />
 	<property name="sqljdbc.home" value="c:/java/sqljdbc_4.0/enu" />
-	<target name="all" depends="create.conceptGraph.all,export.lookup,create.zip" />
-	<target name="create.zip">
-		<delete file="../target/ctakes-ytex-resources.zip" quiet="yes" /> 
+	<target name="all" depends="create.conceptGraph.all,export.lookup,create.resources.zip,create.lib.zip"
/>
+	<target name="create.resources.zip">
+		<delete file="../target/ctakes-ytex-resources.zip" quiet="yes" />
 		<zip destfile="../target/ctakes-ytex-resources.zip">
 			<!-- dictionary lookup -->
 			<zipfileset prefix="resources" dir="${ytex.resources.home}" includes="org/apache/ctakes/ytex/dictionary/lookup/v_snomed_fword_lookup.txt"
/>
 			<!-- concept graphs -->
 			<zipfileset prefix="resources" dir="${ytex.resources.home}" includes="org/apache/ctakes/ytex/conceptGraph/*.gz"
/>
+		</zip>
+	</target>
+	<target name="create.lib.zip">
+		<delete file="../target/ctakes-ytex-lib.zip" quiet="yes" />
+		<zip destfile="../target/ctakes-ytex-lib.zip">
 			<!-- non-asf libraries -->
 			<zipfileset prefix="lib" dir="../target/nonasf-lib" includes="*.jar" />
 			<!-- mssql jdbc driver and authentication dlls -->
@@ -29,6 +34,7 @@ Before running this:
 			<!-- mssql jdbc readmes -->
 			<zipfileset prefix="lib/auth" dir="${sqljdbc.home}" includes="*.txt" />
 		</zip>
+
 	</target>
 	<target name="export.lookup">
 		<mkdir dir="${ytex.resources.home}/org/apache/ctakes/ytex/dictionary/lookup" />



Mime
View raw message