Method FindMostCommonWord
FindMostCommonWord(IEnumerable<string>, float)
Finds the most common word across a set of names.
Declaration
public static string FindMostCommonWord(IEnumerable<string> names, float minRatio = 0.75)
Parameters
| Type | Name | Description |
|---|---|---|
| IEnumerable<string> | names | Names to analyze. |
| float | minRatio | Minimum ratio of occurrences required. |
Returns
| Type | Description |
|---|---|
| string | The most common word or null if the threshold is not met. |