Package edu.ucla.sspace.dependency

Examples of edu.ucla.sspace.dependency.UniversalPathAcceptor


        DependencyPathAcceptor acceptor;
        if (argOptions.hasOption('p'))
            acceptor = ReflectionUtil.getObjectInstance(
                    argOptions.getStringOption('p'));
        else
            acceptor = new UniversalPathAcceptor();
        return acceptor;
    }
View Full Code Here


    /**
     * Constructs a new {@link SelPrefDependencyContextGenerator}.
     */
    public SelPrefDependencyContextGenerator(StructuredVectorSpace svs) {
        this.svs = svs;
        acceptor = new UniversalPathAcceptor();
    }
View Full Code Here

        DependencyPathAcceptor acceptor;
        if (argOptions.hasOption("pathAcceptor"))
            acceptor = ReflectionUtil.getObjectInstance(
                    argOptions.getStringOption("pathAcceptor"));
        else
            acceptor = new UniversalPathAcceptor();

        VectorCombinor combinor;
        if (argOptions.hasOption("pathAcceptor"))
            combinor = ReflectionUtil.getObjectInstance(
                    argOptions.getStringOption("vectorCombinor"));
View Full Code Here

        int bound = argOptions.getIntOption('b', 10000);
        Transform transform = argOptions.getObjectOption(
                'T', new NoTransform());
        DependencyPathAcceptor acceptor = argOptions.getObjectOption(
                'a', new UniversalPathAcceptor());
        DependencyPathWeight weighter = argOptions.getObjectOption(
                'w', new FlatPathWeight());
        int pathLength = argOptions.getIntOption('l', 5);
        return new OccurrenceCounter(
                transform, bound, acceptor, weighter, pathLength);
View Full Code Here

TOP

Related Classes of edu.ucla.sspace.dependency.UniversalPathAcceptor

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.