lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nightowl...@apache.org
Subject [1/2] lucenenet git commit: Lucene.Net.Analysis.SmartCn.HHMChineseTokenizer: Fixed namespace collision with Icu library.
Date Mon, 11 Sep 2017 08:23:32 GMT
Repository: lucenenet
Updated Branches:
  refs/heads/master c6f930d77 -> 6f8f672b2


Lucene.Net.Analysis.SmartCn.HHMChineseTokenizer: Fixed namespace collision with Icu library.


Project: http://git-wip-us.apache.org/repos/asf/lucenenet/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucenenet/commit/399b1649
Tree: http://git-wip-us.apache.org/repos/asf/lucenenet/tree/399b1649
Diff: http://git-wip-us.apache.org/repos/asf/lucenenet/diff/399b1649

Branch: refs/heads/master
Commit: 399b16499986acfc57dcd9c6cf8c2bd124dbf9ab
Parents: c6f930d
Author: Shad Storhaug <shad@shadstorhaug.com>
Authored: Mon Sep 11 15:09:28 2017 +0700
Committer: Shad Storhaug <shad@shadstorhaug.com>
Committed: Mon Sep 11 15:09:28 2017 +0700

----------------------------------------------------------------------
 src/Lucene.Net.Analysis.SmartCn/HMMChineseTokenizer.cs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucenenet/blob/399b1649/src/Lucene.Net.Analysis.SmartCn/HMMChineseTokenizer.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Analysis.SmartCn/HMMChineseTokenizer.cs b/src/Lucene.Net.Analysis.SmartCn/HMMChineseTokenizer.cs
index 61ca00b..6e54971 100644
--- a/src/Lucene.Net.Analysis.SmartCn/HMMChineseTokenizer.cs
+++ b/src/Lucene.Net.Analysis.SmartCn/HMMChineseTokenizer.cs
@@ -56,7 +56,7 @@ namespace Lucene.Net.Analysis.Cn.Smart
         /// Creates a new <see cref="HMMChineseTokenizer"/>, supplying the <see
cref="Lucene.Net.Util.AttributeSource.AttributeFactory"/>
         /// </summary>
         public HMMChineseTokenizer(AttributeFactory factory, TextReader reader)
-            : base(factory, reader, new IcuBreakIterator(Icu.BreakIterator.UBreakIteratorType.SENTENCE,
CultureInfo.InvariantCulture) { EnableHacks = false })
+            : base(factory, reader, new IcuBreakIterator(global::Icu.BreakIterator.UBreakIteratorType.SENTENCE,
CultureInfo.InvariantCulture) { EnableHacks = false })
         {
             termAtt = AddAttribute<ICharTermAttribute>();
             offsetAtt = AddAttribute<IOffsetAttribute>();


Mime
View raw message