update Matcher API and nuget version (0.0.6 is currently deployed)

This commit is contained in:
Dominic Morin 2018-10-03 17:43:08 -04:00 коммит произвёл Matthew Dixon
Родитель bec8dd5daa
Коммит 633ea3a953
3 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@ -40,7 +40,7 @@ namespace Microsoft.PhoneticMatching.Matchers.ContactMatcher
/// <param name="contacts">List of contacts.</param>
/// <param name="extractContactFields">Delegate to extract contact fields from contact object.</param>
/// <param name="config">Matcher configurations.</param>
public EnContactMatcher(IList<Contact> contacts, Func<Contact, ContactFields> extractContactFields, ContactMatcherConfig config)
public EnContactMatcher(IList<Contact> contacts, Func<Contact, ContactFields> extractContactFields, MatcherConfig config)
: base(config)
{
List<Target<Contact>> nameTargets = new List<Target<Contact>>();

Просмотреть файл

@ -37,7 +37,7 @@ namespace Microsoft.PhoneticMatching.Matchers.PlaceMatcher
/// <param name="places">The places to match against.</param>
/// <param name="placeFieldsExtractor">Transform function from the user provided __Place__ object to __PlaceFields__, an intermediate representation used by the matcher. Defaults to the identity transform.</param>
/// <param name="config">The matcher's configuration object.</param>
public EnPlaceMatcher(IList<Place> places, Func<Place, PlaceFields> placeFieldsExtractor, PlaceMatcherConfig config)
public EnPlaceMatcher(IList<Place> places, Func<Place, PlaceFields> placeFieldsExtractor, MatcherConfig config)
: base(config)
{
var targets = new List<Target<Place>>();

Просмотреть файл

@ -2,7 +2,7 @@
<package >
<metadata>
<id>Microsoft.PhoneticMatching</id>
<version>0.0.5</version>
<version>0.0.7</version>
<authors>Microsoft</authors>
<owners>Microsoft</owners>
<licenseUrl>https://opensource.org/licenses/MIT</licenseUrl>