1883c1bf364e38c5b133afb55f8493a14b65f4dd4Bjorn Bringert/* 2883c1bf364e38c5b133afb55f8493a14b65f4dd4Bjorn Bringert * Copyright (C) 2010 The Android Open Source Project 3883c1bf364e38c5b133afb55f8493a14b65f4dd4Bjorn Bringert * 4883c1bf364e38c5b133afb55f8493a14b65f4dd4Bjorn Bringert * Licensed under the Apache License, Version 2.0 (the "License"); 5883c1bf364e38c5b133afb55f8493a14b65f4dd4Bjorn Bringert * you may not use this file except in compliance with the License. 6883c1bf364e38c5b133afb55f8493a14b65f4dd4Bjorn Bringert * You may obtain a copy of the License at 7883c1bf364e38c5b133afb55f8493a14b65f4dd4Bjorn Bringert * 8883c1bf364e38c5b133afb55f8493a14b65f4dd4Bjorn Bringert * http://www.apache.org/licenses/LICENSE-2.0 9883c1bf364e38c5b133afb55f8493a14b65f4dd4Bjorn Bringert * 10883c1bf364e38c5b133afb55f8493a14b65f4dd4Bjorn Bringert * Unless required by applicable law or agreed to in writing, software 11883c1bf364e38c5b133afb55f8493a14b65f4dd4Bjorn Bringert * distributed under the License is distributed on an "AS IS" BASIS, 12883c1bf364e38c5b133afb55f8493a14b65f4dd4Bjorn Bringert * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13883c1bf364e38c5b133afb55f8493a14b65f4dd4Bjorn Bringert * See the License for the specific language governing permissions and 14883c1bf364e38c5b133afb55f8493a14b65f4dd4Bjorn Bringert * limitations under the License. 15883c1bf364e38c5b133afb55f8493a14b65f4dd4Bjorn Bringert */ 16883c1bf364e38c5b133afb55f8493a14b65f4dd4Bjorn Bringert 17883c1bf364e38c5b133afb55f8493a14b65f4dd4Bjorn Bringertpackage com.android.quicksearchbox; 18883c1bf364e38c5b133afb55f8493a14b65f4dd4Bjorn Bringert 19883c1bf364e38c5b133afb55f8493a14b65f4dd4Bjorn Bringertimport java.util.Collection; 20883c1bf364e38c5b133afb55f8493a14b65f4dd4Bjorn Bringert 21883c1bf364e38c5b133afb55f8493a14b65f4dd4Bjorn Bringert/** 22883c1bf364e38c5b133afb55f8493a14b65f4dd4Bjorn Bringert * Creates corpora. 23883c1bf364e38c5b133afb55f8493a14b65f4dd4Bjorn Bringert */ 24883c1bf364e38c5b133afb55f8493a14b65f4dd4Bjorn Bringertpublic interface CorpusFactory { 25883c1bf364e38c5b133afb55f8493a14b65f4dd4Bjorn Bringert 26883c1bf364e38c5b133afb55f8493a14b65f4dd4Bjorn Bringert Collection<Corpus> createCorpora(Sources sources); 27883c1bf364e38c5b133afb55f8493a14b65f4dd4Bjorn Bringert 28883c1bf364e38c5b133afb55f8493a14b65f4dd4Bjorn Bringert} 29