maxent-2.4.0
所属分类:数据挖掘/数据仓库
开发工具:Java
文件大小:2425KB
下载次数:131
上传日期:2006-01-06 14:29:04
上 传 者:
leojames
说明: 基于统计的文本分析中,最为常用的最大熵算法,可直接调用,广泛用于词性标注,词义消岐等
(based on statistical analysis of the text, the most commonly used of maximum entropy algorithm, can be called directly, widely used in tagging, Words such as Consumers qi)
文件列表:
maxent-2.4.0\AUTHORS (211, 2005-10-24)
maxent-2.4.0\build.sh (946, 2005-10-24)
maxent-2.4.0\build.xml (7774, 2005-10-24)
maxent-2.4.0\CHANGES (12093, 2005-10-24)
maxent-2.4.0\COMMANDLINE (1437, 2005-10-24)
maxent-2.4.0\LICENSE (24384, 2005-10-24)
maxent-2.4.0\src\java\opennlp\maxent\AbstractDataIndexer.java (4511, 2005-10-24)
maxent-2.4.0\src\java\opennlp\maxent\AllEnglishAffixes.txt (2282, 2005-10-24)
maxent-2.4.0\src\java\opennlp\maxent\BasicContextGenerator.java (1860, 2005-10-24)
maxent-2.4.0\src\java\opennlp\maxent\BasicEventStream.java (2635, 2005-10-24)
maxent-2.4.0\src\java\opennlp\maxent\BinToAscii.java (1641, 2005-10-24)
maxent-2.4.0\src\java\opennlp\maxent\ComparableEvent.java (2421, 2005-10-24)
maxent-2.4.0\src\java\opennlp\maxent\ComparablePredicate.java (2119, 2005-10-24)
maxent-2.4.0\src\java\opennlp\maxent\Context.java (2306, 2005-10-24)
maxent-2.4.0\src\java\opennlp\maxent\ContextGenerator.java (1303, 2005-10-24)
maxent-2.4.0\src\java\opennlp\maxent\Counter.java (1379, 2005-10-24)
maxent-2.4.0\src\java\opennlp\maxent\DataIndexer.java (2210, 2005-10-24)
maxent-2.4.0\src\java\opennlp\maxent\DataStream.java (1798, 2005-10-24)
maxent-2.4.0\src\java\opennlp\maxent\DomainToModelMap.java (2895, 2005-10-24)
maxent-2.4.0\src\java\opennlp\maxent\Evalable.java (2730, 2005-10-24)
maxent-2.4.0\src\java\opennlp\maxent\Event.java (1619, 2005-10-24)
maxent-2.4.0\src\java\opennlp\maxent\EventCollector.java (1828, 2005-10-24)
maxent-2.4.0\src\java\opennlp\maxent\EventCollectorAsStream.java (1778, 2005-10-24)
maxent-2.4.0\src\java\opennlp\maxent\EventStream.java (1807, 2005-10-24)
maxent-2.4.0\src\java\opennlp\maxent\FileEventStream.java (4104, 2005-10-24)
maxent-2.4.0\src\java\opennlp\maxent\GIS.java (7025, 2005-10-24)
maxent-2.4.0\src\java\opennlp\maxent\GISFormat (454, 2005-10-24)
maxent-2.4.0\src\java\opennlp\maxent\GISModel.java (10024, 2005-10-24)
maxent-2.4.0\src\java\opennlp\maxent\GISTrainer.java (16225, 2005-10-24)
maxent-2.4.0\src\java\opennlp\maxent\IntegerPool.java (2239, 2005-10-24)
maxent-2.4.0\src\java\opennlp\maxent\Main.java (1942, 2005-10-24)
maxent-2.4.0\src\java\opennlp\maxent\MaxentModel.java (3840, 2005-10-24)
maxent-2.4.0\src\java\opennlp\maxent\ModelDomain.java (1604, 2005-10-24)
maxent-2.4.0\src\java\opennlp\maxent\ModelReplacementManager.java (5116, 2005-10-24)
maxent-2.4.0\src\java\opennlp\maxent\ModelSetter.java (2062, 2005-10-24)
maxent-2.4.0\src\java\opennlp\maxent\MutableContext.java (2398, 2005-10-24)
maxent-2.4.0\src\java\opennlp\maxent\OnePassDataIndexer.java (6530, 2005-10-24)
maxent-2.4.0\src\java\opennlp\maxent\package.html (245, 2005-10-24)
maxent-2.4.0\src\java\opennlp\maxent\PlainTextByLineDataStream.java (1902, 2005-10-24)
... ...
Introduction
============
See the web site http://maxent.sf.net
Installing the build tools
==========================
The Maxent build system is based on Jakarta Ant, which is a Java
building tool originally developed for the Jakarta Tomcat project but
now used in many other Apache projects and extended by many
developers.
Ant is a little but very handy tool that uses a build file written in
XML (build.xml) as building instructions. For more information refer
to "http://jakarta.apache.org/ant/".
The only thing that you have to make sure of is that the "JAVA_HOME"
environment property is set to match the top level directory
containing the JVM you want to use. For example:
C:\> set JAVA_HOME=C:\jdk1.2.2
or on Unix:
% setenv JAVA_HOME /usr/local/java
(csh)
> JAVA_HOME=/usr/java; export JAVA_HOME
(ksh, bash)
That's it!
Building instructions
=====================
Ok, let's build the code. First, make sure your current working
directory is where the build.xml file is located. Then type
./build.sh (unix)
if everything is right and all the required packages are visible, this
action will generate a file called "maxent-${version}.jar" in the
"./build" directory. Note, that if you do further development,
compilation time is reduced since Ant is able to detect which files
have changed an to recompile them at need.
If something went wrong, go to the FAQ section below.
Also, you'll note that reusing a single JVM instance for each task, increases
tremendously the performance of the whole build system, compared to other
tools (i.e. make or shell scripts) where a new JVM is started for each task.
Build targets
=============
The build system is not only responsible for compiling Maxent into a jar
file, but is also responsible for creating the HTML documentation in
the form of javadocs.
These are the meaningful targets for this build file:
- package [default] -> creates ./build/maxent.jar
- compile -> compiles the source code
- javadoc -> generates the API documentation in ./build/javadocs
- clean -> restores the distribution to its original and clean state
For example, to build the Java API documentation, type
build.sh javadoc
(Unix)
To learn the details of what each target does, read the build.xml file. It is
quite understandable.
Bug Reports
===========
Please report bugs at the bug section of the Maxent sourceforge site:
http://sourceforge.net/tracker/?atid=105961&group_id=5961&func=browse
Also, you can report bugs by sending mail to Jason Baldridge at
jmb@cogsci.ed.ac.uk.
Special Note
============
This README and the directory structure and the build system for this
project were taken directly from the JDOM project. Many thanks to
Jason Hunter and Brett McLaughlin for creating a very elegant way of
working with XML in Java. See www.jdom.org for more details.
近期下载者:
相关文件:
收藏者: