diff --git a/.gitattributes b/.gitattributes
new file mode 100644
index 0000000..1ff0c42
--- /dev/null
+++ b/.gitattributes
@@ -0,0 +1,63 @@
+###############################################################################
+# Set default behavior to automatically normalize line endings.
+###############################################################################
+* text=auto
+
+###############################################################################
+# Set default behavior for command prompt diff.
+#
+# This is need for earlier builds of msysgit that does not have it on by
+# default for csharp files.
+# Note: This is only used by command line
+###############################################################################
+#*.cs diff=csharp
+
+###############################################################################
+# Set the merge driver for project and solution files
+#
+# Merging from the command prompt will add diff markers to the files if there
+# are conflicts (Merging from VS is not affected by the settings below, in VS
+# the diff markers are never inserted). Diff markers may cause the following
+# file extensions to fail to load in VS. An alternative would be to treat
+# these files as binary and thus will always conflict and require user
+# intervention with every merge. To do so, just uncomment the entries below
+###############################################################################
+#*.sln merge=binary
+#*.csproj merge=binary
+#*.vbproj merge=binary
+#*.vcxproj merge=binary
+#*.vcproj merge=binary
+#*.dbproj merge=binary
+#*.fsproj merge=binary
+#*.lsproj merge=binary
+#*.wixproj merge=binary
+#*.modelproj merge=binary
+#*.sqlproj merge=binary
+#*.wwaproj merge=binary
+
+###############################################################################
+# behavior for image files
+#
+# image files are treated as binary by default.
+###############################################################################
+#*.jpg binary
+#*.png binary
+#*.gif binary
+
+###############################################################################
+# diff behavior for common document formats
+#
+# Convert binary document formats to text before diffing them. This feature
+# is only available from the command line. Turn it on by uncommenting the
+# entries below.
+###############################################################################
+#*.doc diff=astextplain
+#*.DOC diff=astextplain
+#*.docx diff=astextplain
+#*.DOCX diff=astextplain
+#*.dot diff=astextplain
+#*.DOT diff=astextplain
+#*.pdf diff=astextplain
+#*.PDF diff=astextplain
+#*.rtf diff=astextplain
+#*.RTF diff=astextplain
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..39fd91c
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,184 @@
+## Ignore Visual Studio temporary files, build results, and
+## files generated by popular Visual Studio add-ons.
+
+# User-specific files
+*.suo
+*.user
+*.sln.docstates
+
+# Build results
+
+[Dd]ebug/
+[Rr]elease/
+x64/
+build/
+[Bb]in/
+[Oo]bj/
+
+# Enable "build/" folder in the NuGet Packages folder since NuGet packages use it for MSBuild targets
+!packages/*/build/
+
+# MSTest test Results
+[Tt]est[Rr]esult*/
+[Bb]uild[Ll]og.*
+
+*_i.c
+*_p.c
+*.ilk
+*.meta
+*.obj
+*.pch
+*.pdb
+*.pgc
+*.pgd
+*.rsp
+*.sbr
+*.tlb
+*.tli
+*.tlh
+*.tmp
+*.tmp_proj
+*.log
+*.vspscc
+*.vssscc
+.builds
+*.pidb
+*.log
+*.scc
+
+# Visual C++ cache files
+ipch/
+*.aps
+*.ncb
+*.opensdf
+*.sdf
+*.cachefile
+
+# Visual Studio profiler
+*.psess
+*.vsp
+*.vspx
+
+# Guidance Automation Toolkit
+*.gpState
+
+# ReSharper is a .NET coding add-in
+_ReSharper*/
+*.[Rr]e[Ss]harper
+
+# TeamCity is a build add-in
+_TeamCity*
+
+# DotCover is a Code Coverage Tool
+*.dotCover
+
+# NCrunch
+*.ncrunch*
+.*crunch*.local.xml
+
+# Installshield output folder
+[Ee]xpress/
+
+# DocProject is a documentation generator add-in
+DocProject/buildhelp/
+DocProject/Help/*.HxT
+DocProject/Help/*.HxC
+DocProject/Help/*.hhc
+DocProject/Help/*.hhk
+DocProject/Help/*.hhp
+DocProject/Help/Html2
+DocProject/Help/html
+
+# Click-Once directory
+publish/
+
+# Publish Web Output
+*.Publish.xml
+
+# Enable nuget.exe in the .nuget folder (though normally executables are not tracked)
+!.nuget/NuGet.exe
+
+# Windows Azure Build Output
+csx
+*.build.csdef
+
+# Windows Store app package directory
+AppPackages/
+
+# Others
+sql/
+*.Cache
+ClientBin/
+[Ss]tyle[Cc]op.*
+~$*
+*~
+*.dbmdl
+*.[Pp]ublish.xml
+*.pfx
+*.publishsettings
+
+# RIA/Silverlight projects
+Generated_Code/
+
+# Backup & report files from converting an old project file to a newer
+# Visual Studio version. Backup files are not needed, because we have git ;-)
+_UpgradeReport_Files/
+Backup*/
+UpgradeLog*.XML
+UpgradeLog*.htm
+
+# SQL Server files
+App_Data/*.mdf
+App_Data/*.ldf
+
+
+#LightSwitch generated files
+GeneratedArtifacts/
+_Pvt_Extensions/
+ModelManifest.xml
+
+# =========================
+# Windows detritus
+# =========================
+
+# Windows image file caches
+Thumbs.db
+ehthumbs.db
+
+# Folder config file
+Desktop.ini
+
+# Recycle Bin used on file shares
+$RECYCLE.BIN/
+
+# Mac desktop service store files
+.DS_Store
+
+# ===================================================
+# Exclude F# project specific directories and files
+# ===================================================
+
+# NuGet Packages Directory
+packages/
+
+# Generated documentation folder
+docs/output/
+
+# Temp folder used for publishing docs
+temp/
+
+# Test results produced by build
+TestResults.xml
+
+# Nuget outputs
+nuget/*.nupkg
+
+# ===================================================
+# Project specific directories and files
+# ===================================================
+
+# Download folder used for origin Stanford archives
+src/Download
+
+# Secret key
+src/Stanford.NLP.snk
\ No newline at end of file
diff --git a/.nuget/NuGet.Config b/.nuget/NuGet.Config
new file mode 100644
index 0000000..67f8ea0
--- /dev/null
+++ b/.nuget/NuGet.Config
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.nuget/NuGet.exe b/.nuget/NuGet.exe
new file mode 100644
index 0000000..2c93698
Binary files /dev/null and b/.nuget/NuGet.exe differ
diff --git a/.nuget/NuGet.targets b/.nuget/NuGet.targets
new file mode 100644
index 0000000..83fe906
--- /dev/null
+++ b/.nuget/NuGet.targets
@@ -0,0 +1,136 @@
+
+
+
+ $(MSBuildProjectDirectory)\..\
+
+
+ false
+
+
+ false
+
+
+ true
+
+
+ false
+
+
+
+
+
+
+
+
+
+
+ $([System.IO.Path]::Combine($(SolutionDir), ".nuget"))
+ $([System.IO.Path]::Combine($(ProjectDir), "packages.config"))
+
+
+
+
+ $(SolutionDir).nuget
+ packages.config
+
+
+
+
+ $(NuGetToolsPath)\NuGet.exe
+ @(PackageSource)
+
+ "$(NuGetExePath)"
+ mono --runtime=v4.0.30319 $(NuGetExePath)
+
+ $(TargetDir.Trim('\\'))
+
+ -RequireConsent
+ -NonInteractive
+
+ "$(SolutionDir) "
+ "$(SolutionDir)"
+
+
+ $(NuGetCommand) install "$(PackagesConfig)" -source "$(PackageSources)" $(NonInteractiveSwitch) $(RequireConsentSwitch) -solutionDir $(PaddedSolutionDir)
+ $(NuGetCommand) pack "$(ProjectPath)" -Properties "Configuration=$(Configuration);Platform=$(Platform)" $(NonInteractiveSwitch) -OutputDirectory "$(PackageOutputDir)" -symbols
+
+
+
+ RestorePackages;
+ $(BuildDependsOn);
+
+
+
+
+ $(BuildDependsOn);
+ BuildPackage;
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.nuget/packages.config b/.nuget/packages.config
new file mode 100644
index 0000000..51bbcbe
--- /dev/null
+++ b/.nuget/packages.config
@@ -0,0 +1,5 @@
+
+
+
+
+
\ No newline at end of file
diff --git a/LICENSE.txt b/LICENSE.txt
new file mode 100644
index 0000000..c7cde3a
--- /dev/null
+++ b/LICENSE.txt
@@ -0,0 +1,21 @@
+Copyright (c) 2007-2014 Johan Hall, Jens Nilsson and Joakim Nivre
+
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
+
+ * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
+ * Neither the name of MaltParser nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
+CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
diff --git a/MaltParser.sln b/MaltParser.sln
new file mode 100644
index 0000000..0752a50
--- /dev/null
+++ b/MaltParser.sln
@@ -0,0 +1,51 @@
+
+Microsoft Visual Studio Solution File, Format Version 12.00
+# Visual Studio 2013
+VisualStudioVersion = 12.0.30501.0
+MinimumVisualStudioVersion = 10.0.40219.1
+Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".nuget", ".nuget", "{1F1B4F0F-2998-4D74-865B-9122611C2B14}"
+ ProjectSection(SolutionItems) = preProject
+ .nuget\NuGet.Config = .nuget\NuGet.Config
+ .nuget\NuGet.exe = .nuget\NuGet.exe
+ EndProjectSection
+EndProject
+Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "docs", "docs", "{A6A6AF7D-D6E3-442D-9B1E-58CC91879BE1}"
+EndProject
+Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "build", "build", "{BF60BC93-E09B-4E5F-9D85-95A519479D54}"
+ ProjectSection(SolutionItems) = preProject
+ build.fsx = build.fsx
+ README.md = README.md
+ RELEASE_NOTES.md = RELEASE_NOTES.md
+ EndProjectSection
+EndProject
+Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "tools", "tools", "{83F16175-43B1-4C90-A1EE-8E351C33435D}"
+ ProjectSection(SolutionItems) = preProject
+ docs\tools\generate.fsx = docs\tools\generate.fsx
+ docs\tools\templates\template.cshtml = docs\tools\templates\template.cshtml
+ EndProjectSection
+EndProject
+Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "content", "content", "{8E6D5255-776D-4B61-85F9-73C37AA1FB9A}"
+ ProjectSection(SolutionItems) = preProject
+ docs\content\index.fsx = docs\content\index.fsx
+ docs\content\MaltParser.fsx = docs\content\MaltParser.fsx
+ EndProjectSection
+EndProject
+Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{FC1213CC-EF87-45CA-95C0-56D378BE2B84}"
+ ProjectSection(SolutionItems) = preProject
+ src\Build.bat = src\Build.bat
+ src\BuildAll.bat = src\BuildAll.bat
+ src\Core.fsx = src\Core.fsx
+ src\MaltParser.fsx = src\MaltParser.fsx
+ src\MaltParser.NET.snk = src\MaltParser.NET.snk
+ src\MaltParser.nuspec = src\MaltParser.nuspec
+ EndProjectSection
+EndProject
+Global
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
+ EndGlobalSection
+ GlobalSection(NestedProjects) = preSolution
+ {83F16175-43B1-4C90-A1EE-8E351C33435D} = {A6A6AF7D-D6E3-442D-9B1E-58CC91879BE1}
+ {8E6D5255-776D-4B61-85F9-73C37AA1FB9A} = {A6A6AF7D-D6E3-442D-9B1E-58CC91879BE1}
+ EndGlobalSection
+EndGlobal
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..4fcfb5f
--- /dev/null
+++ b/README.md
@@ -0,0 +1,2 @@
+MaltParser for .NET
+===================
\ No newline at end of file
diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md
new file mode 100644
index 0000000..03c8a92
--- /dev/null
+++ b/RELEASE_NOTES.md
@@ -0,0 +1,2 @@
+#### 1.8.0 - May 31 2014
+* Initial release
\ No newline at end of file
diff --git a/build.cmd b/build.cmd
new file mode 100644
index 0000000..9528201
--- /dev/null
+++ b/build.cmd
@@ -0,0 +1,7 @@
+@echo off
+cls
+if not exist packages\FAKE\tools\Fake.exe (
+ .nuget\nuget.exe install FAKE -OutputDirectory packages -ExcludeVersion
+)
+packages\FAKE\tools\FAKE.exe build.fsx %*
+pause
diff --git a/build.fsx b/build.fsx
new file mode 100644
index 0000000..2bd2102
--- /dev/null
+++ b/build.fsx
@@ -0,0 +1,103 @@
+// --------------------------------------------------------------------------------------
+// FAKE build script
+// --------------------------------------------------------------------------------------
+
+#r @"packages/FAKE/tools/FakeLib.dll"
+open Fake
+open Fake.Git
+open Fake.AssemblyInfoFile
+open Fake.ReleaseNotesHelper
+open System
+
+// --------------------------------------------------------------------------------------
+// Provide project-specific details
+
+// File system information
+// (.sln is built during the building process)
+let solutionFile = "MartParser"
+
+// Git configuration (used for publishing documentation in gh-pages branch)
+// The profile where the project is posted
+let gitHome = "https://github.com/sergey-tihon"
+// The name of the project on GitHub
+let gitName = "MaltParser.NET"
+
+// --------------------------------------------------------------------------------------
+
+// Read additional information from the release notes document
+Environment.CurrentDirectory <- __SOURCE_DIRECTORY__
+let release = parseReleaseNotes (IO.File.ReadAllLines "RELEASE_NOTES.md")
+
+// --------------------------------------------------------------------------------------
+// Clean build results & restore NuGet packages
+
+Target "RestorePackages" RestorePackages
+
+Target "RestoreBinaries" (fun _ ->
+ !! "src/temp/ikvm/*.dll"
+ |> CopyFiles "bin"
+)
+
+Target "Clean" (fun _ ->
+ CleanDirs ["bin"; "temp"]
+)
+
+Target "CleanDocs" (fun _ ->
+ CleanDirs ["docs/output"]
+)
+
+// --------------------------------------------------------------------------------------
+// Build library & test project
+
+Target "Build" (fun _ ->
+ { BaseDirectory = __SOURCE_DIRECTORY__
+ Includes = [ solutionFile + ".sln"]
+ Excludes = [] }
+ |> MSBuildRelease "" "Rebuild"
+ |> ignore
+)
+
+// --------------------------------------------------------------------------------------
+// Generate the documentation
+
+Target "GenerateDocs" (fun _ ->
+ executeFSIWithArgs "docs/tools" "generate.fsx" ["--define:RELEASE"] [] |> ignore
+)
+
+// --------------------------------------------------------------------------------------
+// Release Scripts
+
+Target "ReleaseDocs" (fun _ ->
+ let ghPages = "gh-pages"
+ let ghPagesLocal = "temp/gh-pages"
+ Repository.clone "temp" (gitHome + "/" + gitName + ".git") ghPages
+ Branches.checkoutBranch ghPagesLocal ghPages
+ fullclean ghPagesLocal
+ CopyRecursive "docs/output" ghPagesLocal true |> printfn "%A"
+ CommandHelper.runSimpleGitCommand ghPagesLocal "add ." |> printfn "%s"
+ let cmd = sprintf """commit -a -m "Update generated documentation for version %s""" release.NugetVersion
+ CommandHelper.runSimpleGitCommand ghPagesLocal cmd |> printfn "%s"
+ Branches.push ghPagesLocal
+)
+
+Target "Release" DoNothing
+
+// --------------------------------------------------------------------------------------
+// Run all targets by default. Invoke 'build ' to override
+
+Target "All" DoNothing
+
+"Clean"
+ ==> "RestorePackages"
+ ==> "RestoreBinaries"
+ //==> "Build"
+ //==> "RunTests"
+ ==> "All"
+
+"All"
+ ==> "CleanDocs"
+ ==> "GenerateDocs"
+ ==> "ReleaseDocs"
+ ==> "Release"
+
+RunTargetOrDefault "All"
diff --git a/docs/content/MaltParser.fsx b/docs/content/MaltParser.fsx
new file mode 100644
index 0000000..2b7ed06
--- /dev/null
+++ b/docs/content/MaltParser.fsx
@@ -0,0 +1,58 @@
+(*** hide ***)
+// This block of code is omitted in the generated HTML documentation. Use
+// it to define helpers that you do not want to show in the documentation.
+#I "../../bin"
+#I "../../src/temp/ikvm-7.4.5196.0/bin/"
+
+(**
+Parse sentences with MaltParser
+===============================================
+
+This example shows how to parse a sentence with MaltParser by first initialize a parser model.
+
+To run this example requires that you have created `swemalt-1.7.2i.mco`.
+
+You can download model from [pre-trainted models page](http://www.maltparser.org/mco/mco.html).
+
+*)
+#r "maltparser-1.8.dll"
+#r "IKVM.OpenJDK.Core.dll"
+
+open java.io
+open java.net
+
+open org.maltparser.concurrent
+open org.maltparser.concurrent.graph
+
+// Loading the Swedish model swemalt-1.7.2
+let swemaltMiniModelURL = File(__SOURCE_DIRECTORY__ + "/../../bin/swemalt-1.7.2.mco").toURI().toURL()
+let model = ConcurrentMaltParserService.initializeParserModel(swemaltMiniModelURL)
+
+// Creates an array of tokens, which contains the Swedish sentence
+// 'Samtidigt får du högsta sparränta plus en skattefri sparpremie.'
+// in the CoNLL data format.
+let tokens =
+ [|"1\tSamtidigt\t_\tAB\tAB\t_"
+ "2\tfår\t_\tVB\tVB\tPRS|AKT"
+ "3\tdu\t_\tPN\tPN\tUTR|SIN|DEF|SUB"
+ "4\thögsta\t_\tJJ\tJJ\tSUV|UTR/NEU|SIN/PLU|DEF|NOM"
+ "5\tsparränta\t_\tNN\tNN\tUTR|SIN|IND|NOM"
+ "6\tplus\t_\tAB\tAB\t_"
+ "7\ten\t_\tDT\tDT\tUTR|SIN|IND"
+ "8\tskattefri\t_\tJJ\tJJ\tPOS|UTR|SIN|IND|NOM"
+ "9\tsparpremie\t_\tNN\tNN\tUTR|SIN|IND|NOM"
+ "10\t.\t_\tMAD\tMAD\t_"|]
+
+let outputGraph = model.parse(tokens)
+printfn "%A" outputGraph
+
+// [fsi:1 Samtidigt _ AB AB _ 2 TA _ _]
+// [fsi:2 får _ VB VB PRS|AKT 0 ROOT _ _]
+// [fsi:3 du _ PN PN UTR|SIN|DEF|SUB 2 SS _ _]
+// [fsi:4 högsta _ JJ JJ SUV|UTR/NEU|SIN/PLU|DEF|NOM 5 AT _ _]
+// [fsi:5 sparränta _ NN NN UTR|SIN|IND|NOM 2 OO _ _]
+// [fsi:6 plus _ AB AB _ 5 ET _ _]
+// [fsi:7 en _ DT DT UTR|SIN|IND 9 DT _ _]
+// [fsi:8 skattefri _ JJ JJ POS|UTR|SIN|IND|NOM 9 AT _ _]
+// [fsi:9 sparpremie _ NN NN UTR|SIN|IND|NOM 6 PA _ _]
+// [fsi:10 . _ MAD MAD _ 2 IP _ _]
\ No newline at end of file
diff --git a/docs/content/index.fsx b/docs/content/index.fsx
new file mode 100644
index 0000000..25fa0e2
--- /dev/null
+++ b/docs/content/index.fsx
@@ -0,0 +1,48 @@
+(*** hide ***)
+// This block of code is omitted in the generated HTML documentation. Use
+// it to define helpers that you do not want to show in the documentation.
+#I "../../bin"
+
+(**
+MaltParser for .NET
+===================
+
+`MaltParser` is a system for data-driven dependency parsing, which can be used to induce a parsing model from treebank
+data and to parse new data using an induced model. `MaltParser` is developed by `Johan Hall`, `Jens Nilsson` and `Joakim Nivre`
+at Växjö University and Uppsala University, Sweden.
+
+
+`MaltParser` implements nine deterministic parsing algorithms:
+
+* Nivre arc-eager
+* Nivre arc-standard
+* Covington non-projective
+* Covington projective
+* Stack projective
+* Stack swap-eager
+* Stack swap-lazy
+* Planar (implemented by `Carlos Gómez-Rodríguez`)
+* 2-planar (implemented by `Carlos Gómez-Rodríguez`)
+
+`MaltParser` allows users to define feature models of arbitrary complexity.
+
+`MaltParser` currently includes two machine learning packages (thanks to `Sofia Cassel` for her work on LIBLINEAR):
+
+* `LIBSVM` - A Library for Support Vector Machines (Chang, 2001).
+* `LIBLINEAR` -- A Library for Large Linear Classification (Fan et al., 2008).
+
+`MaltParser` can also be turned into a phrase structure parser that recovers both continuous and discontinuous phrases
+with both phrase labels and grammatical functions (Hall and Nivre, 2008a; Hall and Nivre, 2008b).
+
+