Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
JimLiu committed May 9, 2013
1 parent 4e6535d commit a7d1d33
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,21 @@ https://nuget.org/packages/Lucene.Net.Analysis.MMSeg/


# 使用 #
``Analyzer analyzer = new MMSegAnalyzer();``
一共三种搜索模式供选择:

SimpleAnalyzer
```csharp
Analyzer analyzer = new SimpleAnalyzer();
```

MaxWordAnalyzer
```csharp
Analyzer analyzer = new MaxWordAnalyzer();
```

ComplexAnalyzer
```csharp
Analyzer analyzer = new ComplexAnalyzer();
```

具体使用方法,请参考代码中的示例和lucene.net的文档

0 comments on commit a7d1d33

Please sign in to comment.