#268 making short poems without probable rhymes dismissed
This commit is contained in:
parent
b64f63f967
commit
d7df9f4dce
@ -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,
|
||||
|
||||
@ -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");
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user