forked from CogComp/cogcomp-nlp
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of https://github.com/IllinoisCogComp/illinois-…
- Loading branch information
Showing
61 changed files
with
2,030 additions
and
317,201 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
version: '{build}' | ||
skip_tags: true | ||
clone_depth: 10 | ||
environment: | ||
JAVA_HOME: C:\Program Files\Java\jdk1.8.0 | ||
branches: | ||
only: | ||
- master | ||
except: | ||
- gh-pages | ||
os: Windows Server 2012 | ||
install: | ||
- ps: | | ||
Add-Type -AssemblyName System.IO.Compression.FileSystem | ||
if (!(Test-Path -Path "C:\maven" )) { | ||
(new-object System.Net.WebClient).DownloadFile('http://apache.mirrors.tds.net/maven/maven-3/3.3.9/binaries/apache-maven-3.3.9-bin.zip', 'C:\maven-bin.zip') | ||
[System.IO.Compression.ZipFile]::ExtractToDirectory("C:\maven-bin.zip", "C:\maven") | ||
} | ||
- cmd: SET PATH=C:\maven\apache-maven-3.3.9\bin;%JAVA_HOME%\bin;%PATH:C:\Ruby193\bin;=% | ||
- cmd: SET MAVEN_OPTS=-XX:MaxPermSize=2g -Xmx4g | ||
- cmd: SET JAVA_OPTS=-XX:MaxPermSize=2g -Xmx4g | ||
- cmd: SET JAVA_TOOL_OPTIONS=-Dfile.encoding=UTF8 | ||
- cmd: SET org.ojalgo.OjAlgoUtils.ENVIRONMENT=x86_64 | ||
- cmd: mvn --version | ||
- cmd: java -version | ||
build_script: | ||
- mvn clean | ||
test_script: | ||
- mvn test | ||
cache: | ||
- C:\maven\ | ||
- C:\Users\appveyor\.m2 |
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
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
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
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
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
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
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
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
14 changes: 14 additions & 0 deletions
14
core-utilities/src/main/java/edu/illinois/cs/cogcomp/core/constants/DocumentMetadata.java
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
/** | ||
* This software is released under the University of Illinois/Research and Academic Use License. See | ||
* the LICENSE file in the root folder for details. Copyright (c) 2016 | ||
* | ||
* Developed by: The Cognitive Computation Group University of Illinois at Urbana-Champaign | ||
* http://cogcomp.cs.illinois.edu/ | ||
*/ | ||
package edu.illinois.cs.cogcomp.core.constants; | ||
|
||
public class DocumentMetadata { | ||
public static final String DocumentID = "documentID"; | ||
public static final String DocumentCreationTime = "documentCreationTime"; | ||
public static final String HeadLine = "headLine"; | ||
} |
25 changes: 25 additions & 0 deletions
25
core-utilities/src/main/java/edu/illinois/cs/cogcomp/core/datastructures/HasAttributes.java
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
/** | ||
* This software is released under the University of Illinois/Research and Academic Use License. See | ||
* the LICENSE file in the root folder for details. Copyright (c) 2016 | ||
* | ||
* Developed by: The Cognitive Computation Group University of Illinois at Urbana-Champaign | ||
* http://cogcomp.cs.illinois.edu/ | ||
*/ | ||
package edu.illinois.cs.cogcomp.core.datastructures; | ||
|
||
import java.util.Set; | ||
|
||
/** | ||
* Interface for common methods when supporting attributes. | ||
*/ | ||
public interface HasAttributes { | ||
void addAttribute(String key, String value); | ||
|
||
String getAttribute(String key); | ||
|
||
Set<String> getAttributeKeys(); | ||
|
||
boolean hasAttribute(String key); | ||
|
||
void removeAllAttributes(); | ||
} |
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
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
Oops, something went wrong.