jhclark / bigfatlm Goto Github PK
View Code? Open in Web Editor NEWHadoop MapReduce training of modified Kneser-Ney smoothed language models
License: GNU Lesser General Public License v3.0
Hadoop MapReduce training of modified Kneser-Ney smoothed language models
License: GNU Lesser General Public License v3.0
build-interpolate-lm.sh: It generates interpolation n-gram models from multi-domain original corpus. In the pipeline, I only see n-gram model interpolation from renormModelHdfs which is n-gram model format you defined. How can I interpolate LMs from arpa-format models?
was testing out this project and whenever i get to generating the vocabIDs (right after the first hadoop m/r), it always throws this error:
BigFatLM.Sentences 100000
BigFatLM.Tokens 1003830
BigFatLM.Types 63106
Finished: BigFatLM -- Make Vocabulary ID's
Merging unigram count files: BigFatLM -- Make Vocabulary ID's
Copying HDFS file hdfs://rhl095.in.escapemg.com:54310/user/search/tmp/BigFatLM5204421244738246067 to /tmp/BigFatLM956014149429852912.vocab1
Oct 11, 2011 9:22:50 PM bigfat.hadoop.SortUtils sortInPlace
INFO: Running external sort: sort -n -r -k2 -t -o /tmp/BigFatLM956014149429852912.vocab1 /tmp/BigFatLM956014149429852912.vocab1
Assigning vocab IDs for: BigFatLM -- Make Vocabulary ID's
Exception in thread "main" java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.String.substring(String.java:1937)
at bigfat.step1.VocabIteration.run(VocabIteration.java:79)
at bigfat.BigFatLM.run(BigFatLM.java:115)
at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
at bigfat.BigFatLM.main(BigFatLM.java:140)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.hadoop.util.RunJar.main(RunJar.java:156)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.