similar finder for a poem with no cached similars #470
This commit is contained in:
parent
d6dd76b5e0
commit
60898a0be7
@ -1465,6 +1465,15 @@ namespace GanjooRazor.Pages
|
||||
"او",
|
||||
"ما",
|
||||
"شما",
|
||||
"مرا",
|
||||
"ار",
|
||||
"داری",
|
||||
"بیا",
|
||||
"همه",
|
||||
"گو",
|
||||
"مکن",
|
||||
"زد",
|
||||
"گفتم",
|
||||
];
|
||||
wordCounts = wordCounts.Where(w => !stopWords.Contains(w.Word)).Take(100).ToArray();
|
||||
}
|
||||
|
||||
@ -429,6 +429,13 @@
|
||||
</td>
|
||||
<td>
|
||||
<a href="@Html.Raw($"/simi/?v={Uri.EscapeDataString(s.GanjoorMetre.Rhythm)}&a={Model.GanjoorPage.PoetOrCat.Poet.Id}")">@s.GanjoorMetre.Rhythm</a>
|
||||
@if (!string.IsNullOrEmpty(s.RhymeLetters))
|
||||
{
|
||||
<a href="@Html.Raw($"/simi/?v={Uri.EscapeDataString(s.GanjoorMetre.Rhythm)}&g={Uri.EscapeDataString(s.RhymeLetters)}")" role="button" class="cursor-pointer" title="مشابهیابی بر اساس وزن و قافیه">
|
||||
<i class="notranslate noindent-info-button rhyming-poems"></i>
|
||||
</a>
|
||||
}
|
||||
|
||||
@if (Model.LoggedIn)
|
||||
{
|
||||
<a href="/User/Section?poemId=@Model.GanjoorPage.Id&index=@s.Index#metre" role="button" class="cursor-pointer" title="ویرایش وزن">
|
||||
|
||||
Loading…
Reference in New Issue
Block a user