#268 making short poems without probable rhymes dismissed

This commit is contained in:
Hamid Reza Mohammadi 2022-01-07 17:32:52 +03:30
parent b64f63f967
commit d7df9f4dce
2 changed files with 1 additions and 4 deletions

View File

@ -61,9 +61,6 @@ namespace RMuseum.Services.Implementation
if (res.Result == null)
res.Result = "";
if (res.Result == "dismissed")
continue;
GanjoorPoemProbableMetre prometre = new GanjoorPoemProbableMetre()
{
PoemId = id,

View File

@ -3753,7 +3753,7 @@ namespace RMuseum.Services.Implementation
if (!string.IsNullOrEmpty(rhytm))
return new RServiceResult<string>(rhytm);
if (verses.Count < 5)
if (verses.Count < 3)
return new RServiceResult<string>("dismissed");
}