NlpToolkit-ParseTree
1.0.0
See the version list below for details.
dotnet add package NlpToolkit-ParseTree --version 1.0.0
NuGet\Install-Package NlpToolkit-ParseTree -Version 1.0.0
<PackageReference Include="NlpToolkit-ParseTree" Version="1.0.0" />
<PackageVersion Include="NlpToolkit-ParseTree" Version="1.0.0" />
<PackageReference Include="NlpToolkit-ParseTree" />
paket add NlpToolkit-ParseTree --version 1.0.0
#r "nuget: NlpToolkit-ParseTree, 1.0.0"
#:package NlpToolkit-ParseTree@1.0.0
#addin nuget:?package=NlpToolkit-ParseTree&version=1.0.0
#tool nuget:?package=NlpToolkit-ParseTree&version=1.0.0
Detailed Description
TreeBank
Kaydedilmiş ParseTreelerden oluşan bir TreeBank'ı belirli bir klasörden yüklemek için
TreeBank(string folder)
bir klasördeki ağaçlardan ismi belirli bir örüntüye sahip ağaçları yüklemek için
TreeBank(string folder, string pattern)
bir klasördeki ağaçlardan ismi belirli bir örüntüye sahip ve numaraları da belirli bir aralıkta olanları yüklemek için ise
TreeBank(string folder, string pattern, int from, int to)
kullanılır. Örneğin
a = TreeBank("/mypath");
o anda bulunan klasörün altındaki "mypath" klasörünün altındaki ağaçları yüklemek için kullanılır. Aynı klasörün altındaki sadece "train" uzantılı ağaçlar yüklenecekse,
a = TreeBank("/mypath", ".train");
bu ağaçlardan sadece 1 ile 500 arasındaki ağaçlar yüklenecekse de
a = TreeBank("/mypath", ".train", 1, 500);
kullanılır.
TreeBank yüklendikten sonra ağaçlar üstünde gezmek için ise,
for (int i = 0; i < a.size(); i++){
ParseTree p = a.Get(i);
}
gibi bir kod kullanılabilir.
ParseTree
Kaydedilmiş bir ParseTree'yi yüklemek için
ParseTree(string fileName)
kullanılır. Genel olarak tek tek ParseTree yüklemek yerine yukarıda anlatıldığı gibi bir TreeBank yüklemek daha mantıklıdır.
Bir ParseTree'nin düğüm sayısını
int NodeCount()
yaprak sayısını
int LeafCount()
içinde yer alan kelime sayısını da
int WordCount(bool excludeStopWords)
metodları ile bulabiliriz.
Cite
If you use this resource on your research, please cite the following paper:
@inproceedings{yildiz2014constructing,
title={Constructing a {T}urkish-{E}nglish parallel treebank},
author={Y{\i}ld{\i}z, O. T. and Solak, E. and G{\"o}rg{\"u}n, O. and Ehsani, R.},
booktitle={Proceedings of the 52nd Annual Meeting of the Association for Computational Linguistics},
volume={2},
pages={112--117},
year={2014}
}
@incollection{yildiz2015constructing,
title={Constructing a {T}urkish constituency parse treeBank},
author={Y{\i}ld{\i}z, O. T. and Solak, E. and {\c{C}}and{\i}r, {\c{S}}. and Ehsani, R. and G{\"o}rg{\"u}n, O.},
booktitle={Information Sciences and Systems 2015},
pages={339--347},
year={2015},
publisher={Springer}
}
@InProceedings{gorgun16,
author = {O. Gorgun and O. T. Yildiz and E. Solak and R. Ehsani},
title = {{E}nglish-{T}urkish Parallel Treebank with Morphological Annotations and its Use in Tree-based SMT},
booktitle = {International Conference on Pattern Recognition and Methods},
year = {2016},
address = {Rome, Italy},
pages = {510--516}
}
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
| .NET Core | netcoreapp2.2 is compatible. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
-
.NETCoreApp 2.2
- NlpToolkit-DependencyParser (>= 1.0.0)
- NlpToolkit-Dictionary (>= 1.0.1)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on NlpToolkit-ParseTree:
| Package | Downloads |
|---|---|
|
NlpToolkit-AnnotatedTree
Package Description |
|
|
NlpToolkit-SyntacticParser
Package Description |
GitHub repositories
This package is not used by any popular GitHub repositories.