-
Notifications
You must be signed in to change notification settings - Fork 74
v0.2.52..v0.2.53 changeset ToEnglishTranslateStringDistance.cpp
Garret Voltz edited this page Feb 12, 2020
·
1 revision
diff --git a/hoot-core/src/main/cpp/hoot/core/language/ToEnglishTranslateStringDistance.cpp b/hoot-core/src/main/cpp/hoot/core/language/ToEnglishTranslateStringDistance.cpp
index e1a5f10..b65c8c0 100644
--- a/hoot-core/src/main/cpp/hoot/core/language/ToEnglishTranslateStringDistance.cpp
+++ b/hoot-core/src/main/cpp/hoot/core/language/ToEnglishTranslateStringDistance.cpp
@@ -22,7 +22,7 @@
* This will properly maintain the copyright information. DigitalGlobe
* copyrights will be updated automatically.
*
- * @copyright Copyright (C) 2015, 2017, 2018, 2019 DigitalGlobe (http://www.digitalglobe.com/)
+ * @copyright Copyright (C) 2015, 2017, 2018, 2019, 2020 DigitalGlobe (http://www.digitalglobe.com/)
*/
#include "ToEnglishTranslateStringDistance.h"
@@ -46,11 +46,11 @@ _tokenize(true),
_translateAll(true),
/* Really, the translator implementation should always be passed into this class instead of
* hardcoded as is done here. Only allowing the passing of the translator in as part of #2328 was
- going to require a significant amount of work in hoot-js to support scripts like PoiGeneric.js.
+ going to require a significant amount of work in hoot-js to support scripts like Poi.js.
So instead, since currently only poi/poly and implicit tagging expect to use anything other than
ToEnglishDictionaryTranslator and they populate this class with a translator implemenation, the
default is hardcoded. That supports cases where the caller doesn't specify a translator
- (PoiGeneric.js, some classifiers, etc.). For now, it works.
+ (Poi.js, some classifiers, etc.). For now, it works.
*/
_translator(std::shared_ptr<ToEnglishDictionaryTranslator>(new ToEnglishDictionaryTranslator()))
{