You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by rm...@apache.org on 2015/02/07 08:38:46 UTC
svn commit: r1658029 [1/5] - in /lucene/dev/trunk/lucene:
analysis/common/src/java/org/apache/lucene/analysis/ar/
analysis/common/src/java/org/apache/lucene/analysis/bg/
analysis/common/src/java/org/apache/lucene/analysis/br/
analysis/common/src/java/o...
Author: rmuir
Date: Sat Feb 7 07:38:44 2015
New Revision: 1658029
URL: http://svn.apache.org/r1658029
Log:
LUCENE-6224: cut over more package.htmls
Added:
lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/ar/package-info.java
- copied, changed from r1657982, lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/ar/package.html
lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/bg/package-info.java
- copied, changed from r1657982, lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/bg/package.html
lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/br/package-info.java
- copied, changed from r1657982, lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/br/package.html
lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/ca/package-info.java
- copied, changed from r1657982, lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/ca/package.html
lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/charfilter/package-info.java
- copied, changed from r1657982, lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/charfilter/package.html
lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/cjk/package-info.java
- copied, changed from r1657982, lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/cjk/package.html
lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/ckb/package-info.java
- copied, changed from r1657982, lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/ckb/package.html
lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/commongrams/package-info.java
- copied, changed from r1657982, lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/commongrams/package.html
lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/compound/hyphenation/package-info.java
- copied, changed from r1657982, lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/compound/hyphenation/package.html
lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/compound/package-info.java
- copied, changed from r1657982, lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/compound/package.html
lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/core/package-info.java
- copied, changed from r1657982, lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/core/package.html
lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/analysis/package-info.java
- copied, changed from r1657982, lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/analysis/package.html
lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/analysis/tokenattributes/package-info.java
- copied, changed from r1657982, lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/analysis/tokenattributes/package.html
lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/codecs/blocktree/package-info.java
- copied, changed from r1657982, lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/codecs/blocktree/package.html
lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/codecs/compressing/package-info.java
- copied, changed from r1657982, lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/codecs/compressing/package.html
lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/codecs/lucene50/package-info.java
- copied, changed from r1657982, lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/codecs/lucene50/package.html
lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/codecs/package-info.java
- copied, changed from r1657982, lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/codecs/package.html
lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/codecs/perfield/package-info.java
- copied, changed from r1657982, lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/codecs/perfield/package.html
lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/document/package-info.java
- copied, changed from r1657982, lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/document/package.html
lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/index/package-info.java
- copied, changed from r1657982, lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/index/package.html
lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/package-info.java
- copied, changed from r1657982, lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/package.html
lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/search/payloads/package-info.java
- copied, changed from r1657982, lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/search/payloads/package.html
lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/search/similarities/package-info.java
- copied, changed from r1657982, lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/search/similarities/package.html
lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/search/spans/package-info.java
- copied, changed from r1657982, lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/search/spans/package.html
lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/store/package-info.java
- copied, changed from r1657982, lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/store/package.html
lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/util/automaton/package-info.java
- copied, changed from r1657982, lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/util/automaton/package.html
lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/util/fst/package-info.java
- copied, changed from r1657982, lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/util/fst/package.html
lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/util/mutable/package-info.java
- copied, changed from r1657982, lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/util/mutable/package.html
lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/util/package-info.java
- copied, changed from r1657982, lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/util/package.html
lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/util/packed/package-info.java
- copied, changed from r1657982, lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/util/packed/package.html
lucene/dev/trunk/lucene/test-framework/src/java/org/apache/lucene/codecs/asserting/package-info.java
- copied, changed from r1657982, lucene/dev/trunk/lucene/test-framework/src/java/org/apache/lucene/codecs/asserting/package.html
lucene/dev/trunk/lucene/test-framework/src/java/org/apache/lucene/codecs/cheapbastard/package-info.java
- copied, changed from r1657982, lucene/dev/trunk/lucene/test-framework/src/java/org/apache/lucene/codecs/cheapbastard/package.html
lucene/dev/trunk/lucene/test-framework/src/java/org/apache/lucene/codecs/compressing/dummy/package-info.java
- copied, changed from r1657982, lucene/dev/trunk/lucene/test-framework/src/java/org/apache/lucene/codecs/compressing/dummy/package.html
lucene/dev/trunk/lucene/test-framework/src/java/org/apache/lucene/codecs/cranky/package-info.java
- copied, changed from r1657982, lucene/dev/trunk/lucene/test-framework/src/java/org/apache/lucene/codecs/cranky/package.html
lucene/dev/trunk/lucene/test-framework/src/java/org/apache/lucene/codecs/mockrandom/package-info.java
- copied, changed from r1657982, lucene/dev/trunk/lucene/test-framework/src/java/org/apache/lucene/codecs/mockrandom/package.html
lucene/dev/trunk/lucene/test-framework/src/java/org/apache/lucene/codecs/ramonly/package-info.java
- copied, changed from r1657982, lucene/dev/trunk/lucene/test-framework/src/java/org/apache/lucene/codecs/ramonly/package.html
lucene/dev/trunk/lucene/test-framework/src/java/org/apache/lucene/mockfile/package-info.java
- copied, changed from r1657982, lucene/dev/trunk/lucene/test-framework/src/java/org/apache/lucene/mockfile/package.html
Removed:
lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/ar/package.html
lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/bg/package.html
lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/br/package.html
lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/ca/package.html
lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/charfilter/package.html
lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/cjk/package.html
lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/ckb/package.html
lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/commongrams/package.html
lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/compound/hyphenation/package.html
lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/compound/package.html
lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/core/package.html
lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/analysis/package.html
lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/analysis/tokenattributes/package.html
lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/codecs/blocktree/package.html
lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/codecs/compressing/package.html
lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/codecs/lucene50/package.html
lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/codecs/package.html
lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/codecs/perfield/package.html
lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/document/package.html
lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/index/package.html
lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/package.html
lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/search/payloads/package.html
lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/search/similarities/package.html
lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/search/spans/package.html
lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/store/package.html
lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/util/automaton/package.html
lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/util/fst/package.html
lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/util/mutable/package.html
lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/util/package.html
lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/util/packed/package.html
lucene/dev/trunk/lucene/test-framework/src/java/org/apache/lucene/codecs/asserting/package.html
lucene/dev/trunk/lucene/test-framework/src/java/org/apache/lucene/codecs/cheapbastard/package.html
lucene/dev/trunk/lucene/test-framework/src/java/org/apache/lucene/codecs/compressing/dummy/package.html
lucene/dev/trunk/lucene/test-framework/src/java/org/apache/lucene/codecs/cranky/package.html
lucene/dev/trunk/lucene/test-framework/src/java/org/apache/lucene/codecs/mockrandom/package.html
lucene/dev/trunk/lucene/test-framework/src/java/org/apache/lucene/codecs/ramonly/package.html
lucene/dev/trunk/lucene/test-framework/src/java/org/apache/lucene/mockfile/package.html
Modified:
lucene/dev/trunk/lucene/analysis/icu/src/java/org/apache/lucene/collation/package.html
lucene/dev/trunk/lucene/analysis/icu/src/java/org/apache/lucene/collation/tokenattributes/package.html
lucene/dev/trunk/lucene/test-framework/src/java/org/apache/lucene/analysis/package.html
lucene/dev/trunk/lucene/test-framework/src/java/org/apache/lucene/codecs/blockterms/package.html
lucene/dev/trunk/lucene/test-framework/src/java/org/apache/lucene/codecs/bloom/package.html
lucene/dev/trunk/lucene/test-framework/src/java/org/apache/lucene/codecs/compressing/package.html
lucene/dev/trunk/lucene/test-framework/src/java/org/apache/lucene/codecs/package.html
lucene/dev/trunk/lucene/test-framework/src/java/org/apache/lucene/index/package.html
lucene/dev/trunk/lucene/test-framework/src/java/org/apache/lucene/search/package.html
lucene/dev/trunk/lucene/test-framework/src/java/org/apache/lucene/store/package.html
lucene/dev/trunk/lucene/test-framework/src/java/org/apache/lucene/util/automaton/package.html
lucene/dev/trunk/lucene/test-framework/src/java/org/apache/lucene/util/fst/package.html
lucene/dev/trunk/lucene/test-framework/src/java/org/apache/lucene/util/package.html
Copied: lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/ar/package-info.java (from r1657982, lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/ar/package.html)
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/ar/package-info.java?p2=lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/ar/package-info.java&p1=lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/ar/package.html&r1=1657982&r2=1658029&rev=1658029&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/ar/package.html (original)
+++ lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/ar/package-info.java Sat Feb 7 07:38:44 2015
@@ -1,22 +1,21 @@
-<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
-<!--
- Licensed to the Apache Software Foundation (ASF) under one or more
- contributor license agreements. See the NOTICE file distributed with
- this work for additional information regarding copyright ownership.
- The ASF licenses this file to You under the Apache License, Version 2.0
- (the "License"); you may not use this file except in compliance with
- the License. You may obtain a copy of the License at
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
--->
-<html><head></head>
-<body>
-Analyzer for Arabic.
-</body>
-</html>
+/**
+ * Analyzer for Arabic.
+ */
+package org.apache.lucene.analysis.ar;
\ No newline at end of file
Copied: lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/bg/package-info.java (from r1657982, lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/bg/package.html)
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/bg/package-info.java?p2=lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/bg/package-info.java&p1=lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/bg/package.html&r1=1657982&r2=1658029&rev=1658029&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/bg/package.html (original)
+++ lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/bg/package-info.java Sat Feb 7 07:38:44 2015
@@ -1,22 +1,21 @@
-<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
-<!--
- Licensed to the Apache Software Foundation (ASF) under one or more
- contributor license agreements. See the NOTICE file distributed with
- this work for additional information regarding copyright ownership.
- The ASF licenses this file to You under the Apache License, Version 2.0
- (the "License"); you may not use this file except in compliance with
- the License. You may obtain a copy of the License at
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
--->
-<html><head></head>
-<body>
-Analyzer for Bulgarian.
-</body>
-</html>
+/**
+ * Analyzer for Bulgarian.
+ */
+package org.apache.lucene.analysis.bg;
Copied: lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/br/package-info.java (from r1657982, lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/br/package.html)
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/br/package-info.java?p2=lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/br/package-info.java&p1=lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/br/package.html&r1=1657982&r2=1658029&rev=1658029&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/br/package.html (original)
+++ lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/br/package-info.java Sat Feb 7 07:38:44 2015
@@ -1,22 +1,21 @@
-<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
-<!--
- Licensed to the Apache Software Foundation (ASF) under one or more
- contributor license agreements. See the NOTICE file distributed with
- this work for additional information regarding copyright ownership.
- The ASF licenses this file to You under the Apache License, Version 2.0
- (the "License"); you may not use this file except in compliance with
- the License. You may obtain a copy of the License at
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
--->
-<html><head></head>
-<body>
-Analyzer for Brazilian Portuguese.
-</body>
-</html>
+/**
+ * Analyzer for Brazilian Portuguese.
+ */
+package org.apache.lucene.analysis.br;
Copied: lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/ca/package-info.java (from r1657982, lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/ca/package.html)
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/ca/package-info.java?p2=lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/ca/package-info.java&p1=lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/ca/package.html&r1=1657982&r2=1658029&rev=1658029&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/ca/package.html (original)
+++ lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/ca/package-info.java Sat Feb 7 07:38:44 2015
@@ -1,22 +1,21 @@
-<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
-<!--
- Licensed to the Apache Software Foundation (ASF) under one or more
- contributor license agreements. See the NOTICE file distributed with
- this work for additional information regarding copyright ownership.
- The ASF licenses this file to You under the Apache License, Version 2.0
- (the "License"); you may not use this file except in compliance with
- the License. You may obtain a copy of the License at
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
--->
-<html><head></head>
-<body>
-Analyzer for Catalan.
-</body>
-</html>
+/**
+ * Analyzer for Catalan.
+ */
+package org.apache.lucene.analysis.ca;
Copied: lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/charfilter/package-info.java (from r1657982, lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/charfilter/package.html)
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/charfilter/package-info.java?p2=lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/charfilter/package-info.java&p1=lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/charfilter/package.html&r1=1657982&r2=1658029&rev=1658029&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/charfilter/package.html (original)
+++ lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/charfilter/package-info.java Sat Feb 7 07:38:44 2015
@@ -1,61 +1,59 @@
-<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
-<!--
- Licensed to the Apache Software Foundation (ASF) under one or more
- contributor license agreements. See the NOTICE file distributed with
- this work for additional information regarding copyright ownership.
- The ASF licenses this file to You under the Apache License, Version 2.0
- (the "License"); you may not use this file except in compliance with
- the License. You may obtain a copy of the License at
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
--->
-<html><head></head>
-<body>
-<p>
-Normalization of text before the tokenizer.
-</p>
-<p>
- CharFilters are chainable filters that normalize text before tokenization
- and provide mappings between normalized text offsets and the corresponding
- offset in the original text.
-</p>
-<H2>CharFilter offset mappings</H2>
-<p>
- CharFilters modify an input stream via a series of substring
- replacements (including deletions and insertions) to produce an output
- stream. There are three possible replacement cases: the replacement
- string has the same length as the original substring; the replacement
- is shorter; and the replacement is longer. In the latter two cases
- (when the replacement has a different length than the original),
- one or more offset correction mappings are required.
-</p>
-<p>
- When the replacement is shorter than the original (e.g. when the
- replacement is the empty string), a single offset correction mapping
- should be added at the replacement's end offset in the output stream.
- The <code>cumulativeDiff</code> parameter to the
- <code>addOffCorrectMapping()</code> method will be the sum of all
- previous replacement offset adjustments, with the addition of the
- difference between the lengths of the original substring and the
- replacement string (a positive value).
-</p>
-<p>
- When the replacement is longer than the original (e.g. when the
- original is the empty string), you should add as many offset
- correction mappings as the difference between the lengths of the
- replacement string and the original substring, starting at the
- end offset the original substring would have had in the output stream.
- The <code>cumulativeDiff</code> parameter to the
- <code>addOffCorrectMapping()</code> method will be the sum of all
- previous replacement offset adjustments, with the addition of the
- difference between the lengths of the original substring and the
- replacement string so far (a negative value).
-</p>
-</body>
-</html>
+/**
+ * Normalization of text before the tokenizer.
+ * </p>
+ * <p>
+ * CharFilters are chainable filters that normalize text before tokenization
+ * and provide mappings between normalized text offsets and the corresponding
+ * offset in the original text.
+ * </p>
+ * <H2>CharFilter offset mappings</H2>
+ * <p>
+ * CharFilters modify an input stream via a series of substring
+ * replacements (including deletions and insertions) to produce an output
+ * stream. There are three possible replacement cases: the replacement
+ * string has the same length as the original substring; the replacement
+ * is shorter; and the replacement is longer. In the latter two cases
+ * (when the replacement has a different length than the original),
+ * one or more offset correction mappings are required.
+ * </p>
+ * <p>
+ * When the replacement is shorter than the original (e.g. when the
+ * replacement is the empty string), a single offset correction mapping
+ * should be added at the replacement's end offset in the output stream.
+ * The <code>cumulativeDiff</code> parameter to the
+ * <code>addOffCorrectMapping()</code> method will be the sum of all
+ * previous replacement offset adjustments, with the addition of the
+ * difference between the lengths of the original substring and the
+ * replacement string (a positive value).
+ * </p>
+ * <p>
+ * When the replacement is longer than the original (e.g. when the
+ * original is the empty string), you should add as many offset
+ * correction mappings as the difference between the lengths of the
+ * replacement string and the original substring, starting at the
+ * end offset the original substring would have had in the output stream.
+ * The <code>cumulativeDiff</code> parameter to the
+ * <code>addOffCorrectMapping()</code> method will be the sum of all
+ * previous replacement offset adjustments, with the addition of the
+ * difference between the lengths of the original substring and the
+ * replacement string so far (a negative value).
+ * </p>
+ */
+package org.apache.lucene.analysis.charfilter;
Copied: lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/cjk/package-info.java (from r1657982, lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/cjk/package.html)
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/cjk/package-info.java?p2=lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/cjk/package-info.java&p1=lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/cjk/package.html&r1=1657982&r2=1658029&rev=1658029&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/cjk/package.html (original)
+++ lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/cjk/package-info.java Sat Feb 7 07:38:44 2015
@@ -1,42 +1,37 @@
-<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
-<!--
- Licensed to the Apache Software Foundation (ASF) under one or more
- contributor license agreements. See the NOTICE file distributed with
- this work for additional information regarding copyright ownership.
- The ASF licenses this file to You under the Apache License, Version 2.0
- (the "License"); you may not use this file except in compliance with
- the License. You may obtain a copy of the License at
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
--->
-<html>
-<head>
-<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
-</head>
-<body>
-Analyzer for Chinese, Japanese, and Korean, which indexes bigrams.
-This analyzer generates bigram terms, which are overlapping groups of two adjacent Han, Hiragana, Katakana, or Hangul characters.
-<p>
-Three analyzers are provided for Chinese, each of which treats Chinese text in a different way.
-<ul>
- <li>ChineseAnalyzer (in the analyzers/cn package): Index unigrams (individual Chinese characters) as a token.
- <li>CJKAnalyzer (in this package): Index bigrams (overlapping groups of two adjacent Chinese characters) as tokens.
- <li>SmartChineseAnalyzer (in the analyzers/smartcn package): Index words (attempt to segment Chinese text into words) as tokens.
-</ul>
-
-Example phraseï¼ "ææ¯ä¸å½äºº"
-<ol>
- <li>ChineseAnalyzer: æï¼æ¯ï¼ä¸ï¼å½ï¼äºº</li>
- <li>CJKAnalyzer: ææ¯ï¼æ¯ä¸ï¼ä¸å½ï¼å½äºº</li>
- <li>SmartChineseAnalyzer: æï¼æ¯ï¼ä¸å½ï¼äºº</li>
-</ol>
-</p>
-
-</body>
-</html>
+/**
+ * Analyzer for Chinese, Japanese, and Korean, which indexes bigrams.
+ * This analyzer generates bigram terms, which are overlapping groups of two adjacent Han, Hiragana, Katakana, or Hangul characters.
+ * <p>
+ * Three analyzers are provided for Chinese, each of which treats Chinese text in a different way.
+ * <ul>
+ * <li>ChineseAnalyzer (in the analyzers/cn package): Index unigrams (individual Chinese characters) as a token.
+ * <li>CJKAnalyzer (in this package): Index bigrams (overlapping groups of two adjacent Chinese characters) as tokens.
+ * <li>SmartChineseAnalyzer (in the analyzers/smartcn package): Index words (attempt to segment Chinese text into words) as tokens.
+ * </ul>
+ *
+ * Example phraseï¼ "ææ¯ä¸å½äºº"
+ * <ol>
+ * <li>ChineseAnalyzer: æï¼æ¯ï¼ä¸ï¼å½ï¼äºº</li>
+ * <li>CJKAnalyzer: ææ¯ï¼æ¯ä¸ï¼ä¸å½ï¼å½äºº</li>
+ * <li>SmartChineseAnalyzer: æï¼æ¯ï¼ä¸å½ï¼äºº</li>
+ * </ol>
+ * </p>
+ */
+package org.apache.lucene.analysis.cjk;
Copied: lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/ckb/package-info.java (from r1657982, lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/ckb/package.html)
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/ckb/package-info.java?p2=lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/ckb/package-info.java&p1=lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/ckb/package.html&r1=1657982&r2=1658029&rev=1658029&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/ckb/package.html (original)
+++ lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/ckb/package-info.java Sat Feb 7 07:38:44 2015
@@ -1,22 +1,21 @@
-<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
-<!--
- Licensed to the Apache Software Foundation (ASF) under one or more
- contributor license agreements. See the NOTICE file distributed with
- this work for additional information regarding copyright ownership.
- The ASF licenses this file to You under the Apache License, Version 2.0
- (the "License"); you may not use this file except in compliance with
- the License. You may obtain a copy of the License at
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
--->
-<html><head></head>
-<body>
-Analyzer for Sorani Kurdish.
-</body>
-</html>
+/**
+ * Analyzer for Sorani Kurdish.
+ */
+package org.apache.lucene.analysis.ckb;
Copied: lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/commongrams/package-info.java (from r1657982, lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/commongrams/package.html)
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/commongrams/package-info.java?p2=lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/commongrams/package-info.java&p1=lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/commongrams/package.html&r1=1657982&r2=1658029&rev=1658029&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/commongrams/package.html (original)
+++ lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/commongrams/package-info.java Sat Feb 7 07:38:44 2015
@@ -1,22 +1,21 @@
-<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
-<!--
- Licensed to the Apache Software Foundation (ASF) under one or more
- contributor license agreements. See the NOTICE file distributed with
- this work for additional information regarding copyright ownership.
- The ASF licenses this file to You under the Apache License, Version 2.0
- (the "License"); you may not use this file except in compliance with
- the License. You may obtain a copy of the License at
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
--->
-<html><head></head>
-<body>
-Construct n-grams for frequently occurring terms and phrases.
-</body>
-</html>
+/**
+ * Construct n-grams for frequently occurring terms and phrases.
+ */
+package org.apache.lucene.analysis.commongrams;
Copied: lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/compound/hyphenation/package-info.java (from r1657982, lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/compound/hyphenation/package.html)
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/compound/hyphenation/package-info.java?p2=lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/compound/hyphenation/package-info.java&p1=lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/compound/hyphenation/package.html&r1=1657982&r2=1658029&rev=1658029&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/compound/hyphenation/package.html (original)
+++ lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/compound/hyphenation/package-info.java Sat Feb 7 07:38:44 2015
@@ -1,27 +1,24 @@
-<!--
- Licensed to the Apache Software Foundation (ASF) under one or more
- contributor license agreements. See the NOTICE file distributed with
- this work for additional information regarding copyright ownership.
- The ASF licenses this file to You under the Apache License, Version 2.0
- (the "License"); you may not use this file except in compliance with
- the License. You may obtain a copy of the License at
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
--->
-
-<html>
- <head>
- <title>Hyphenation code for the CompoundWordTokenFilter</title>
- </head>
- <body>
- <p>
- The code for the compound word hyphenation is taken from the <a href="http://xmlgraphics.apache.org/fop/">Apache FOP project</a>. All credits for the hyphenation code belongs to them.
- </p>
- </body>
-</html>
\ No newline at end of file
+/**
+ * Hyphenation code for the CompoundWordTokenFilter.
+ * The code for the compound word hyphenation is taken from the
+ * <a href="http://xmlgraphics.apache.org/fop/">Apache FOP project</a>.
+ * All credits for the hyphenation code belongs to them.
+ */
+package org.apache.lucene.analysis.compound.hyphenation;
Copied: lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/compound/package-info.java (from r1657982, lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/compound/package.html)
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/compound/package-info.java?p2=lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/compound/package-info.java&p1=lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/compound/package.html&r1=1657982&r2=1658029&rev=1658029&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/compound/package.html (original)
+++ lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/compound/package-info.java Sat Feb 7 07:38:44 2015
@@ -1,200 +1,195 @@
-<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
-<!--
- Licensed to the Apache Software Foundation (ASF) under one or more
- contributor license agreements. See the NOTICE file distributed with
- this work for additional information regarding copyright ownership.
- The ASF licenses this file to You under the Apache License, Version 2.0
- (the "License"); you may not use this file except in compliance with
- the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
--->
-<html>
-<head>
-<title>CompoundWordTokenFilter</title>
-<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"></meta>
-</head>
-<body>
-A filter that decomposes compound words you find in many Germanic
-languages into the word parts. This example shows what it does:
-<table border="1">
- <tr>
- <th>Input token stream</th>
- </tr>
- <tr>
- <td>Rindfleischüberwachungsgesetz Drahtschere abba</td>
- </tr>
-</table>
-<br>
-<table border="1">
- <tr>
- <th>Output token stream</th>
- </tr>
- <tr>
- <td>(Rindfleischüberwachungsgesetz,0,29)</td>
- </tr>
- <tr>
- <td>(Rind,0,4,posIncr=0)</td>
- </tr>
- <tr>
- <td>(fleisch,4,11,posIncr=0)</td>
- </tr>
- <tr>
- <td>(überwachung,11,22,posIncr=0)</td>
- </tr>
- <tr>
- <td>(gesetz,23,29,posIncr=0)</td>
- </tr>
- <tr>
- <td>(Drahtschere,30,41)</td>
- </tr>
- <tr>
- <td>(Draht,30,35,posIncr=0)</td>
- </tr>
- <tr>
- <td>(schere,35,41,posIncr=0)</td>
- </tr>
- <tr>
- <td>(abba,42,46)</td>
- </tr>
-</table>
-
-The input token is always preserved and the filters do not alter the case of word parts. There are two variants of the
-filter available:
-<ul>
- <li><i>HyphenationCompoundWordTokenFilter</i>: it uses a
- hyphenation grammar based approach to find potential word parts of a
- given word.</li>
- <li><i>DictionaryCompoundWordTokenFilter</i>: it uses a
- brute-force dictionary-only based approach to find the word parts of a given
- word.</li>
-</ul>
-
-<h3>Compound word token filters</h3>
-<h4>HyphenationCompoundWordTokenFilter</h4>
-The {@link
-org.apache.lucene.analysis.compound.HyphenationCompoundWordTokenFilter
-HyphenationCompoundWordTokenFilter} uses hyphenation grammars to find
-potential subwords that a worth to check against the dictionary. It can be used
-without a dictionary as well but then produces a lot of "nonword" tokens.
-The quality of the output tokens is directly connected to the quality of the
-grammar file you use. For languages like German they are quite good.
-<h5>Grammar file</h5>
-Unfortunately we cannot bundle the hyphenation grammar files with Lucene
-because they do not use an ASF compatible license (they use the LaTeX
-Project Public License instead). You can find the XML based grammar
-files at the
-<a href="http://offo.sourceforge.net/hyphenation/index.html">Objects
-For Formatting Objects</a>
-(OFFO) Sourceforge project (direct link to download the pattern files:
-<a href="http://downloads.sourceforge.net/offo/offo-hyphenation.zip">http://downloads.sourceforge.net/offo/offo-hyphenation.zip</a>
-). The files you need are in the subfolder
-<i>offo-hyphenation/hyph/</i>
-.
-<br />
-Credits for the hyphenation code go to the
-<a href="http://xmlgraphics.apache.org/fop/">Apache FOP project</a>
-.
-
-<h4>DictionaryCompoundWordTokenFilter</h4>
-The {@link
-org.apache.lucene.analysis.compound.DictionaryCompoundWordTokenFilter
-DictionaryCompoundWordTokenFilter} uses a dictionary-only approach to
-find subwords in a compound word. It is much slower than the one that
-uses the hyphenation grammars. You can use it as a first start to
-see if your dictionary is good or not because it is much simpler in design.
-
-<h3>Dictionary</h3>
-The output quality of both token filters is directly connected to the
-quality of the dictionary you use. They are language dependent of course.
-You always should use a dictionary
-that fits to the text you want to index. If you index medical text for
-example then you should use a dictionary that contains medical words.
-A good start for general text are the dictionaries you find at the
-<a href="http://wiki.services.openoffice.org/wiki/Dictionaries">OpenOffice
-dictionaries</a>
-Wiki.
-
-<h3>Which variant should I use?</h3>
-This decision matrix should help you:
-<table border="1">
- <tr>
- <th>Token filter</th>
- <th>Output quality</th>
- <th>Performance</th>
- </tr>
- <tr>
- <td>HyphenationCompoundWordTokenFilter</td>
- <td>good if grammar file is good – acceptable otherwise</td>
- <td>fast</td>
- </tr>
- <tr>
- <td>DictionaryCompoundWordTokenFilter</td>
- <td>good</td>
- <td>slow</td>
- </tr>
-</table>
-<h3>Examples</h3>
-<pre class="prettyprint">
- public void testHyphenationCompoundWordsDE() throws Exception {
- String[] dict = { "Rind", "Fleisch", "Draht", "Schere", "Gesetz",
- "Aufgabe", "Überwachung" };
-
- Reader reader = new FileReader("de_DR.xml");
-
- HyphenationTree hyphenator = HyphenationCompoundWordTokenFilter
- .getHyphenationTree(reader);
-
- HyphenationCompoundWordTokenFilter tf = new HyphenationCompoundWordTokenFilter(
- new WhitespaceTokenizer(new StringReader(
- "Rindfleischüberwachungsgesetz Drahtschere abba")), hyphenator,
- dict, CompoundWordTokenFilterBase.DEFAULT_MIN_WORD_SIZE,
- CompoundWordTokenFilterBase.DEFAULT_MIN_SUBWORD_SIZE,
- CompoundWordTokenFilterBase.DEFAULT_MAX_SUBWORD_SIZE, false);
-
- CharTermAttribute t = tf.addAttribute(CharTermAttribute.class);
- while (tf.incrementToken()) {
- System.out.println(t);
- }
- }
-
- public void testHyphenationCompoundWordsWithoutDictionaryDE() throws Exception {
- Reader reader = new FileReader("de_DR.xml");
-
- HyphenationTree hyphenator = HyphenationCompoundWordTokenFilter
- .getHyphenationTree(reader);
-
- HyphenationCompoundWordTokenFilter tf = new HyphenationCompoundWordTokenFilter(
- new WhitespaceTokenizer(new StringReader(
- "Rindfleischüberwachungsgesetz Drahtschere abba")), hyphenator);
-
- CharTermAttribute t = tf.addAttribute(CharTermAttribute.class);
- while (tf.incrementToken()) {
- System.out.println(t);
- }
- }
-
- public void testDumbCompoundWordsSE() throws Exception {
- String[] dict = { "Bil", "Dörr", "Motor", "Tak", "Borr", "Slag", "Hammar",
- "Pelar", "Glas", "Ögon", "Fodral", "Bas", "Fiol", "Makare", "Gesäll",
- "Sko", "Vind", "Rute", "Torkare", "Blad" };
-
- DictionaryCompoundWordTokenFilter tf = new DictionaryCompoundWordTokenFilter(
- new WhitespaceTokenizer(
- new StringReader(
- "Bildörr Bilmotor Biltak Slagborr Hammarborr Pelarborr Glasögonfodral Basfiolsfodral Basfiolsfodralmakaregesäll Skomakare Vindrutetorkare Vindrutetorkarblad abba")),
- dict);
- CharTermAttribute t = tf.addAttribute(CharTermAttribute.class);
- while (tf.incrementToken()) {
- System.out.println(t);
- }
- }
-</pre>
-</body>
-</html>
\ No newline at end of file
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+/**
+ * A filter that decomposes compound words you find in many Germanic
+ * languages into the word parts. This example shows what it does:
+ * <table border="1" summary="example input stream">
+ * <tr>
+ * <th>Input token stream</th>
+ * </tr>
+ * <tr>
+ * <td>Rindfleischüberwachungsgesetz Drahtschere abba</td>
+ * </tr>
+ * </table>
+ * <br>
+ * <table border="1" summary="example output stream">
+ * <tr>
+ * <th>Output token stream</th>
+ * </tr>
+ * <tr>
+ * <td>(Rindfleischüberwachungsgesetz,0,29)</td>
+ * </tr>
+ * <tr>
+ * <td>(Rind,0,4,posIncr=0)</td>
+ * </tr>
+ * <tr>
+ * <td>(fleisch,4,11,posIncr=0)</td>
+ * </tr>
+ * <tr>
+ * <td>(überwachung,11,22,posIncr=0)</td>
+ * </tr>
+ * <tr>
+ * <td>(gesetz,23,29,posIncr=0)</td>
+ * </tr>
+ * <tr>
+ * <td>(Drahtschere,30,41)</td>
+ * </tr>
+ * <tr>
+ * <td>(Draht,30,35,posIncr=0)</td>
+ * </tr>
+ * <tr>
+ * <td>(schere,35,41,posIncr=0)</td>
+ * </tr>
+ * <tr>
+ * <td>(abba,42,46)</td>
+ * </tr>
+ * </table>
+ *
+ * The input token is always preserved and the filters do not alter the case of word parts. There are two variants of the
+ * filter available:
+ * <ul>
+ * <li><i>HyphenationCompoundWordTokenFilter</i>: it uses a
+ * hyphenation grammar based approach to find potential word parts of a
+ * given word.</li>
+ * <li><i>DictionaryCompoundWordTokenFilter</i>: it uses a
+ * brute-force dictionary-only based approach to find the word parts of a given
+ * word.</li>
+ * </ul>
+ *
+ * <h3>Compound word token filters</h3>
+ * <h4>HyphenationCompoundWordTokenFilter</h4>
+ * The {@link
+ * org.apache.lucene.analysis.compound.HyphenationCompoundWordTokenFilter
+ * HyphenationCompoundWordTokenFilter} uses hyphenation grammars to find
+ * potential subwords that a worth to check against the dictionary. It can be used
+ * without a dictionary as well but then produces a lot of "nonword" tokens.
+ * The quality of the output tokens is directly connected to the quality of the
+ * grammar file you use. For languages like German they are quite good.
+ * <h5>Grammar file</h5>
+ * Unfortunately we cannot bundle the hyphenation grammar files with Lucene
+ * because they do not use an ASF compatible license (they use the LaTeX
+ * Project Public License instead). You can find the XML based grammar
+ * files at the
+ * <a href="http://offo.sourceforge.net/hyphenation/index.html">Objects
+ * For Formatting Objects</a>
+ * (OFFO) Sourceforge project (direct link to download the pattern files:
+ * <a href="http://downloads.sourceforge.net/offo/offo-hyphenation.zip">http://downloads.sourceforge.net/offo/offo-hyphenation.zip</a>
+ * ). The files you need are in the subfolder
+ * <i>offo-hyphenation/hyph/</i>
+ * .
+ * <br />
+ * Credits for the hyphenation code go to the
+ * <a href="http://xmlgraphics.apache.org/fop/">Apache FOP project</a>
+ * .
+ *
+ * <h4>DictionaryCompoundWordTokenFilter</h4>
+ * The {@link
+ * org.apache.lucene.analysis.compound.DictionaryCompoundWordTokenFilter
+ * DictionaryCompoundWordTokenFilter} uses a dictionary-only approach to
+ * find subwords in a compound word. It is much slower than the one that
+ * uses the hyphenation grammars. You can use it as a first start to
+ * see if your dictionary is good or not because it is much simpler in design.
+ *
+ * <h3>Dictionary</h3>
+ * The output quality of both token filters is directly connected to the
+ * quality of the dictionary you use. They are language dependent of course.
+ * You always should use a dictionary
+ * that fits to the text you want to index. If you index medical text for
+ * example then you should use a dictionary that contains medical words.
+ * A good start for general text are the dictionaries you find at the
+ * <a href="http://wiki.services.openoffice.org/wiki/Dictionaries">OpenOffice
+ * dictionaries</a>
+ * Wiki.
+ *
+ * <h3>Which variant should I use?</h3>
+ * This decision matrix should help you:
+ * <table border="1" summary="comparison of dictionary and hyphenation based decompounding">
+ * <tr>
+ * <th>Token filter</th>
+ * <th>Output quality</th>
+ * <th>Performance</th>
+ * </tr>
+ * <tr>
+ * <td>HyphenationCompoundWordTokenFilter</td>
+ * <td>good if grammar file is good – acceptable otherwise</td>
+ * <td>fast</td>
+ * </tr>
+ * <tr>
+ * <td>DictionaryCompoundWordTokenFilter</td>
+ * <td>good</td>
+ * <td>slow</td>
+ * </tr>
+ * </table>
+ * <h3>Examples</h3>
+ * <pre class="prettyprint">
+ * public void testHyphenationCompoundWordsDE() throws Exception {
+ * String[] dict = { "Rind", "Fleisch", "Draht", "Schere", "Gesetz",
+ * "Aufgabe", "Überwachung" };
+ *
+ * Reader reader = new FileReader("de_DR.xml");
+ *
+ * HyphenationTree hyphenator = HyphenationCompoundWordTokenFilter
+ * .getHyphenationTree(reader);
+ *
+ * HyphenationCompoundWordTokenFilter tf = new HyphenationCompoundWordTokenFilter(
+ * new WhitespaceTokenizer(new StringReader(
+ * "Rindfleischüberwachungsgesetz Drahtschere abba")), hyphenator,
+ * dict, CompoundWordTokenFilterBase.DEFAULT_MIN_WORD_SIZE,
+ * CompoundWordTokenFilterBase.DEFAULT_MIN_SUBWORD_SIZE,
+ * CompoundWordTokenFilterBase.DEFAULT_MAX_SUBWORD_SIZE, false);
+ *
+ * CharTermAttribute t = tf.addAttribute(CharTermAttribute.class);
+ * while (tf.incrementToken()) {
+ * System.out.println(t);
+ * }
+ * }
+ *
+ * public void testHyphenationCompoundWordsWithoutDictionaryDE() throws Exception {
+ * Reader reader = new FileReader("de_DR.xml");
+ *
+ * HyphenationTree hyphenator = HyphenationCompoundWordTokenFilter
+ * .getHyphenationTree(reader);
+ *
+ * HyphenationCompoundWordTokenFilter tf = new HyphenationCompoundWordTokenFilter(
+ * new WhitespaceTokenizer(new StringReader(
+ * "Rindfleischüberwachungsgesetz Drahtschere abba")), hyphenator);
+ *
+ * CharTermAttribute t = tf.addAttribute(CharTermAttribute.class);
+ * while (tf.incrementToken()) {
+ * System.out.println(t);
+ * }
+ * }
+ *
+ * public void testDumbCompoundWordsSE() throws Exception {
+ * String[] dict = { "Bil", "Dörr", "Motor", "Tak", "Borr", "Slag", "Hammar",
+ * "Pelar", "Glas", "Ögon", "Fodral", "Bas", "Fiol", "Makare", "Gesäll",
+ * "Sko", "Vind", "Rute", "Torkare", "Blad" };
+ *
+ * DictionaryCompoundWordTokenFilter tf = new DictionaryCompoundWordTokenFilter(
+ * new WhitespaceTokenizer(
+ * new StringReader(
+ * "Bildörr Bilmotor Biltak Slagborr Hammarborr Pelarborr Glasögonfodral Basfiolsfodral Basfiolsfodralmakaregesäll Skomakare Vindrutetorkare Vindrutetorkarblad abba")),
+ * dict);
+ * CharTermAttribute t = tf.addAttribute(CharTermAttribute.class);
+ * while (tf.incrementToken()) {
+ * System.out.println(t);
+ * }
+ * }
+ * </pre>
+ */
+package org.apache.lucene.analysis.compound;
\ No newline at end of file
Copied: lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/core/package-info.java (from r1657982, lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/core/package.html)
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/core/package-info.java?p2=lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/core/package-info.java&p1=lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/core/package.html&r1=1657982&r2=1658029&rev=1658029&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/core/package.html (original)
+++ lucene/dev/trunk/lucene/analysis/common/src/java/org/apache/lucene/analysis/core/package-info.java Sat Feb 7 07:38:44 2015
@@ -1,22 +1,21 @@
-<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
-<!--
- Licensed to the Apache Software Foundation (ASF) under one or more
- contributor license agreements. See the NOTICE file distributed with
- this work for additional information regarding copyright ownership.
- The ASF licenses this file to You under the Apache License, Version 2.0
- (the "License"); you may not use this file except in compliance with
- the License. You may obtain a copy of the License at
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
--->
-<html><head></head>
-<body>
-Basic, general-purpose analysis components.
-</body>
-</html>
+/**
+ * Basic, general-purpose analysis components.
+ */
+package org.apache.lucene.analysis.core;
Modified: lucene/dev/trunk/lucene/analysis/icu/src/java/org/apache/lucene/collation/package.html
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/analysis/icu/src/java/org/apache/lucene/collation/package.html?rev=1658029&r1=1658028&r2=1658029&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/analysis/icu/src/java/org/apache/lucene/collation/package.html (original)
+++ lucene/dev/trunk/lucene/analysis/icu/src/java/org/apache/lucene/collation/package.html Sat Feb 7 07:38:44 2015
@@ -15,6 +15,7 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
+<!-- not a package-info.java, because we already defined this package in common/ -->
<html>
<body>
Unicode Collation support.
Modified: lucene/dev/trunk/lucene/analysis/icu/src/java/org/apache/lucene/collation/tokenattributes/package.html
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/analysis/icu/src/java/org/apache/lucene/collation/tokenattributes/package.html?rev=1658029&r1=1658028&r2=1658029&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/analysis/icu/src/java/org/apache/lucene/collation/tokenattributes/package.html (original)
+++ lucene/dev/trunk/lucene/analysis/icu/src/java/org/apache/lucene/collation/tokenattributes/package.html Sat Feb 7 07:38:44 2015
@@ -15,6 +15,7 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
+<!-- not a package-info.java, because we already defined this package in common/ -->
<html>
<body>
Custom {@link org.apache.lucene.util.AttributeImpl} for indexing collation keys as index terms.