Permalink
Browse files

.net framework 4.5 + new recompiled fparsec, f# 3.0

  • Loading branch information...
1 parent b110bda commit 450910c7890e1294bb98817bdb0e4bdbf22f8b43 @ptmt committed Mar 24, 2012
View
@@ -0,0 +1,6 @@
+#[Preview Version] TinyNLP.fs
+
+Small library for Natural Language Processing written in F#
+
+- Tokenizer with combinators using FParsec
+- Synonymizing with KeVo.database
@@ -41,14 +41,13 @@
<ItemGroup>
<Compile Include="Program.fs" />
<None Include="App.config" />
- <None Include="packages.config" />
</ItemGroup>
<ItemGroup>
- <Reference Include="FParsec, Version=0.9.1.1, Culture=neutral, PublicKeyToken=e5c8267bb3bd1265">
- <Private>True</Private>
+ <Reference Include="FParsec">
+ <HintPath>..\..\mario\lib\FParsec.dll</HintPath>
</Reference>
- <Reference Include="FParsecCS, Version=0.9.1.1, Culture=neutral, PublicKeyToken=cba5b27b2682ab6b">
- <Private>True</Private>
+ <Reference Include="FParsecCS">
+ <HintPath>..\..\mario\lib\FParsecCS.dll</HintPath>
</Reference>
<Reference Include="mscorlib" />
<Reference Include="FSharp.Core, Version=4.3.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -17,7 +17,5 @@ D:\projects\tinynlp.fs\Samples\bin\Debug\en\FSharp.Core.resources.dll
D:\projects\tinynlp.fs\Samples\obj\Debug\TinyNLP.Samples.fsprojResolveAssemblyReference.cache
D:\projects\tinynlp.fs\Samples\obj\Debug\Samples.exe
D:\projects\tinynlp.fs\Samples\obj\Debug\Samples.pdb
-D:\projects\tinynlp.fs\Samples\bin\Debug\FParsecCS.pdb
-D:\projects\tinynlp.fs\Samples\bin\Debug\FParsecCS.xml
-D:\projects\tinynlp.fs\Samples\bin\Debug\FParsec.pdb
-D:\projects\tinynlp.fs\Samples\bin\Debug\FParsec.xml
+D:\projects\tinynlp.fs\Samples\bin\Debug\FParsec.dll
+D:\projects\tinynlp.fs\Samples\bin\Debug\FParsecCS.dll
View
@@ -36,5 +36,5 @@ type WordItem (word : string, wordst : string, suff : string, part : LexicalClas
| None -> empty_string
| _ -> witem.Value.Word
let getRelations (word_ids: int array) =
- word_ids |> Array.map (fun x -> getWord x)
- Kevo.Store.findByQuery<WordItem> query |> List.map (fun x -> getRelations x.Syn)
+ word_ids |> Array.map (fun x -> getWord x) |> List.ofArray
+ Kevo.Store.findByQuery<WordItem> query |> List.collect (fun x -> getRelations x.Syn)
View
@@ -32,12 +32,10 @@
</PropertyGroup>
<ItemGroup>
<Reference Include="FParsec">
- <HintPath>..\totify\packages\FParsec.0.9.1.1\lib\net40\FParsec.dll</HintPath>
- <Private>True</Private>
+ <HintPath>..\mario\lib\FParsec.dll</HintPath>
</Reference>
<Reference Include="FParsecCS">
- <HintPath>..\totify\packages\FParsec.0.9.1.1\lib\net40\FParsecCS.dll</HintPath>
- <Private>True</Private>
+ <HintPath>..\mario\lib\FParsecCS.dll</HintPath>
</Reference>
<Reference Include="Kevo.Core">
<HintPath>..\kevo\Kevo.Core\bin\Debug\Kevo.Core.dll</HintPath>
@@ -63,6 +61,27 @@
<PropertyGroup>
<MinimumVisualStudioVersion Condition="'$(MinimumVisualStudioVersion)' == ''">11</MinimumVisualStudioVersion>
</PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x64' ">
+ <DebugSymbols>true</DebugSymbols>
+ <DebugType>full</DebugType>
+ <Optimize>false</Optimize>
+ <Tailcalls>false</Tailcalls>
+ <OutputPath>bin\Debug\</OutputPath>
+ <DefineConstants>DEBUG;TRACE</DefineConstants>
+ <WarningLevel>3</WarningLevel>
+ <DocumentationFile>bin\Debug\TinyNLP.fs.XML</DocumentationFile>
+ <PlatformTarget>AnyCPU</PlatformTarget>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x64' ">
+ <DebugType>pdbonly</DebugType>
+ <Optimize>true</Optimize>
+ <Tailcalls>true</Tailcalls>
+ <OutputPath>bin\Release\</OutputPath>
+ <DefineConstants>TRACE</DefineConstants>
+ <WarningLevel>3</WarningLevel>
+ <DocumentationFile>bin\Release\TinyNLP.fs.XML</DocumentationFile>
+ <PlatformTarget>x64</PlatformTarget>
+ </PropertyGroup>
<Import Project="$(MSBuildExtensionsPath32)\..\Microsoft SDKs\F#\3.0\Framework\v4.0\Microsoft.FSharp.Targets" Condition=" Exists('$(MSBuildExtensionsPath32)\..\Microsoft SDKs\F#\3.0\Framework\v4.0\Microsoft.FSharp.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.
View
@@ -1,5 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
- <package id="FParsec" version="0.9.1.1" />
<package id="protobuf-net" version="2.0.0.480" />
</packages>

0 comments on commit 450910c

Please sign in to comment.