Return-Path: X-Original-To: apmail-ctakes-commits-archive@www.apache.org Delivered-To: apmail-ctakes-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C6A6B1768F for ; Tue, 30 Sep 2014 20:12:34 +0000 (UTC) Received: (qmail 42047 invoked by uid 500); 30 Sep 2014 20:12:34 -0000 Delivered-To: apmail-ctakes-commits-archive@ctakes.apache.org Received: (qmail 42014 invoked by uid 500); 30 Sep 2014 20:12:34 -0000 Mailing-List: contact commits-help@ctakes.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ctakes.apache.org Delivered-To: mailing list commits@ctakes.apache.org Received: (qmail 41935 invoked by uid 99); 30 Sep 2014 20:12:34 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 Sep 2014 20:12:34 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 Sep 2014 20:12:31 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 43C4D2388868; Tue, 30 Sep 2014 20:12:11 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1628544 - in /ctakes/trunk/ctakes-dictionary-lookup-fast-res/src/main/resources/org/apache/ctakes/dictionary/lookup: ./ fast/ fast/example/ fast/example/bsv/ Date: Tue, 30 Sep 2014 20:12:10 -0000 To: commits@ctakes.apache.org From: seanfinan@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20140930201211.43C4D2388868@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: seanfinan Date: Tue Sep 30 20:12:10 2014 New Revision: 1628544 URL: http://svn.apache.org/r1628544 Log: refactor directory move Added: ctakes/trunk/ctakes-dictionary-lookup-fast-res/src/main/resources/org/apache/ctakes/dictionary/lookup/ ctakes/trunk/ctakes-dictionary-lookup-fast-res/src/main/resources/org/apache/ctakes/dictionary/lookup/fast/ ctakes/trunk/ctakes-dictionary-lookup-fast-res/src/main/resources/org/apache/ctakes/dictionary/lookup/fast/cTakesHsql.xml ctakes/trunk/ctakes-dictionary-lookup-fast-res/src/main/resources/org/apache/ctakes/dictionary/lookup/fast/example/ ctakes/trunk/ctakes-dictionary-lookup-fast-res/src/main/resources/org/apache/ctakes/dictionary/lookup/fast/example/bsv/ ctakes/trunk/ctakes-dictionary-lookup-fast-res/src/main/resources/org/apache/ctakes/dictionary/lookup/fast/example/bsv/CustomCuiBsv.xml ctakes/trunk/ctakes-dictionary-lookup-fast-res/src/main/resources/org/apache/ctakes/dictionary/lookup/fast/example/bsv/CustomCuiTui2Bsv.xml ctakes/trunk/ctakes-dictionary-lookup-fast-res/src/main/resources/org/apache/ctakes/dictionary/lookup/fast/example/bsv/CustomCuiTuiBsv.xml ctakes/trunk/ctakes-dictionary-lookup-fast-res/src/main/resources/org/apache/ctakes/dictionary/lookup/fast/example/bsv/custom_cui_bsv.bsv ctakes/trunk/ctakes-dictionary-lookup-fast-res/src/main/resources/org/apache/ctakes/dictionary/lookup/fast/example/bsv/custom_cui_tui_bsv.bsv ctakes/trunk/ctakes-dictionary-lookup-fast-res/src/main/resources/org/apache/ctakes/dictionary/lookup/fast/example/bsv/custom_mixed_bsv.bsv ctakes/trunk/ctakes-dictionary-lookup-fast-res/src/main/resources/org/apache/ctakes/dictionary/lookup/fast/example/bsv/custom_tui_bsv.bsv Added: ctakes/trunk/ctakes-dictionary-lookup-fast-res/src/main/resources/org/apache/ctakes/dictionary/lookup/fast/cTakesHsql.xml URL: http://svn.apache.org/viewvc/ctakes/trunk/ctakes-dictionary-lookup-fast-res/src/main/resources/org/apache/ctakes/dictionary/lookup/fast/cTakesHsql.xml?rev=1628544&view=auto ============================================================================== --- ctakes/trunk/ctakes-dictionary-lookup-fast-res/src/main/resources/org/apache/ctakes/dictionary/lookup/fast/cTakesHsql.xml (added) +++ ctakes/trunk/ctakes-dictionary-lookup-fast-res/src/main/resources/org/apache/ctakes/dictionary/lookup/fast/cTakesHsql.xml Tue Sep 30 20:12:10 2014 @@ -0,0 +1,88 @@ + + + + + + + UmlsHsqlRareWord + org.apache.ctakes.dictionary.lookup2.dictionary.UmlsJdbcRareWordDictionary + + + + + + + + + + + + + + + + + + UmlsHsqlCuiTable + org.apache.ctakes.dictionary.lookup2.concept.UmlsJdbcConceptFactory + + + + + + + + + + + + + + + + + + + + + + + cTakesUmls + UmlsHsqlRareWord + UmlsHsqlCuiTable + + + + + + + Term Consumer + + org.apache.ctakes.dictionary.lookup2.consumer.DefaultTermConsumer + + + + + + Added: ctakes/trunk/ctakes-dictionary-lookup-fast-res/src/main/resources/org/apache/ctakes/dictionary/lookup/fast/example/bsv/CustomCuiBsv.xml URL: http://svn.apache.org/viewvc/ctakes/trunk/ctakes-dictionary-lookup-fast-res/src/main/resources/org/apache/ctakes/dictionary/lookup/fast/example/bsv/CustomCuiBsv.xml?rev=1628544&view=auto ============================================================================== --- ctakes/trunk/ctakes-dictionary-lookup-fast-res/src/main/resources/org/apache/ctakes/dictionary/lookup/fast/example/bsv/CustomCuiBsv.xml (added) +++ ctakes/trunk/ctakes-dictionary-lookup-fast-res/src/main/resources/org/apache/ctakes/dictionary/lookup/fast/example/bsv/CustomCuiBsv.xml Tue Sep 30 20:12:10 2014 @@ -0,0 +1,53 @@ + + + + + + + CustomCuiRareWord + org.apache.ctakes.dictionary.lookup2.BsvRareWordDictionary + + + + + + + + + + CustomPair + CustomCuiRareWord + + + + + + + Term Consumer + + org.apache.ctakes.dictionary.lookup2.consumer.DefaultTermConsumer + + + + + + Added: ctakes/trunk/ctakes-dictionary-lookup-fast-res/src/main/resources/org/apache/ctakes/dictionary/lookup/fast/example/bsv/CustomCuiTui2Bsv.xml URL: http://svn.apache.org/viewvc/ctakes/trunk/ctakes-dictionary-lookup-fast-res/src/main/resources/org/apache/ctakes/dictionary/lookup/fast/example/bsv/CustomCuiTui2Bsv.xml?rev=1628544&view=auto ============================================================================== --- ctakes/trunk/ctakes-dictionary-lookup-fast-res/src/main/resources/org/apache/ctakes/dictionary/lookup/fast/example/bsv/CustomCuiTui2Bsv.xml (added) +++ ctakes/trunk/ctakes-dictionary-lookup-fast-res/src/main/resources/org/apache/ctakes/dictionary/lookup/fast/example/bsv/CustomCuiTui2Bsv.xml Tue Sep 30 20:12:10 2014 @@ -0,0 +1,64 @@ + + + + + + + CustomCuiRareWord + org.apache.ctakes.dictionary.lookup2.BsvRareWordDictionary + + + + + + + + + CustomCuiConcept + org.apache.ctakes.dictionary.lookup2.concept.BsvConceptFactory + + + + + + + + + + CustomPair + CustomRareWord + CustomCuiConcept + + + + + + + Term Consumer + + org.apache.ctakes.dictionary.lookup2.consumer.DefaultTermConsumer + + + + + + Added: ctakes/trunk/ctakes-dictionary-lookup-fast-res/src/main/resources/org/apache/ctakes/dictionary/lookup/fast/example/bsv/CustomCuiTuiBsv.xml URL: http://svn.apache.org/viewvc/ctakes/trunk/ctakes-dictionary-lookup-fast-res/src/main/resources/org/apache/ctakes/dictionary/lookup/fast/example/bsv/CustomCuiTuiBsv.xml?rev=1628544&view=auto ============================================================================== --- ctakes/trunk/ctakes-dictionary-lookup-fast-res/src/main/resources/org/apache/ctakes/dictionary/lookup/fast/example/bsv/CustomCuiTuiBsv.xml (added) +++ ctakes/trunk/ctakes-dictionary-lookup-fast-res/src/main/resources/org/apache/ctakes/dictionary/lookup/fast/example/bsv/CustomCuiTuiBsv.xml Tue Sep 30 20:12:10 2014 @@ -0,0 +1,64 @@ + + + + + + + CustomCuiRareWord + org.apache.ctakes.dictionary.lookup2.BsvRareWordDictionary + + + + + + + + + CustomCuiConcept + org.apache.ctakes.dictionary.lookup2.concept.BsvConceptFactory + + + + + + + + + + CustomPair + CustomRareWord + CustomCuiConcept + + + + + + + Term Consumer + + org.apache.ctakes.dictionary.lookup2.consumer.DefaultTermConsumer + + + + + + Added: ctakes/trunk/ctakes-dictionary-lookup-fast-res/src/main/resources/org/apache/ctakes/dictionary/lookup/fast/example/bsv/custom_cui_bsv.bsv URL: http://svn.apache.org/viewvc/ctakes/trunk/ctakes-dictionary-lookup-fast-res/src/main/resources/org/apache/ctakes/dictionary/lookup/fast/example/bsv/custom_cui_bsv.bsv?rev=1628544&view=auto ============================================================================== --- ctakes/trunk/ctakes-dictionary-lookup-fast-res/src/main/resources/org/apache/ctakes/dictionary/lookup/fast/example/bsv/custom_cui_bsv.bsv (added) +++ ctakes/trunk/ctakes-dictionary-lookup-fast-res/src/main/resources/org/apache/ctakes/dictionary/lookup/fast/example/bsv/custom_cui_bsv.bsv Tue Sep 30 20:12:10 2014 @@ -0,0 +1,22 @@ +1|ctakes +1|ctakes application +// line comments can start with double-slash +2|new dictionary lookup +2|dictionary lookup, new +2|fast dictionary lookup +2|dictionary-lookup-fast +# line comments can start with hash +3|text tokenization is automatic, for bsv +3|for .bsv files, text-tokenization is done upon loading +3|There's no need to WORRY about matching the cTakes token scheme +4|the entire bsv dictionary is loaded, then rare words are determined +4|the rare-word indexing is used for custom bsv just like umls hsql +5|CUIs must be 1-7 digits characters. First-character "C" is optional +C5|Note that C5, C0000005 5, 05, and 005 are translated as the same cui +6|The bsv loader will detect 2 or 3 or 4 columns +6|2 columns are parsed as CUI , Text if set as a dictionary +6|2 columns are parsed as CUI , TUI if set as a concept factory +7|3 columns are parsed as CUI , TUI , Text if set as a dictionary and/or concept factory +8|4 columns are parsed as CUI , TUI , Text , Preferred Term if set as a dictionary and/or concept factory + + Added: ctakes/trunk/ctakes-dictionary-lookup-fast-res/src/main/resources/org/apache/ctakes/dictionary/lookup/fast/example/bsv/custom_cui_tui_bsv.bsv URL: http://svn.apache.org/viewvc/ctakes/trunk/ctakes-dictionary-lookup-fast-res/src/main/resources/org/apache/ctakes/dictionary/lookup/fast/example/bsv/custom_cui_tui_bsv.bsv?rev=1628544&view=auto ============================================================================== --- ctakes/trunk/ctakes-dictionary-lookup-fast-res/src/main/resources/org/apache/ctakes/dictionary/lookup/fast/example/bsv/custom_cui_tui_bsv.bsv (added) +++ ctakes/trunk/ctakes-dictionary-lookup-fast-res/src/main/resources/org/apache/ctakes/dictionary/lookup/fast/example/bsv/custom_cui_tui_bsv.bsv Tue Sep 30 20:12:10 2014 @@ -0,0 +1,22 @@ +1|1|ctakes +1|1|ctakes application +// line comments can start with double-slash +2|3|new dictionary lookup +2|3|dictionary lookup, new +2|3|fast dictionary lookup +2|3|dictionary-lookup-fast +# line comments can start with hash +3|5|text tokenization is automatic, for bsv +3|5|for .bsv files, text-tokenization is done upon loading +3|5|There's no need to WORRY about matching the cTakes token scheme +4|5|the entire bsv dictionary is loaded, then rare words are determined +4|5|the rare-word indexing is used for custom bsv just like umls hsql +5|5|CUIs must be 1-7 digits. First-character "C" is optional +C5|5|Note that C5, C0000005 5, 05, and 005 are translated as the same cui +6|5|The bsv loader will detect 2 or 3 or 4 columns +6|5|2 columns are parsed as CUI , Text if set as a dictionary +6|5|2 columns are parsed as CUI , TUI if set as a concept factory +7|5|3 columns are parsed as CUI , TUI , Text if set as a dictionary and/or concept factory +8|5|4 columns are parsed as CUI , TUI , Text , Preferred Term if set as a dictionary and/or concept factory +9|5|TUIs must be 1-3 digits. First-character "T" is optional +10|T5|Note that T5, T005 5, 05, and 005 are translated as the same tui Added: ctakes/trunk/ctakes-dictionary-lookup-fast-res/src/main/resources/org/apache/ctakes/dictionary/lookup/fast/example/bsv/custom_mixed_bsv.bsv URL: http://svn.apache.org/viewvc/ctakes/trunk/ctakes-dictionary-lookup-fast-res/src/main/resources/org/apache/ctakes/dictionary/lookup/fast/example/bsv/custom_mixed_bsv.bsv?rev=1628544&view=auto ============================================================================== --- ctakes/trunk/ctakes-dictionary-lookup-fast-res/src/main/resources/org/apache/ctakes/dictionary/lookup/fast/example/bsv/custom_mixed_bsv.bsv (added) +++ ctakes/trunk/ctakes-dictionary-lookup-fast-res/src/main/resources/org/apache/ctakes/dictionary/lookup/fast/example/bsv/custom_mixed_bsv.bsv Tue Sep 30 20:12:10 2014 @@ -0,0 +1,23 @@ +1|1|ctakes +1||ctakes application +// line comments can start with double-slash +2|3|new dictionary lookup|dictionary-lookup-fast +2||dictionary lookup, new +2||fast dictionary lookup +2||dictionary-lookup-fast +# line comments can start with hash +3|5|text tokenization is automatic, for bsv|Easy Tokenization +3||for .bsv files, text-tokenization is done upon loading +3||There's no need to WORRY about matching the cTakes token scheme +4|||Automatic Rare Word Detection +4|5|the entire bsv dictionary is loaded, then rare words are determined +4||the rare-word indexing is used for custom bsv just like umls hsql +5|5|CUIs must be 1-7 digits. First-character "C" is optional +C5|T5|Note that C5, C0000005 5, 05, and 005 are translated as the same cui +6|5|The bsv loader will detect 2 or 3 or 4 columns +6||2 columns are parsed as CUI , Text if set as a dictionary +6||2 columns are parsed as CUI , TUI if set as a concept factory +7||3 columns are parsed as CUI , TUI , Text if set as a dictionary and/or concept factory +8||4 columns are parsed as CUI , TUI , Text , Preferred Term if set as a dictionary and/or concept factory +9|5|TUIs must be 1-3 digits. First-character "T" is optional +10|T5|Note that T5, T005 5, 05, and 005 are translated as the same tui Added: ctakes/trunk/ctakes-dictionary-lookup-fast-res/src/main/resources/org/apache/ctakes/dictionary/lookup/fast/example/bsv/custom_tui_bsv.bsv URL: http://svn.apache.org/viewvc/ctakes/trunk/ctakes-dictionary-lookup-fast-res/src/main/resources/org/apache/ctakes/dictionary/lookup/fast/example/bsv/custom_tui_bsv.bsv?rev=1628544&view=auto ============================================================================== --- ctakes/trunk/ctakes-dictionary-lookup-fast-res/src/main/resources/org/apache/ctakes/dictionary/lookup/fast/example/bsv/custom_tui_bsv.bsv (added) +++ ctakes/trunk/ctakes-dictionary-lookup-fast-res/src/main/resources/org/apache/ctakes/dictionary/lookup/fast/example/bsv/custom_tui_bsv.bsv Tue Sep 30 20:12:10 2014 @@ -0,0 +1,10 @@ +1|1 +// line comments can start with double-slash +2|3 +# line comments can start with hash +3|5 +4|5 +C5|5 +6|5 +9|5 +10|T5