Add support for approximate matching in ue2collider

This commit is contained in:
Anatoly Burakov
2017-02-10 15:42:36 +00:00
committed by Matthew Barr
parent 2de6706df2
commit 4c2b7cc04f
4 changed files with 860 additions and 110 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2015, Intel Corporation
* Copyright (c) 2015-2017, Intel Corporation
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
@@ -51,6 +51,7 @@ struct BoundaryReports;
void findMatches(const ue2::NGHolder &g, const ue2::ReportManager &rm,
const std::string &input,
std::set<std::pair<size_t, size_t>> &matches,
const bool notEod, const bool som, const bool utf8);
const unsigned int max_edit_distance, const bool notEod,
const bool utf8);
#endif // NG_FIND_MATCHES_H