Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migration to MavenReference #130

Merged
merged 12 commits into from
Mar 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 2 additions & 8 deletions .config/dotnet-tools.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,13 @@
"isRoot": true,
"tools": {
"paket": {
"version": "7.1.5",
"version": "8.0.0",
"commands": [
"paket"
]
},
"fake-cli": {
"version": "5.22.0",
"commands": [
"fake"
]
},
"dotnet-serve": {
"version": "1.10.93",
"version": "1.10.172",
"commands": [
"dotnet-serve"
]
Expand Down
6 changes: 3 additions & 3 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[*.fs]
max_line_length=150
fsharp_space_before_parameter=false
fsharp_space_before_lowercase_invocation=false
max_line_length = 150
fsharp_space_before_parameter = false
fsharp_space_before_lowercase_invocation = false
74 changes: 7 additions & 67 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,74 +12,14 @@ jobs:

build:
name: Build
runs-on: windows-latest
steps:
- uses: actions/checkout@v1
- name: Setup .NET 3.1 SDK
uses: actions/setup-dotnet@v2
with:
dotnet-version: 3.1.x
- name: Setup .NET 6.0 SDK
uses: actions/setup-dotnet@v2
with:
dotnet-version: 6.0.x
runs-on: ubuntu-latest

- name: Install local tools
run: dotnet tool restore
- name: Paket Restore (Data)
working-directory: ./data
run: dotnet paket restore
- name: Paket Restore (Dependencies)
run: dotnet paket restore
- name: Build Tests and Binaries
run: dotnet fake run build.fsx -t "BuildTests"
- name: Upload NuGet Packages
uses: actions/upload-artifact@v3
with:
name: nuget
path: bin/*.nupkg
- name: Upload Tests
uses: actions/upload-artifact@v3
with:
name: tests
path: tests

test:
name: Test
strategy:
fail-fast: false
matrix:
os: [windows-latest, ubuntu-latest]
runs-on: ${{ matrix.os }}
needs:
- build
steps:
- uses: actions/checkout@v1
- name: Setup .NET 3.1 SDK
uses: actions/setup-dotnet@v2
with:
dotnet-version: 3.1.x
- name: Setup .NET 6.0 SDK
- name: Checkout
uses: actions/checkout@v2
- name: Setup .NET 8.0 SDK
uses: actions/setup-dotnet@v2
with:
dotnet-version: 6.0.x
- name: Download OpenNLP.NET Tests
uses: actions/download-artifact@v3
with:
name: tests
path: tests

- name: Install local tools
run: dotnet tool restore
- name: Paket Restore (Data)
working-directory: ./data
run: dotnet paket restore
- name: Paket Restore (Dependencies)
run: dotnet paket restore
- name: Run Tests
run: dotnet fake run build.fsx -t "RunTests"
- name: Upload Test Results
uses: actions/upload-artifact@v3
with:
name: TestResults-${{ matrix.os }}
path: TestResults
dotnet-version: 8.0.x
- name: Build and Test
run: dotnet fsi build.fsx -- -p build
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -191,3 +191,4 @@ nuget/Stanford.NLP.snk
.paket/
data/.paket/
TestResult.xml
.idea/
5 changes: 4 additions & 1 deletion RELEASE_NOTES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
#### Unreleased - March 10, 2024
* All packages were archived and will not be updated anymore

#### 4.5.0 - August 24, 2022
* New version of Stanford CoreNLP (4.5.0)
* Binaries for `netcoreapp3.1`
Expand Down Expand Up @@ -99,4 +102,4 @@
* Added Stanford Named Entity Recognizer Samples

#### 0.1.0-beta - February 7 2013
* Added Stanford Log-linear Part-Of-Speech Tagger Samples
* Added Stanford Log-linear Part-Of-Speech Tagger Samples
47 changes: 0 additions & 47 deletions Stanford.NLP.NET.sln
Original file line number Diff line number Diff line change
Expand Up @@ -6,74 +6,27 @@ MinimumVisualStudioVersion = 10.0.40219.1
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "build", "build", "{BF60BC93-E09B-4E5F-9D85-95A519479D54}"
ProjectSection(SolutionItems) = preProject
build.fsx = build.fsx
paket.dependencies = paket.dependencies
paket.lock = paket.lock
README.md = README.md
RELEASE_NOTES.md = RELEASE_NOTES.md
EndProjectSection
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "tests", "tests", "{ED8079DD-2B06-4030-9F0F-DC548F98E1C4}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "data", "data", "{4B69DF10-DB06-4440-8434-52DC03ED19F6}"
ProjectSection(SolutionItems) = preProject
tests\data\SampleText.txt = tests\data\SampleText.txt
tests\data\test.simple.utf8 = tests\data\test.simple.utf8
EndProjectSection
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Stanford.NLP.Segmenter.Tests", "tests\Stanford.NLP.Segmenter.Tests\Stanford.NLP.Segmenter.Tests.csproj", "{1CC767E6-5DD0-4567-B9DC-6612D51033FA}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Stanford.NLP.Tagger.Tests", "tests\Stanford.NLP.Tagger.Tests\Stanford.NLP.Tagger.Tests.csproj", "{952BD2E5-772F-4EF6-BE2A-50CB10D83938}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Stanford.NLP.Parser.Tests", "tests\Stanford.NLP.Parser.Tests\Stanford.NLP.Parser.Tests.csproj", "{8936D281-29E7-4B79-B8F8-B9F81AD58224}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Stanford.NLP.NER.Tests", "tests\Stanford.NLP.NER.Tests\Stanford.NLP.NER.Tests.csproj", "{3E6A9451-BF6C-4452-8B83-3365BBD73AF8}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Stanford.NLP.CoreNLP.Tests", "tests\Stanford.NLP.CoreNLP.Tests\Stanford.NLP.CoreNLP.Tests.csproj", "{8FD5937A-91FF-4220-8F81-CB1F6C7C5C68}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Stanford.NLP.Tools", "tests\Stanford.NLP.Tools\Stanford.NLP.Tools.csproj", "{AA366199-0030-4E5A-9EB6-7763BB465245}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{1CC767E6-5DD0-4567-B9DC-6612D51033FA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{1CC767E6-5DD0-4567-B9DC-6612D51033FA}.Debug|Any CPU.Build.0 = Debug|Any CPU
{1CC767E6-5DD0-4567-B9DC-6612D51033FA}.Release|Any CPU.ActiveCfg = Release|Any CPU
{1CC767E6-5DD0-4567-B9DC-6612D51033FA}.Release|Any CPU.Build.0 = Release|Any CPU
{952BD2E5-772F-4EF6-BE2A-50CB10D83938}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{952BD2E5-772F-4EF6-BE2A-50CB10D83938}.Debug|Any CPU.Build.0 = Debug|Any CPU
{952BD2E5-772F-4EF6-BE2A-50CB10D83938}.Release|Any CPU.ActiveCfg = Release|Any CPU
{952BD2E5-772F-4EF6-BE2A-50CB10D83938}.Release|Any CPU.Build.0 = Release|Any CPU
{8936D281-29E7-4B79-B8F8-B9F81AD58224}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{8936D281-29E7-4B79-B8F8-B9F81AD58224}.Debug|Any CPU.Build.0 = Debug|Any CPU
{8936D281-29E7-4B79-B8F8-B9F81AD58224}.Release|Any CPU.ActiveCfg = Release|Any CPU
{8936D281-29E7-4B79-B8F8-B9F81AD58224}.Release|Any CPU.Build.0 = Release|Any CPU
{3E6A9451-BF6C-4452-8B83-3365BBD73AF8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{3E6A9451-BF6C-4452-8B83-3365BBD73AF8}.Debug|Any CPU.Build.0 = Debug|Any CPU
{3E6A9451-BF6C-4452-8B83-3365BBD73AF8}.Release|Any CPU.ActiveCfg = Release|Any CPU
{3E6A9451-BF6C-4452-8B83-3365BBD73AF8}.Release|Any CPU.Build.0 = Release|Any CPU
{8FD5937A-91FF-4220-8F81-CB1F6C7C5C68}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{8FD5937A-91FF-4220-8F81-CB1F6C7C5C68}.Debug|Any CPU.Build.0 = Debug|Any CPU
{8FD5937A-91FF-4220-8F81-CB1F6C7C5C68}.Release|Any CPU.ActiveCfg = Release|Any CPU
{8FD5937A-91FF-4220-8F81-CB1F6C7C5C68}.Release|Any CPU.Build.0 = Release|Any CPU
{AA366199-0030-4E5A-9EB6-7763BB465245}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{AA366199-0030-4E5A-9EB6-7763BB465245}.Debug|Any CPU.Build.0 = Debug|Any CPU
{AA366199-0030-4E5A-9EB6-7763BB465245}.Release|Any CPU.ActiveCfg = Release|Any CPU
{AA366199-0030-4E5A-9EB6-7763BB465245}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(NestedProjects) = preSolution
{4B69DF10-DB06-4440-8434-52DC03ED19F6} = {ED8079DD-2B06-4030-9F0F-DC548F98E1C4}
{1CC767E6-5DD0-4567-B9DC-6612D51033FA} = {ED8079DD-2B06-4030-9F0F-DC548F98E1C4}
{952BD2E5-772F-4EF6-BE2A-50CB10D83938} = {ED8079DD-2B06-4030-9F0F-DC548F98E1C4}
{8936D281-29E7-4B79-B8F8-B9F81AD58224} = {ED8079DD-2B06-4030-9F0F-DC548F98E1C4}
{3E6A9451-BF6C-4452-8B83-3365BBD73AF8} = {ED8079DD-2B06-4030-9F0F-DC548F98E1C4}
{8FD5937A-91FF-4220-8F81-CB1F6C7C5C68} = {ED8079DD-2B06-4030-9F0F-DC548F98E1C4}
{AA366199-0030-4E5A-9EB6-7763BB465245} = {ED8079DD-2B06-4030-9F0F-DC548F98E1C4}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {E257E391-8FA8-4FAC-A612-5F9CE36F53D3}
Expand Down
3 changes: 0 additions & 3 deletions Stanford.NLP.NET.sln.DotSettings

This file was deleted.

11 changes: 0 additions & 11 deletions build.cmd

This file was deleted.

Loading
Loading