-
Notifications
You must be signed in to change notification settings - Fork 71
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/feature23/StringSimilarit…
- Loading branch information
Showing
23 changed files
with
171 additions
and
855 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,39 +1,7 @@ | ||
language: csharp | ||
solution: F23.StringSimilarity.sln | ||
install: | ||
- nuget restore F23.StringSimilarity.sln | ||
- nuget install xunit.runner.console -Version 2.1.0 -OutputDirectory testrunner | ||
# - nuget install coveralls.io -Version 1.3.4 -OutputDirectory coveralls | ||
|
||
# - CURRENT_WORKING_DIR=$(pwd) | ||
|
||
# - sudo apt-get install gtk-sharp2 | ||
# - curl -sS https://api.nuget.org/packages/mono.cecil.0.9.5.4.nupkg > /tmp/mono.cecil.0.9.5.4.nupkg.zip | ||
# - unzip /tmp/mono.cecil.0.9.5.4.nupkg.zip -d /tmp/cecil | ||
# - cp /tmp/cecil/lib/net40/Mono.Cecil.dll . | ||
# - cp /tmp/cecil/lib/net40/Mono.Cecil.dll /tmp/cecil/ | ||
# - git clone --depth=50 git://github.com/csMACnz/monocov.git ../../csMACnz/monocov | ||
# - cd ../../csMACnz/monocov | ||
# - cp /tmp/cecil/Mono.Cecil.dll . | ||
# - ./configure | ||
# - make | ||
# - sudo make install | ||
# - cd $CURRENT_WORKING_DIR | ||
|
||
mono: none | ||
dotnet: 2.0.0 | ||
dist: trusty | ||
script: | ||
- xbuild /p:Configuration=Release F23.StringSimilarity.sln | ||
- mono ./testrunner/xunit.runner.console.2.1.0/tools/xunit.console.exe ./test/F23.StringSimilarity.Tests/bin/Release/F23.StringSimilarity.Tests.dll | ||
|
||
# - export LD_LIBRARY_PATH=/usr/local/lib | ||
# - mono --debug --profile=monocov:outfile=monocovCoverage.cov,+[F23.StringSimilarity],+[F23.StringSimilarity.Tests] ./testrunner/xunit.runner.console.2.1.0/tools/xunit.console.exe ./test/F23.StringSimilarity.Tests/bin/Release/F23.StringSimilarity.Tests.dll | ||
# - monocov --export-xml=monocovCoverage monocovCoverage.cov | ||
# - REPO_COMMIT_AUTHOR=$(git show -s --pretty=format:"%cn") | ||
# - REPO_COMMIT_AUTHOR_EMAIL=$(git show -s --pretty=format:"%ce") | ||
# - REPO_COMMIT_MESSAGE=$(git show -s --pretty=format:"%s") | ||
# - echo $TRAVIS_COMMIT | ||
# - echo $TRAVIS_BRANCH | ||
# - echo $REPO_COMMIT_AUTHOR | ||
# - echo $REPO_COMMIT_AUTHOR_EMAIL | ||
# - echo $REPO_COMMIT_MESSAGE | ||
# - echo $TRAVIS_JOB_ID | ||
# - mono ./coveralls/coveralls.io.1.3.4/tools/coveralls.net.exe --monocov -i ./monocovCoverage --commitId $TRAVIS_COMMIT --commitBranch $TRAVIS_BRANCH --commitAuthor "$REPO_COMMIT_AUTHOR" --commitEmail "$REPO_COMMIT_AUTHOR_EMAIL" --commitMessage "$REPO_COMMIT_MESSAGE" --jobId $TRAVIS_JOB_ID --serviceName "travis-ci" --useRelativePaths | ||
- dotnet build -c Release src/F23.StringSimilarity/F23.StringSimilarity.csproj | ||
- dotnet test test/F23.StringSimilarity.Tests/F23.StringSimilarity.Tests.csproj |
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 was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,77 +1,23 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" /> | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
<PropertyGroup> | ||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> | ||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> | ||
<ProjectGuid>{FA27327B-BCCC-46C7-8EED-BBD1ECF4BF53}</ProjectGuid> | ||
<OutputType>Library</OutputType> | ||
<AppDesignerFolder>Properties</AppDesignerFolder> | ||
<RootNamespace>F23.StringSimilarity</RootNamespace> | ||
<AssemblyName>F23.StringSimilarity</AssemblyName> | ||
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion> | ||
<FileAlignment>512</FileAlignment> | ||
<TargetFramework>netstandard1.0</TargetFramework> | ||
<PackageId>F23.StringSimilarity</PackageId> | ||
<PackageVersion>3.0.0</PackageVersion> | ||
<Title>StringSimilarity.NET</Title> | ||
<Authors>James Blair, Paul Irwin</Authors> | ||
<Copyright>Copyright 2016 feature[23]</Copyright> | ||
<Description>A .NET port of java-string-similarity.</Description> | ||
<Summary>A .NET port of java-string-similarity (https://github.com/tdebatty/java-string-similarity). A library implementing different string similarity and distance measures. Several algorithms (including Levenshtein edit distance and sibblings, Jaro-Winkler, Longest Common Subsequence, cosine similarity etc.) are currently implemented.</Summary> | ||
<PackageProjectUrl>https://github.com/feature23/StringSimilarity.NET</PackageProjectUrl> | ||
<PackageLicenseUrl>https://raw.githubusercontent.com/feature23/StringSimilarity.NET/master/LICENSE</PackageLicenseUrl> | ||
<PackageIconUrl>https://raw.githubusercontent.com/feature23/StringSimilarity.NET/master/logo.png</PackageIconUrl> | ||
<PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance> | ||
<PackageTags>string similarity distance cosine damerau jaccard jaro-winkler levenshtein ngram qgram shingle sift4</PackageTags> | ||
</PropertyGroup> | ||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> | ||
<DebugSymbols>true</DebugSymbols> | ||
<DebugType>full</DebugType> | ||
<Optimize>false</Optimize> | ||
<OutputPath>bin\Debug\</OutputPath> | ||
<DefineConstants>DEBUG;TRACE</DefineConstants> | ||
<ErrorReport>prompt</ErrorReport> | ||
<WarningLevel>4</WarningLevel> | ||
|
||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'"> | ||
<DocumentationFile>bin\Release\netstandard1.0\F23.StringSimilarity.xml</DocumentationFile> | ||
</PropertyGroup> | ||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> | ||
<DebugType>pdbonly</DebugType> | ||
<Optimize>true</Optimize> | ||
<OutputPath>bin\Release\</OutputPath> | ||
<DefineConstants>TRACE</DefineConstants> | ||
<ErrorReport>prompt</ErrorReport> | ||
<WarningLevel>4</WarningLevel> | ||
</PropertyGroup> | ||
<ItemGroup> | ||
<Reference Include="System" /> | ||
<Reference Include="System.Core" /> | ||
<Reference Include="System.Xml.Linq" /> | ||
<Reference Include="System.Data.DataSetExtensions" /> | ||
<Reference Include="Microsoft.CSharp" /> | ||
<Reference Include="System.Data" /> | ||
<Reference Include="System.Net.Http" /> | ||
<Reference Include="System.Xml" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<Compile Include="Cosine.cs" /> | ||
<Compile Include="Damerau.cs" /> | ||
<Compile Include="Experimental\Sift4.cs" /> | ||
<Compile Include="ICharacterSubstitution.cs" /> | ||
<Compile Include="Interfaces\IMetricStringDistance.cs" /> | ||
<Compile Include="Interfaces\INormalizedStringDistance.cs" /> | ||
<Compile Include="Interfaces\INormalizedStringSimilarity.cs" /> | ||
<Compile Include="Interfaces\IStringDistance.cs" /> | ||
<Compile Include="Interfaces\IStringSimilarity.cs" /> | ||
<Compile Include="Jaccard.cs" /> | ||
<Compile Include="JaroWinkler.cs" /> | ||
<Compile Include="Levenshtein.cs" /> | ||
<Compile Include="LongestCommonSubsequence.cs" /> | ||
<Compile Include="MetricLCS.cs" /> | ||
<Compile Include="NGram.cs" /> | ||
<Compile Include="NormalizedLevenshtein.cs" /> | ||
<Compile Include="OptimalStringAlignment.cs" /> | ||
<Compile Include="Properties\AssemblyInfo.cs" /> | ||
<Compile Include="QGram.cs" /> | ||
<Compile Include="ShingleBased.cs" /> | ||
<Compile Include="SorensenDice.cs" /> | ||
<Compile Include="Support\ArrayExtensions.cs" /> | ||
<Compile Include="Utils\SparseBooleanVector.cs" /> | ||
<Compile Include="Utils\SparseIntegerVector.cs" /> | ||
<Compile Include="WeightedLevenshtein.cs" /> | ||
</ItemGroup> | ||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> | ||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it. | ||
Other similar extension points exist, see Microsoft.Common.targets. | ||
<Target Name="BeforeBuild"> | ||
</Target> | ||
<Target Name="AfterBuild"> | ||
</Target> | ||
--> | ||
</Project> | ||
|
||
</Project> |
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
Oops, something went wrong.